From 4f0739b1389d4c8d1f21f41f4755086a84eee0f9 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 21 May 2024 18:38:36 +0000 Subject: [PATCH] Rebranded mod examples to SPT (#30) Co-authored-by: clodan Reviewed-on: https://dev.sp-tarkov.com/chomp/ModExamples/pulls/30 Co-authored-by: Alex Co-committed-by: Alex --- TypeScript/10ScopesAndTypes/README.md | 12 +- TypeScript/10ScopesAndTypes/package.json | 2 +- TypeScript/10ScopesAndTypes/src/MyMod.ts | 2 +- TypeScript/10ScopesAndTypes/src/Processing.ts | 2 +- TypeScript/10ScopesAndTypes/src/mod.ts | 10 +- TypeScript/10ScopesAndTypes/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../10ScopesAndTypes/types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreSptModLoader.d.ts} | 32 +- .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../models/eft/profile/ISptProfile.d.ts} | 18 +- .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- ...HttpListener.d.ts => SptHttpListener.d.ts} | 16 +- .../ws/SptWebSocketConnectionHandler.d.ts} | 24 +- .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../10ScopesAndTypes/types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 6 +- .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../10ScopesAndTypes/types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/11BundleLoadingSample/README.md | 12 +- TypeScript/11BundleLoadingSample/package.json | 2 +- TypeScript/11BundleLoadingSample/src/mod.ts | 8 +- .../11BundleLoadingSample/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreSptModLoader.d.ts} | 32 +- .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../models/eft/profile/ISptProfile.d.ts} | 18 +- .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/SptHttpListener.d.ts} | 16 +- .../ws/SptWebSocketConnectionHandler.d.ts} | 24 +- .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 6 +- .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/12ClassExtensionOverride/README.md | 12 +- .../12ClassExtensionOverride/package.json | 2 +- .../src/MyCustomLauncherCallbacks.ts | 14 +- .../12ClassExtensionOverride/src/mod.ts | 10 +- .../12ClassExtensionOverride/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + ...AkiModLoader.d.ts => PreSptModLoader.d.ts} | 32 +- .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../models/eft/profile/ISptProfile.d.ts} | 18 +- .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/SptHttpListener.d.ts} | 16 +- .../ws/SptWebSocketConnectionHandler.d.ts} | 24 +- .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 6 +- .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/13AddTrader/README.md | 12 +- TypeScript/13AddTrader/package.json | 2 +- .../src/fluentTraderAssortCreator.ts | 10 +- TypeScript/13AddTrader/src/mod.ts | 42 +-- TypeScript/13AddTrader/src/traderHelpers.ts | 20 +- TypeScript/13AddTrader/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- TypeScript/13AddTrader/types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../13AddTrader/types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../13AddTrader/types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + ...AkiModLoader.d.ts => PreSptModLoader.d.ts} | 32 +- .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../models/eft/profile/ISptProfile.d.ts} | 18 +- .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../13AddTrader/types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../13AddTrader/types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../13AddTrader/types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- ...HttpListener.d.ts => SptHttpListener.d.ts} | 16 +- .../ws/SptWebSocketConnectionHandler.d.ts} | 24 +- .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- TypeScript/13AddTrader/types/utils/App.d.ts | 18 +- .../13AddTrader/types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../13AddTrader/types/utils/HashUtil.d.ts | 2 +- .../13AddTrader/types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../13AddTrader/types/utils/ImporterUtil.d.ts | 4 +- .../13AddTrader/types/utils/JsonUtil.d.ts | 6 +- .../13AddTrader/types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../13AddTrader/types/utils/RandomUtil.d.ts | 6 +- TypeScript/13AddTrader/types/utils/VFS.d.ts | 2 +- .../13AddTrader/types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/14AfterDBLoadHook/README.md | 12 +- TypeScript/14AfterDBLoadHook/package.json | 2 +- TypeScript/14AfterDBLoadHook/src/mod.ts | 28 +- TypeScript/14AfterDBLoadHook/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../14AfterDBLoadHook/types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../14AfterDBLoadHook/types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 6 +- .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../14AfterDBLoadHook/types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/15HttpListenerExample/README.md | 12 +- TypeScript/15HttpListenerExample/package.json | 2 +- .../src/Type2HttpListener.ts | 2 +- TypeScript/15HttpListenerExample/src/mod.ts | 8 +- .../15HttpListenerExample/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 6 +- .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/16ImporterUtil/README.md | 12 +- TypeScript/16ImporterUtil/package.json | 2 +- TypeScript/16ImporterUtil/src/mod.ts | 14 +- TypeScript/16ImporterUtil/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../16ImporterUtil/types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../16ImporterUtil/types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../16ImporterUtil/types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../16ImporterUtil/types/utils/JsonUtil.d.ts | 6 +- .../16ImporterUtil/types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../16ImporterUtil/types/utils/VFS.d.ts | 2 +- .../16ImporterUtil/types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- .../17AsyncImporterWithDependency1/README.md | 12 +- .../package.json | 2 +- .../17AsyncImporterWithDependency1/src/mod.ts | 14 +- .../tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 6 +- .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- .../17AsyncImporterWithDependency2/README.md | 12 +- .../package.json | 2 +- .../17AsyncImporterWithDependency2/src/mod.ts | 14 +- .../tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 6 +- .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/18CustomItemService/README.md | 12 +- TypeScript/18CustomItemService/package.json | 2 +- TypeScript/18CustomItemService/src/mod.ts | 16 +- TypeScript/18CustomItemService/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../18CustomItemService/types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../18CustomItemService/types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 6 +- .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../18CustomItemService/types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/19UseExternalLibraries/README.md | 12 +- .../19UseExternalLibraries/package.json | 2 +- TypeScript/19UseExternalLibraries/src/mod.ts | 14 +- .../19UseExternalLibraries/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 6 +- .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/1LogToConsole/README.md | 12 +- TypeScript/1LogToConsole/package.json | 2 +- TypeScript/1LogToConsole/src/mod.ts | 12 +- TypeScript/1LogToConsole/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- TypeScript/1LogToConsole/types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- TypeScript/1LogToConsole/types/utils/App.d.ts | 18 +- .../1LogToConsole/types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../1LogToConsole/types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../1LogToConsole/types/utils/JsonUtil.d.ts | 6 +- .../1LogToConsole/types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../1LogToConsole/types/utils/RandomUtil.d.ts | 6 +- TypeScript/1LogToConsole/types/utils/VFS.d.ts | 2 +- .../1LogToConsole/types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/20CustomChatBot/README.md | 12 +- TypeScript/20CustomChatBot/package.json | 2 +- .../20CustomChatBot/src/CustomChatBot.ts | 10 +- TypeScript/20CustomChatBot/src/mod.ts | 4 +- TypeScript/20CustomChatBot/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../20CustomChatBot/types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../20CustomChatBot/types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../20CustomChatBot/types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../20CustomChatBot/types/utils/JsonUtil.d.ts | 6 +- .../20CustomChatBot/types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../20CustomChatBot/types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/21CustomCommandoCommand/README.md | 12 +- .../21CustomCommandoCommand/package.json | 2 +- .../src/CustomCommandoCommand.ts | 10 +- TypeScript/21CustomCommandoCommand/src/mod.ts | 4 +- .../21CustomCommandoCommand/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 6 +- .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/22CustomAkiCommand/src/mod.ts | 15 - .../types/callbacks/ModCallbacks.d.ts | 20 -- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 - .../helpers/Dialogue/IDialogueChatBot.d.ts | 6 - .../types/loaders/ModTypeCheck.d.ts | 43 --- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../eft/inRaid/ISaveProgressRequestData.d.ts | 11 - .../IInventoryExamineRequestData.d.ts | 7 - .../models/eft/launcher/IRegisterData.d.ts | 4 - .../eft/launcher/IRemoveProfileData.d.ts | 2 - .../types/models/eft/match/IRaidSettings.d.ts | 42 --- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../types/models/eft/ws/IWsAid.d.ts | 4 - .../types/models/eft/ws/IWsGroupId.d.ts | 4 - .../eft/ws/IWsGroupMatchInviteSend.d.ts | 7 - .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 5 - .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 5 - .../types/models/eft/ws/IWsPing.d.ts | 3 - .../types/models/enums/ConfigTypes.d.ts | 29 -- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../models/spt/bots/GenerateWeaponResult.d.ts | 10 - .../callbacks/ICustomizationCallbacks.d.ts | 12 - .../spt/callbacks/IHealthCallbacks.d.ts | 13 - .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 - .../spt/callbacks/IItemEventCallbacks.d.ts | 6 - .../spt/callbacks/ILocationCallbacks.d.ts | 8 - .../models/spt/callbacks/IQuestCallbacks.d.ts | 19 -- .../spt/callbacks/IRagfairCallbacks.d.ts | 21 -- .../spt/callbacks/IRepairCallbacks.d.ts | 8 - .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 - .../spt/callbacks/IWeatherCallbacks.d.ts | 5 - .../types/models/spt/config/IMatchConfig.d.ts | 5 - .../generators/IRagfairOfferGenerator.d.ts | 6 - .../models/spt/server/IDatabaseTables.d.ts | 60 ---- .../spt/services/CustomTraderAssortData.d.ts | 6 - .../item_events/NoteItemEventRouter.d.ts | 11 - .../save_load/HealthSaveLoadRouter.d.ts | 6 - .../save_load/InraidSaveLoadRouter.d.ts | 6 - .../save_load/InsuranceSaveLoadRouter.d.ts | 6 - .../save_load/ProfileSaveLoadRouter.d.ts | 6 - .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../.buildignore | 0 .../.eslintignore | 0 .../.eslintrc.json | 0 .../README.md | 12 +- .../build.mjs | 0 .../mod.code-workspace | 0 .../package.json | 4 +- .../src/CustomSptCommand.ts} | 12 +- TypeScript/22CustomSptCommand/src/mod.ts | 15 + .../tsconfig.json | 2 +- .../types/ErrorHandler.d.ts | 0 .../types/Program.d.ts | 0 .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 ++ .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../types/context/ContextVariableType.d.ts | 0 .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../types/di/Container.d.ts | 0 .../types/di/OnLoad.d.ts | 0 .../types/di/OnUpdate.d.ts | 0 .../types/di/Router.d.ts | 8 +- .../types/di/Serializer.d.ts | 0 .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../IFilterPlateModsForSlotByLevelResult.d.ts | 0 .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../types/helpers/ContainerHelper.d.ts | 0 .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../SptCommands/GiveCommand/SavedCommand.d.ts | 0 .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 + .../helpers/Dialogue/IDialogueChatBot.d.ts | 6 + .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/helpers/UtilityHelper.d.ts | 0 .../types/helpers/WeightedRandomHelper.d.ts | 0 .../types/ide/BleedingEdgeEntry.d.ts | 0 .../types/ide/BleedingEdgeModsEntry.d.ts | 0 .../types/ide/DebugEntry.d.ts | 0 .../types/ide/ReleaseEntry.d.ts | 0 .../types/ide/TestEntry.d.ts | 0 .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 43 +++ .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../types/models/common/MinMax.d.ts | 0 .../eft/bot/IGenerateBotsRequestData.d.ts | 0 .../eft/bot/IRandomisedBotLevelResult.d.ts | 0 .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../models/eft/common/IEmptyRequestData.d.ts | 0 .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../models/eft/common/IMetricsTableData.d.ts | 0 .../types/models/eft/common/IPmcData.d.ts | 2 +- .../types/models/eft/common/Ixyz.d.ts | 0 .../request/IBaseInteractionRequestData.d.ts | 0 .../eft/common/request/IUIDRequestData.d.ts | 0 .../eft/common/tables/IAchievement.d.ts | 0 .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotCore.d.ts | 0 .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IHandbookBase.d.ts | 0 .../types/models/eft/common/tables/IItem.d.ts | 0 .../eft/common/tables/ILocationsBase.d.ts | 0 .../models/eft/common/tables/IMatch.d.ts | 0 .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/IRepeatableQuests.d.ts | 0 .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../IBuyClothingRequestData.d.ts | 0 .../eft/customization/IGetSuitsResponse.d.ts | 0 .../IWearClothingRequestData.d.ts | 0 .../eft/dialog/IAcceptFriendRequestData.d.ts | 0 .../eft/dialog/IAddUserGroupMailRequest.d.ts | 0 .../dialog/IChangeGroupMailOwnerRequest.d.ts | 0 .../types/models/eft/dialog/IChatServer.d.ts | 0 .../eft/dialog/IClearMailMessageRequest.d.ts | 0 .../eft/dialog/ICreateGroupMailRequest.d.ts | 0 .../eft/dialog/IDeleteFriendRequest.d.ts | 0 .../models/eft/dialog/IFriendRequestData.d.ts | 0 .../dialog/IFriendRequestSendResponse.d.ts | 0 .../dialog/IGetAllAttachmentsRequestData.d.ts | 0 .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetChatServerListRequestData.d.ts | 0 .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogInfoRequestData.d.ts | 0 .../dialog/IGetMailDialogListRequestData.d.ts | 0 .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/IPinDialogRequestData.d.ts | 0 .../eft/dialog/IRemoveDialogRequestData.d.ts | 0 .../eft/dialog/IRemoveMailMessageRequest.d.ts | 0 .../dialog/IRemoveUserGroupMailRequest.d.ts | 0 .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/dialog/ISetDialogReadRequestData.d.ts | 0 .../eft/game/ICheckVersionResponse.d.ts | 0 .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../models/eft/game/IGameConfigResponse.d.ts | 0 .../eft/game/IGameEmptyCrcRequestData.d.ts | 0 .../eft/game/IGameKeepAliveResponse.d.ts | 0 .../eft/game/IGameLogoutResponseData.d.ts | 0 .../models/eft/game/IGameModeRequestData.d.ts | 0 .../models/eft/game/IGameModeResponse.d.ts | 0 .../models/eft/game/IGameStartResponse.d.ts | 0 .../eft/game/IGetItemPricesResponse.d.ts | 0 .../models/eft/game/IGetRaidTimeRequest.d.ts | 0 .../models/eft/game/IGetRaidTimeResponse.d.ts | 0 .../models/eft/game/ISendReportRequest.d.ts | 0 .../types/models/eft/game/IServerDetails.d.ts | 0 .../eft/game/IVersionValidateRequestData.d.ts | 0 .../types/models/eft/health/Effect.d.ts | 0 .../health/IHealthTreatmentRequestData.d.ts | 0 .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../eft/health/ISyncHealthRequestData.d.ts | 0 .../types/models/eft/health/IWorkoutData.d.ts | 0 .../HideoutUpgradeCompleteRequestData.d.ts | 0 .../hideout/IHandleQTEEventRequestData.d.ts | 0 .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../IHideoutCancelProductionRequestData.d.ts | 0 ...tContinuousProductionStartRequestData.d.ts | 0 .../IHideoutImproveAreaRequestData.d.ts | 0 .../eft/hideout/IHideoutProduction.d.ts | 0 .../hideout/IHideoutPutItemInRequestData.d.ts | 0 .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../IHideoutScavCaseStartRequestData.d.ts | 0 .../eft/hideout/IHideoutSettingsBase.d.ts | 0 ...deoutSingleProductionStartRequestData.d.ts | 0 .../IHideoutTakeItemOutRequestData.d.ts | 0 .../IHideoutTakeProductionRequestData.d.ts | 0 .../IHideoutToggleAreaRequestData.d.ts | 0 .../IHideoutUpgradeCompleteRequestData.d.ts | 0 .../hideout/IHideoutUpgradeRequestData.d.ts | 0 .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../hideout/IRecordShootingRangePoints.d.ts | 0 .../httpResponse/IGetBodyResponseData.d.ts | 0 .../eft/httpResponse/INullResponseData.d.ts | 0 .../models/eft/inRaid/IInsuredItemsData.d.ts | 0 .../eft/inRaid/IItemDeliveryRequestData.d.ts | 0 .../inRaid/IRegisterPlayerRequestData.d.ts | 0 .../eft/inRaid/ISaveProgressRequestData.d.ts | 11 + .../IGetInsuranceCostRequestData.d.ts | 0 .../IGetInsuranceCostResponseData.d.ts | 0 .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemDirectRequest.d.ts | 0 .../eft/inventory/IAddItemRequestData.d.ts | 0 .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../eft/inventory/IAddItemsDirectRequest.d.ts | 0 .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 7 + .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../inventory/IRedeemProfileRequestData.d.ts | 0 .../eft/inventory/ISetFavoriteItems.d.ts | 0 .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterRequest.d.ts | 0 .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../launcher/IGetMiniProfileRequestData.d.ts | 0 .../eft/launcher/ILoginRequestData.d.ts | 0 .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 4 + .../eft/launcher/IRemoveProfileData.d.ts | 2 + .../eft/location/IAirdropLootResult.d.ts | 2 +- .../eft/location/IGetLocationRequestData.d.ts | 0 .../eft/match/IEndOfflineRaidRequestData.d.ts | 0 .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupInviteSendRequest.d.ts | 0 .../match/IMatchGroupPlayerRemoveRequest.d.ts | 0 .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IMatchGroupTransferRequest.d.ts | 0 .../eft/match/IProfileStatusRequest.d.ts | 0 .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../eft/match/IPutMetricsRequestData.d.ts | 0 .../types/models/eft/match/IRaidSettings.d.ts | 42 +++ .../models/eft/match/IRequestIdRequest.d.ts | 0 .../types/models/eft/match/IServer.d.ts | 0 .../models/eft/match/ISessionStatus.d.ts | 0 .../eft/match/IUpdatePingRequestData.d.ts | 0 .../models/eft/notes/INoteActionData.d.ts | 2 +- .../types/models/eft/notifier/INotifier.d.ts | 0 .../eft/notifier/ISelectProfileResponse.d.ts | 0 ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../presetBuild/IRemoveBuildRequestData.d.ts | 0 .../profile/GetProfileStatusResponseData.d.ts | 0 .../ICompletedAchievementsResponse.d.ts | 0 .../models/eft/profile/IConnectResponse.d.ts | 0 .../eft/profile/ICreateProfileResponse.d.ts | 0 .../eft/profile/IGetAchievementsResponse.d.ts | 0 .../eft/profile/IGetOtherProfileRequest.d.ts | 0 .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../profile/IGetProfileSettingsRequest.d.ts | 0 .../IProfileChangeNicknameRequestData.d.ts | 0 .../IProfileChangeVoiceRequestData.d.ts | 0 .../profile/IProfileCreateRequestData.d.ts | 0 .../eft/profile/ISearchFriendRequestData.d.ts | 0 .../eft/profile/ISearchFriendResponse.d.ts | 0 .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../profile/IValidateNicknameRequestData.d.ts | 0 .../eft/quests/IAcceptQuestRequestData.d.ts | 0 .../eft/quests/ICompleteQuestRequestData.d.ts | 0 .../eft/quests/IFailQuestRequestData.d.ts | 0 .../eft/quests/IHandoverQuestRequestData.d.ts | 0 .../eft/quests/IListQuestsRequestData.d.ts | 0 .../quests/IRepeatableQuestChangeRequest.d.ts | 0 .../eft/ragfair/IAddOfferRequestData.d.ts | 0 .../eft/ragfair/IExtendOfferRequestData.d.ts | 0 .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../ragfair/IGetMarketPriceRequestData.d.ts | 0 .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../ragfair/IGetRagfairOfferByIdRequest.d.ts | 0 .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/IRemoveOfferRequestData.d.ts | 0 .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../ISendRagfairReportRequestData.d.ts | 0 ...IStorePlayerOfferTaxAmountRequestData.d.ts | 0 .../repair/IBaseRepairActionDataRequest.d.ts | 0 .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBaseTradeRequestData.d.ts | 0 .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../IProcessRagfairTradeRequestData.d.ts | 0 .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../eft/wishlist/IWishlistActionData.d.ts | 0 .../types/models/eft/ws/IWsAid.d.ts | 4 + .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 4 + .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 7 + .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 5 + .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 5 + .../models/eft/ws/IWsNotificationEvent.d.ts | 0 .../types/models/eft/ws/IWsPing.d.ts | 3 + .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/AccountTypes.d.ts | 0 .../types/models/enums/AirdropType.d.ts | 0 .../types/models/enums/AmmoTypes.d.ts | 0 .../types/models/enums/BackendErrorCodes.d.ts | 0 .../types/models/enums/BaseClasses.d.ts | 0 .../types/models/enums/BonusSkillType.d.ts | 0 .../types/models/enums/BonusType.d.ts | 0 .../types/models/enums/ConfigTypes.d.ts | 29 ++ .../types/models/enums/ContainerTypes.d.ts | 0 .../types/models/enums/DateTime.d.ts | 0 .../types/models/enums/ELocationName.d.ts | 0 .../models/enums/EquipmentBuildType.d.ts | 0 .../types/models/enums/EquipmentSlots.d.ts | 0 .../types/models/enums/ExitStatis.d.ts | 0 .../types/models/enums/GiftSenderType.d.ts | 0 .../types/models/enums/GiftSentResult.d.ts | 0 .../types/models/enums/HideoutAreas.d.ts | 0 .../models/enums/HideoutEventActions.d.ts | 0 .../types/models/enums/ItemAddedResult.d.ts | 0 .../types/models/enums/ItemEventActions.d.ts | 0 .../types/models/enums/MemberCategory.d.ts | 0 .../types/models/enums/MessageType.d.ts | 0 .../types/models/enums/ModSpawn.d.ts | 0 .../types/models/enums/Money.d.ts | 0 .../models/enums/NotificationEventType.d.ts | 0 .../models/enums/PlayerRaidEndState.d.ts | 0 .../types/models/enums/PlayersSpawnPlace.d.ts | 0 .../types/models/enums/ProfileStatus.d.ts | 0 .../types/models/enums/QuestRewardType.d.ts | 0 .../types/models/enums/QuestStatus.d.ts | 0 .../types/models/enums/QuestTypeEnum.d.ts | 0 .../types/models/enums/RagfairSort.d.ts | 0 .../types/models/enums/RaidMode.d.ts | 0 .../models/enums/RaidSettings/BotAmount.d.ts | 0 .../enums/RaidSettings/BotDifficulty.d.ts | 0 .../TimeAndWeather/CloudinessType.d.ts | 0 .../RaidSettings/TimeAndWeather/FogType.d.ts | 0 .../RaidSettings/TimeAndWeather/RainType.d.ts | 0 .../TimeAndWeather/TimeFlowType.d.ts | 0 .../TimeAndWeather/WindSpeed.d.ts | 0 .../types/models/enums/Season.d.ts | 0 .../types/models/enums/SeasonalEventType.d.ts | 0 .../types/models/enums/SideType.d.ts | 0 .../types/models/enums/SkillTypes.d.ts | 0 .../types/models/enums/TraderServiceType.d.ts | 0 .../types/models/enums/Traders.d.ts | 0 .../types/models/enums/WeaponSkillTypes.d.ts | 0 .../types/models/enums/WeaponTypes.d.ts | 0 .../types/models/enums/WeatherType.d.ts | 0 .../models/enums/WildSpawnTypeNumber.d.ts | 0 .../types/models/enums/WindDirection.d.ts | 0 .../models/enums/hideout/QteActivityType.d.ts | 0 .../models/enums/hideout/QteEffectType.d.ts | 0 .../models/enums/hideout/QteResultType.d.ts | 0 .../models/enums/hideout/QteRewardType.d.ts | 0 .../types/models/enums/hideout/QteType.d.ts | 0 .../models/enums/hideout/RequirementType.d.ts | 0 .../types/models/external/HttpFramework.d.ts | 0 .../types/models/external/IPostDBLoadMod.d.ts | 0 .../models/external/IPostDBLoadModAsync.d.ts | 0 .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/external/tsyringe.d.ts | 0 .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 10 + .../types/models/spt/bots/IBotLootCache.d.ts | 0 .../IChooseRandomCompatibleModResult.d.ts | 0 .../spt/bots/IItemSpawnLimitSettings.d.ts | 0 .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../spt/callbacks/IBundleCallbacks.d.ts | 0 .../callbacks/ICustomizationCallbacks.d.ts | 12 + .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHandbookCallbacks.d.ts | 0 .../spt/callbacks/IHealthCallbacks.d.ts | 13 + .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../models/spt/callbacks/IHttpCallbacks.d.ts | 0 .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 + .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 + .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 + .../models/spt/callbacks/IModCallbacks.d.ts | 0 .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IPresetCallbacks.d.ts | 0 .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 19 ++ .../spt/callbacks/IRagfairCallbacks.d.ts | 21 ++ .../spt/callbacks/IRepairCallbacks.d.ts | 8 + .../models/spt/callbacks/ISaveCallbacks.d.ts | 0 .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 + .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 5 + .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBaseConfig.d.ts | 0 .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../models/spt/config/IBotDurability.d.ts | 0 .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 5 + .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../fence/IFenceAssortGenerationValues.d.ts | 0 .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../spt/generators/IPMCLootGenerator.d.ts | 0 .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 + .../ScavCaseRewardCountsAndPrices.d.ts | 0 .../models/spt/location/IRaidChanges.d.ts | 0 .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../spt/logging/LogBackgroundColor.d.ts | 0 .../types/models/spt/logging/LogLevel.d.ts | 0 .../models/spt/logging/LogTextColor.d.ts | 0 .../types/models/spt/logging/SptLogger.d.ts | 0 .../types/models/spt/mod/IModLoader.d.ts | 0 .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../spt/ragfair/IRagfairServerPrices.d.ts | 0 .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 60 ++++ .../types/models/spt/server/ILocaleBase.d.ts | 0 .../types/models/spt/server/ILocations.d.ts | 4 +- .../types/models/spt/server/IServerBase.d.ts | 0 .../models/spt/server/ISettingsBase.d.ts | 0 .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 6 + .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../types/models/spt/services/LootItem.d.ts | 0 .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ICommand.d.ts | 0 .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 11 + .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 + .../save_load/InraidSaveLoadRouter.d.ts | 6 + .../save_load/InsuranceSaveLoadRouter.d.ts | 6 + .../save_load/ProfileSaveLoadRouter.d.ts | 6 + .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/HttpMethods.d.ts | 0 .../types/servers/http/IHttpListener.d.ts | 0 .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/IWebSocketConnectionHandler.d.ts | 0 .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../services/ProfileActivityService.d.ts | 0 .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../httpListener/HttpListenerModService.d.ts | 0 .../services/mod/image/ImageRouteService.d.ts | 0 .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onLoad/OnLoadModService.d.ts | 0 .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/onUpdate/OnUpdateModService.d.ts | 0 .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/CompareUtil.d.ts | 0 .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/EncodingUtil.d.ts | 0 .../types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 6 +- .../types/utils/MathUtil.d.ts | 0 .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../types/utils/TimeUtil.d.ts | 0 .../types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/ICloner.d.ts | 0 .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/collections/lists/LinkedList.d.ts | 0 .../types/utils/collections/lists/Nodes.d.ts | 0 .../types/utils/collections/queue/Queue.d.ts | 0 .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/23CustomAbstractChatBot/README.md | 12 +- .../23CustomAbstractChatBot/package.json | 2 +- .../src/AnotherCoolCommand.ts | 8 +- .../src/CustomSimpleChatBot.ts | 12 +- .../src/MyCoolCommand.ts | 8 +- TypeScript/23CustomAbstractChatBot/src/mod.ts | 4 +- .../23CustomAbstractChatBot/tsconfig.json | 2 +- .../types/ErrorHandler.d.ts | 2 +- .../types/Program.d.ts | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 21 ++ .../types/callbacks/BotCallbacks.d.ts | 20 +- .../types/callbacks/BuildsCallbacks.d.ts | 34 ++ .../types/callbacks/BundleCallbacks.d.ts | 15 +- .../types/callbacks/ClientLogCallbacks.d.ts | 24 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 81 +++-- .../types/callbacks/GameCallbacks.d.ts | 55 ++-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 46 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 32 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 84 ++--- .../types/callbacks/ItemEventCallbacks.d.ts | 20 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 82 ++--- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 20 +- .../types/callbacks/PresetBuildCallbacks.d.ts | 26 -- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 45 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 54 ++-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 17 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 9 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 23 ++ .../types/controllers/BotController.d.ts | 113 +++++-- .../types/controllers/BuildController.d.ts | 38 +++ .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 42 +-- .../types/controllers/GameController.d.ts | 107 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 36 +-- .../types/controllers/HideoutController.d.ts | 124 +++---- .../types/controllers/InraidController.d.ts | 113 +++++-- .../controllers/InsuranceController.d.ts | 158 ++++----- .../controllers/InventoryController.d.ts | 154 ++++----- .../types/controllers/LauncherController.d.ts | 47 +-- .../types/controllers/LocationController.d.ts | 50 +-- .../types/controllers/MatchController.d.ts | 67 ++-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../controllers/PresetBuildController.d.ts | 36 --- .../types/controllers/PresetController.d.ts | 8 +- .../types/controllers/ProfileController.d.ts | 69 ++-- .../types/controllers/QuestController.d.ts | 93 +++--- .../types/controllers/RagfairController.d.ts | 147 +++++---- .../types/controllers/RepairController.d.ts | 30 +- .../RepeatableQuestController.d.ts | 69 ++-- .../types/controllers/TradeController.d.ts | 96 ++++-- .../types/controllers/TraderController.d.ts | 34 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../types/di/Router.d.ts | 18 +- .../generators/BotEquipmentModGenerator.d.ts | 134 +++++--- .../types/generators/BotGenerator.d.ts | 63 ++-- .../generators/BotInventoryGenerator.d.ts | 80 +++-- .../types/generators/BotLevelGenerator.d.ts | 40 ++- .../types/generators/BotLootGenerator.d.ts | 98 +++--- .../types/generators/BotWeaponGenerator.d.ts | 50 +-- .../generators/FenceBaseAssortGenerator.d.ts | 49 ++- .../IFilterPlateModsForSlotByLevelResult.d.ts | 11 + .../types/generators/LocationGenerator.d.ts | 43 ++- .../types/generators/LootGenerator.d.ts | 74 ++--- .../types/generators/PMCLootGenerator.d.ts | 33 +- .../types/generators/PlayerScavGenerator.d.ts | 51 +-- .../generators/RagfairAssortGenerator.d.ts | 54 ++-- .../generators/RagfairOfferGenerator.d.ts | 101 +++--- .../generators/RepeatableQuestGenerator.d.ts | 145 ++------- .../RepeatableQuestRewardGenerator.d.ts | 106 ++++++ .../generators/ScavCaseRewardGenerator.d.ts | 47 ++- .../types/generators/WeatherGenerator.d.ts | 27 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 22 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 18 +- .../types/helpers/BotDifficultyHelper.d.ts | 22 +- .../types/helpers/BotGeneratorHelper.d.ts | 72 +++-- .../types/helpers/BotHelper.d.ts | 22 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 51 +-- .../types/helpers/ContainerHelper.d.ts | 5 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 14 +- .../Dialogue/Commando/IChatCommand.d.ts | 6 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 47 +++ .../{ => GiveCommand}/SavedCommand.d.ts | 0 .../Commando/SptCommands/GiveSptCommand.d.ts | 37 --- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 36 +++ .../TraderCommand/TraderSptCommand.d.ts | 31 ++ .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 29 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 18 +- .../types/helpers/HealthHelper.d.ts | 24 +- .../types/helpers/HideoutHelper.d.ts | 152 +++++---- .../types/helpers/HttpServerHelper.d.ts | 6 +- .../types/helpers/InRaidHelper.d.ts | 72 ++--- .../types/helpers/InventoryHelper.d.ts | 243 +++++++++----- .../types/helpers/ItemHelper.d.ts | 305 +++++++++++++----- .../types/helpers/NotificationSendHelper.d.ts | 20 +- .../types/helpers/NotifierHelper.d.ts | 16 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 48 ++- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 116 +++++-- .../types/helpers/QuestConditionHelper.d.ts | 12 +- .../types/helpers/QuestHelper.d.ts | 103 +++--- .../types/helpers/RagfairHelper.d.ts | 30 +- .../types/helpers/RagfairOfferHelper.d.ts | 95 ++++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 57 ++-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 20 +- .../types/helpers/RepeatableQuestHelper.d.ts | 14 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 67 ++-- .../types/helpers/TraderAssortHelper.d.ts | 47 +-- .../types/helpers/TraderHelper.d.ts | 50 +-- .../types/helpers/WeightedRandomHelper.d.ts | 7 + .../types/ide/BleedingEdgeModsEntry.d.ts | 2 + .../types/loaders/BundleLoader.d.ts | 34 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 21 -- .../types/loaders/PostDBModLoader.d.ts | 20 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 102 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 9 + .../types/models/eft/common/IGlobals.d.ts | 183 ++++++++++- .../types/models/eft/common/ILocation.d.ts | 68 +++- .../models/eft/common/ILocationBase.d.ts | 14 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 10 +- .../eft/common/request/IUIDRequestData.d.ts | 3 + .../eft/common/tables/IAchievement.d.ts | 18 ++ .../models/eft/common/tables/IBotBase.d.ts | 51 +-- .../models/eft/common/tables/IBotType.d.ts | 28 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../types/models/eft/common/tables/IItem.d.ts | 4 + .../models/eft/common/tables/ILootBase.d.ts | 59 ---- .../eft/common/tables/IProfileTemplate.d.ts | 14 +- .../models/eft/common/tables/IQuest.d.ts | 126 +++++--- .../eft/common/tables/IRepeatableQuests.d.ts | 206 +----------- .../eft/common/tables/ITemplateItem.d.ts | 47 ++- .../models/eft/common/tables/ITrader.d.ts | 8 +- .../eft/dialog/IAcceptFriendRequestData.d.ts | 6 +- .../eft/dialog/IAddUserGroupMailRequest.d.ts | 4 + .../dialog/IChangeGroupMailOwnerRequest.d.ts | 4 + .../eft/dialog/ICreateGroupMailRequest.d.ts | 4 + .../dialog/IFriendRequestSendResponse.d.ts | 2 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../dialog/IRemoveUserGroupMailRequest.d.ts | 4 + .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../models/eft/game/IGameModeRequestData.d.ts | 3 + .../models/eft/game/IGameModeResponse.d.ts | 8 + .../eft/game/IReportNicknameRequestData.d.ts | 3 - .../models/eft/game/ISendReportRequest.d.ts | 4 + .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 6 +- .../eft/hideout/IHideoutProduction.d.ts | 1 + .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- ...deoutSingleProductionStartRequestData.d.ts | 1 + .../types/models/eft/hideout/IQteData.d.ts | 116 +++++-- .../eft/inRaid/IItemDeliveryRequestData.d.ts | 5 + .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemDirectRequest.d.ts | 8 + .../eft/inventory/IAddItemRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../eft/inventory/IAddItemsDirectRequest.d.ts | 10 + .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 6 + .../IOpenRandomLootContainerRequestData.d.ts | 4 +- .../eft/inventory/ISetFavoriteItems.d.ts | 6 + .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 3 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../eft/match/IAcceptGroupInviteRequest.d.ts | 3 - .../eft/match/IAcceptGroupInviteResponse.d.ts | 16 - .../eft/match/ICancelGroupInviteRequest.d.ts | 3 - .../eft/match/ICreateGroupRequestData.d.ts | 6 - .../eft/match/IGetGroupStatusResponse.d.ts | 19 -- .../eft/match/IGetProfileRequestData.d.ts | 3 - .../IGetRaidConfigurationRequestData.d.ts | 34 +- .../models/eft/match/IGroupCharacter.d.ts | 39 +++ .../eft/match/IJoinMatchRequestData.d.ts | 9 - .../models/eft/match/IJoinMatchResult.d.ts | 18 -- .../eft/match/IMatchGroupCurrentResponse.d.ts | 4 + .../match/IMatchGroupInviteSendRequest.d.ts | 4 + .../match/IMatchGroupPlayerRemoveRequest.d.ts | 3 + .../match/IMatchGroupStartGameRequest.d.ts | 5 + ...ata.d.ts => IMatchGroupStatusRequest.d.ts} | 4 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 5 + .../eft/match/IMatchGroupTransferRequest.d.ts | 3 + .../eft/match/IProfileStatusRequest.d.ts | 3 + .../eft/match/IProfileStatusResponse.d.ts | 5 + .../types/models/eft/match/IRaidSettings.d.ts | 42 +++ .../match/IRemovePlayerFromGroupRequest.d.ts | 3 - .../models/eft/match/IRequestIdRequest.d.ts | 3 + .../eft/match/ISendGroupInviteRequest.d.ts | 4 - .../types/models/eft/match/IServer.d.ts | 5 + .../models/eft/match/ISessionStatus.d.ts | 14 + .../eft/match/ITransferGroupRequest.d.ts | 3 - .../models/eft/notes/INoteActionData.d.ts | 2 +- .../types/models/eft/notifier/INotifier.d.ts | 17 - .../notifier/ISelectProfileRequestData.d.ts | 3 - ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 11 +- .../presetBuild/IRemoveBuildRequestData.d.ts | 1 - .../types/models/eft/profile/IAkiProfile.d.ts | 214 ------------ .../ICompletedAchievementsResponse.d.ts | 3 + .../eft/profile/IGetAchievementsResponse.d.ts | 4 + .../eft/profile/IGetOtherProfileRequest.d.ts | 3 + .../eft/profile/IGetOtherProfileResponse.d.ts | 40 +++ .../eft/profile/ISearchFriendResponse.d.ts | 2 + .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/quests/IFailQuestRequestData.d.ts | 2 +- .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 4 +- .../IProcessRagfairTradeRequestData.d.ts | 8 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 3 +- .../models/eft/weather/IWeatherData.d.ts | 6 +- .../types/models/eft/ws/IWsAid.d.ts | 4 + .../types/models/eft/ws/IWsAidNickname.d.ts | 5 + .../models/eft/ws/IWsChatMessageReceived.d.ts | 8 + .../types/models/eft/ws/IWsGroupId.d.ts | 4 + .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 4 + .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 5 + .../eft/ws/IWsGroupMatchInviteSend.d.ts | 7 + .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 4 + .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 5 + .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 5 + .../models/eft/ws/IWsNotificationEvent.d.ts | 4 + .../types/models/eft/ws/IWsPing.d.ts | 3 + .../models/eft/ws/IWsRagfairOfferSold.d.ts | 6 + .../types/models/eft/ws/IWsUserConfirmed.d.ts | 17 + .../types/models/enums/AmmoTypes.d.ts | 4 + .../types/models/enums/BackendErrorCodes.d.ts | 6 +- .../types/models/enums/BaseClasses.d.ts | 17 +- .../types/models/enums/BonusSkillType.d.ts | 7 + .../types/models/enums/BonusType.d.ts | 33 ++ .../types/models/enums/ConfigTypes.d.ts | 53 +-- .../types/models/enums/DateTime.d.ts | 4 + .../types/models/enums/ELocationName.d.ts | 1 + .../types/models/enums/ItemEventActions.d.ts | 4 +- .../types/models/enums/MessageType.d.ts | 3 +- .../types/models/enums/ModSpawn.d.ts | 5 + .../models/enums/NotificationEventType.d.ts | 28 ++ .../types/models/enums/PlayersSpawnPlace.d.ts | 5 + .../types/models/enums/ProfileStatus.d.ts | 7 + .../types/models/enums/QuestRewardType.d.ts | 3 +- .../enums/{ => RaidSettings}/BotAmount.d.ts | 1 + .../{ => RaidSettings}/BotDifficulty.d.ts | 0 .../TimeAndWeather/CloudinessType.d.ts | 8 + .../RaidSettings/TimeAndWeather/FogType.d.ts | 7 + .../RaidSettings/TimeAndWeather/RainType.d.ts | 7 + .../TimeAndWeather/TimeFlowType.d.ts | 10 + .../TimeAndWeather/WindSpeed.d.ts | 7 + .../types/models/enums/Season.d.ts | 7 + .../types/models/enums/SeasonalEventType.d.ts | 3 +- .../types/models/enums/SideType.d.ts | 5 + .../types/models/enums/SkillTypes.d.ts | 2 +- .../types/models/enums/TraderServiceType.d.ts | 8 + .../types/models/enums/Traders.d.ts | 3 +- .../types/models/enums/WeaponTypes.d.ts | 37 ++- .../models/enums/WildSpawnTypeNumber.d.ts | 19 +- .../models/enums/hideout/QteActivityType.d.ts | 3 + .../models/enums/hideout/QteEffectType.d.ts | 5 + .../models/enums/hideout/QteResultType.d.ts | 4 + .../models/enums/hideout/QteRewardType.d.ts | 6 + .../types/models/enums/hideout/QteType.d.ts | 3 + .../models/enums/hideout/RequirementType.d.ts | 12 + .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPostDBLoadMod.d.ts | 2 +- .../models/external/IPostDBLoadModAsync.d.ts | 2 +- .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 12 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../types/models/spt/bots/IBotLootCache.d.ts | 29 +- .../IChooseRandomCompatibleModResult.d.ts | 7 + .../spt/bots/IItemSpawnLimitSettings.d.ts | 4 + .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 10 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 13 +- .../types/models/spt/config/IBTRConfig.d.ts | 13 + .../types/models/spt/config/IBaseConfig.d.ts | 4 + .../types/models/spt/config/IBotConfig.d.ts | 60 ++-- .../models/spt/config/IBotDurability.d.ts | 3 + .../types/models/spt/config/ICoreConfig.d.ts | 42 ++- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 11 +- .../types/models/spt/config/IHttpConfig.d.ts | 12 +- .../models/spt/config/IInRaidConfig.d.ts | 11 +- .../models/spt/config/IInsuranceConfig.d.ts | 8 +- .../models/spt/config/IInventoryConfig.d.ts | 8 +- .../types/models/spt/config/IItemConfig.d.ts | 7 +- .../models/spt/config/ILocaleConfig.d.ts | 7 +- .../models/spt/config/ILocationConfig.d.ts | 30 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 5 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 8 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 19 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 56 ++-- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 9 +- .../models/spt/config/ITraderConfig.d.ts | 34 +- .../models/spt/config/IWeatherConfig.d.ts | 19 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 18 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 7 + .../fence/IFenceAssortGenerationValues.d.ts | 9 + .../models/spt/generators/IBotGenerator.d.ts | 9 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/logging/LogTextColor.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 3 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 17 + .../models/spt/server/IDatabaseTables.d.ts | 51 +-- .../types/models/spt/server/ILocations.d.ts | 44 ++- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 8 + .../spt/services/ITraderServiceModel.d.ts | 18 ++ .../models/spt/services/LootRequest.d.ts | 5 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../models/spt/utils/IUuidGenerator.d.ts | 3 - .../types/routers/EventOutputHolder.d.ts | 18 +- .../types/routers/HttpRouter.d.ts | 6 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 20 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 10 +- .../item_events/HealthItemEventRouter.d.ts | 10 +- .../item_events/HideoutItemEventRouter.d.ts | 10 +- .../item_events/InsuranceItemEventRouter.d.ts | 10 +- .../item_events/InventoryItemEventRouter.d.ts | 12 +- .../item_events/NoteItemEventRouter.d.ts | 12 +- .../PresetBuildItemEventRouter.d.ts | 10 - .../item_events/QuestItemEventRouter.d.ts | 12 +- .../item_events/RagfairItemEventRouter.d.ts | 10 +- .../item_events/RepairItemEventRouter.d.ts | 10 +- .../item_events/TradeItemEventRouter.d.ts | 10 +- .../item_events/WishlistItemEventRouter.d.ts | 10 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 6 + .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 6 + .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/PresetStaticRouter.d.ts | 6 - .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 30 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 29 +- .../types/servers/WebSocketServer.d.ts | 34 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/IHttpListener.d.ts | 2 +- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/IWebSocketConnectionHandler.d.ts | 8 + .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 16 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 27 +- .../types/services/BotLootCacheService.d.ts | 39 ++- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 16 +- .../types/services/FenceService.d.ts | 223 ++++++++++--- .../types/services/GiftService.d.ts | 22 +- .../types/services/HashCacheService.d.ts | 30 -- .../types/services/InsuranceService.d.ts | 118 ++++--- .../types/services/ItemBaseClassService.d.ts | 18 +- .../types/services/ItemFilterService.d.ts | 19 +- .../types/services/LocaleService.d.ts | 27 +- .../types/services/LocalisationService.d.ts | 10 +- .../types/services/MailSendService.d.ts | 36 +-- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 8 +- .../types/services/ModCompilerService.d.ts | 14 +- .../types/services/NotificationService.d.ts | 4 +- .../types/services/OpenZoneService.d.ts | 16 +- .../types/services/PaymentService.d.ts | 59 ++-- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 26 +- .../services/ProfileActivityService.d.ts | 21 ++ .../types/services/ProfileFixerService.d.ts | 97 ++++-- .../services/ProfileSnapshotService.d.ts | 14 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 45 +-- .../types/services/RagfairPriceService.d.ts | 83 +++-- .../services/RagfairRequiredItemsService.d.ts | 9 +- .../types/services/RagfairTaxService.d.ts | 26 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 49 +-- .../types/services/SeasonalEventService.d.ts | 59 ++-- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 26 +- .../types/services/TraderServicesService.d.ts | 13 + .../cache/BundleHashCacheService.d.ts | 18 ++ .../services/cache/ModHashCacheService.d.ts | 18 ++ .../types/services/mod/CustomItemService.d.ts | 27 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 4 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../types/utils/App.d.ts | 20 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/CompareUtil.d.ts | 11 + .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/HashUtil.d.ts | 5 +- .../types/utils/HttpFileUtil.d.ts | 4 +- .../types/utils/HttpResponseUtil.d.ts | 19 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 7 +- .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 13 +- .../types/utils/RandomUtil.d.ts | 35 +- .../types/utils/TimeUtil.d.ts | 56 +++- .../types/utils/UUidGenerator.d.ts | 4 - .../types/utils/VFS.d.ts | 12 +- .../types/utils/Watermark.d.ts | 14 +- .../types/utils/cloners/ICloner.d.ts | 3 + .../types/utils/cloners/JsonCloner.d.ts | 4 + .../types/utils/cloners/RecursiveCloner.d.ts | 5 + .../types/utils/cloners/StructuredCloner.d.ts | 4 + .../utils/collections/lists/LinkedList.d.ts | 82 +++-- .../types/utils/collections/lists/Nodes.d.ts | 6 + .../types/utils/collections/queue/Queue.d.ts | 19 +- .../utils/logging/AbstractWinstonLogger.d.ts | 17 +- .../utils/logging/WinstonMainLogger.d.ts | 8 +- .../utils/logging/WinstonRequestLogger.d.ts | 8 +- TypeScript/24WebSocket/README.md | 12 +- TypeScript/24WebSocket/package.json | 2 +- ...ts => CustomSptWebSocketMessageHandler.ts} | 10 +- .../src/CustomWebSocketConnectionHandler.ts | 4 +- TypeScript/24WebSocket/src/mod.ts | 16 +- TypeScript/24WebSocket/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- TypeScript/24WebSocket/types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../24WebSocket/types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../24WebSocket/types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../24WebSocket/types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../24WebSocket/types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../24WebSocket/types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- TypeScript/24WebSocket/types/utils/App.d.ts | 18 +- .../24WebSocket/types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../24WebSocket/types/utils/HashUtil.d.ts | 2 +- .../24WebSocket/types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../24WebSocket/types/utils/ImporterUtil.d.ts | 4 +- .../24WebSocket/types/utils/JsonUtil.d.ts | 6 +- .../24WebSocket/types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../24WebSocket/types/utils/RandomUtil.d.ts | 6 +- TypeScript/24WebSocket/types/utils/VFS.d.ts | 2 +- .../24WebSocket/types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/2EditDatabase/README.md | 12 +- TypeScript/2EditDatabase/package.json | 2 +- TypeScript/2EditDatabase/src/mod.ts | 10 +- TypeScript/2EditDatabase/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- TypeScript/2EditDatabase/types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- TypeScript/2EditDatabase/types/utils/App.d.ts | 18 +- .../2EditDatabase/types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../2EditDatabase/types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../2EditDatabase/types/utils/JsonUtil.d.ts | 6 +- .../2EditDatabase/types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../2EditDatabase/types/utils/RandomUtil.d.ts | 6 +- TypeScript/2EditDatabase/types/utils/VFS.d.ts | 2 +- .../2EditDatabase/types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/3GetSptConfigFile/README.md | 12 +- TypeScript/3GetSptConfigFile/package.json | 2 +- TypeScript/3GetSptConfigFile/src/mod.ts | 14 +- TypeScript/3GetSptConfigFile/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../3GetSptConfigFile/types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../3GetSptConfigFile/types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 6 +- .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../3GetSptConfigFile/types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- .../README.md | 12 +- .../package.json | 2 +- .../src/mod.ts | 10 +- .../tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 6 +- .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/4UseACustomConfigFile/README.md | 12 +- TypeScript/4UseACustomConfigFile/package.json | 2 +- TypeScript/4UseACustomConfigFile/src/mod.ts | 8 +- .../4UseACustomConfigFile/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 6 +- .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/5ReplaceMethod/README.md | 12 +- TypeScript/5ReplaceMethod/package.json | 2 +- TypeScript/5ReplaceMethod/src/mod.ts | 16 +- TypeScript/5ReplaceMethod/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../5ReplaceMethod/types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../5ReplaceMethod/types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../5ReplaceMethod/types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../5ReplaceMethod/types/utils/JsonUtil.d.ts | 6 +- .../5ReplaceMethod/types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../5ReplaceMethod/types/utils/VFS.d.ts | 2 +- .../5ReplaceMethod/types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/6ReferenceAnotherClass/README.md | 12 +- .../6ReferenceAnotherClass/package.json | 2 +- TypeScript/6ReferenceAnotherClass/src/mod.ts | 8 +- .../6ReferenceAnotherClass/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- .../types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- .../types/utils/App.d.ts | 18 +- .../types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../types/utils/JsonUtil.d.ts | 6 +- .../types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../types/utils/RandomUtil.d.ts | 6 +- .../types/utils/VFS.d.ts | 2 +- .../types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/7OnLoadHook/README.md | 12 +- TypeScript/7OnLoadHook/package.json | 2 +- TypeScript/7OnLoadHook/src/mod.ts | 10 +- TypeScript/7OnLoadHook/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- TypeScript/7OnLoadHook/types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../7OnLoadHook/types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../7OnLoadHook/types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../7OnLoadHook/types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../7OnLoadHook/types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../7OnLoadHook/types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- TypeScript/7OnLoadHook/types/utils/App.d.ts | 18 +- .../7OnLoadHook/types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../7OnLoadHook/types/utils/HashUtil.d.ts | 2 +- .../7OnLoadHook/types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../7OnLoadHook/types/utils/ImporterUtil.d.ts | 4 +- .../7OnLoadHook/types/utils/JsonUtil.d.ts | 6 +- .../7OnLoadHook/types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../7OnLoadHook/types/utils/RandomUtil.d.ts | 6 +- TypeScript/7OnLoadHook/types/utils/VFS.d.ts | 2 +- .../7OnLoadHook/types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/8OnUpdateHook/README.md | 12 +- TypeScript/8OnUpdateHook/package.json | 2 +- TypeScript/8OnUpdateHook/src/mod.ts | 10 +- TypeScript/8OnUpdateHook/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- TypeScript/8OnUpdateHook/types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- TypeScript/8OnUpdateHook/types/utils/App.d.ts | 18 +- .../8OnUpdateHook/types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../8OnUpdateHook/types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../8OnUpdateHook/types/utils/JsonUtil.d.ts | 6 +- .../8OnUpdateHook/types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../8OnUpdateHook/types/utils/RandomUtil.d.ts | 6 +- TypeScript/8OnUpdateHook/types/utils/VFS.d.ts | 2 +- .../8OnUpdateHook/types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- TypeScript/9RouterHooks/README.md | 12 +- TypeScript/9RouterHooks/package.json | 2 +- TypeScript/9RouterHooks/src/mod.ts | 24 +- TypeScript/9RouterHooks/tsconfig.json | 2 +- .../types/callbacks/AchievementCallbacks.d.ts | 14 +- .../types/callbacks/BotCallbacks.d.ts | 14 +- .../types/callbacks/BuildsCallbacks.d.ts | 18 +- .../types/callbacks/BundleCallbacks.d.ts | 8 +- .../types/callbacks/ClientLogCallbacks.d.ts | 14 +- .../callbacks/CustomizationCallbacks.d.ts | 22 +- .../types/callbacks/DataCallbacks.d.ts | 30 +- .../types/callbacks/DialogueCallbacks.d.ts | 66 ++-- .../types/callbacks/GameCallbacks.d.ts | 44 +-- .../types/callbacks/HandbookCallbacks.d.ts | 4 +- .../types/callbacks/HealthCallbacks.d.ts | 26 +- .../types/callbacks/HideoutCallbacks.d.ts | 38 +-- .../types/callbacks/HttpCallbacks.d.ts | 4 +- .../types/callbacks/InraidCallbacks.d.ts | 14 +- .../types/callbacks/InsuranceCallbacks.d.ts | 24 +- .../types/callbacks/InventoryCallbacks.d.ts | 48 +-- .../types/callbacks/ItemEventCallbacks.d.ts | 12 +- .../types/callbacks/LauncherCallbacks.d.ts | 18 +- .../types/callbacks/LocationCallbacks.d.ts | 14 +- .../types/callbacks/MatchCallbacks.d.ts | 42 +-- .../types/callbacks/ModCallbacks.d.ts | 20 +- .../types/callbacks/NoteCallbacks.d.ts | 8 +- .../types/callbacks/NotifierCallbacks.d.ts | 18 +- .../types/callbacks/PresetCallbacks.d.ts | 4 +- .../types/callbacks/ProfileCallbacks.d.ts | 40 +-- .../types/callbacks/QuestCallbacks.d.ts | 28 +- .../types/callbacks/RagfairCallbacks.d.ts | 48 +-- .../types/callbacks/RepairCallbacks.d.ts | 10 +- .../types/callbacks/SaveCallbacks.d.ts | 10 +- .../types/callbacks/TradeCallbacks.d.ts | 12 +- .../types/callbacks/TraderCallbacks.d.ts | 14 +- .../types/callbacks/WeatherCallbacks.d.ts | 10 +- .../types/callbacks/WishlistCallbacks.d.ts | 8 +- .../types/context/ApplicationContext.d.ts | 4 +- .../types/context/ContextVariable.d.ts | 2 +- .../controllers/AchievementController.d.ts | 8 +- .../types/controllers/BotController.d.ts | 46 +-- .../types/controllers/BuildController.d.ts | 28 +- .../controllers/ClientLogController.d.ts | 4 +- .../controllers/CustomizationController.d.ts | 22 +- .../types/controllers/DialogueController.d.ts | 40 +-- .../types/controllers/GameController.d.ts | 90 +++--- .../types/controllers/HandbookController.d.ts | 4 +- .../types/controllers/HealthController.d.ts | 32 +- .../types/controllers/HideoutController.d.ts | 84 ++--- .../types/controllers/InraidController.d.ts | 68 ++-- .../controllers/InsuranceController.d.ts | 54 ++-- .../controllers/InventoryController.d.ts | 89 ++--- .../types/controllers/LauncherController.d.ts | 40 +-- .../types/controllers/LocationController.d.ts | 44 +-- .../types/controllers/MatchController.d.ts | 52 +-- .../types/controllers/NoteController.d.ts | 8 +- .../types/controllers/NotifierController.d.ts | 8 +- .../types/controllers/PresetController.d.ts | 6 +- .../types/controllers/ProfileController.d.ts | 60 ++-- .../types/controllers/QuestController.d.ts | 58 ++-- .../types/controllers/RagfairController.d.ts | 84 ++--- .../types/controllers/RepairController.d.ts | 28 +- .../RepeatableQuestController.d.ts | 46 +-- .../types/controllers/TradeController.d.ts | 54 ++-- .../types/controllers/TraderController.d.ts | 28 +- .../types/controllers/WeatherController.d.ts | 10 +- .../types/controllers/WishlistController.d.ts | 8 +- TypeScript/9RouterHooks/types/di/Router.d.ts | 8 +- .../generators/BotEquipmentModGenerator.d.ts | 52 +-- .../types/generators/BotGenerator.d.ts | 42 +-- .../generators/BotInventoryGenerator.d.ts | 36 +-- .../types/generators/BotLevelGenerator.d.ts | 14 +- .../types/generators/BotLootGenerator.d.ts | 46 +-- .../types/generators/BotWeaponGenerator.d.ts | 46 +-- .../generators/FenceBaseAssortGenerator.d.ts | 30 +- .../types/generators/LocationGenerator.d.ts | 34 +- .../types/generators/LootGenerator.d.ts | 34 +- .../types/generators/PMCLootGenerator.d.ts | 18 +- .../types/generators/PlayerScavGenerator.d.ts | 38 +-- .../generators/RagfairAssortGenerator.d.ts | 18 +- .../generators/RagfairOfferGenerator.d.ts | 46 +-- .../generators/RepeatableQuestGenerator.d.ts | 34 +- .../RepeatableQuestRewardGenerator.d.ts | 34 +- .../generators/ScavCaseRewardGenerator.d.ts | 30 +- .../types/generators/WeatherGenerator.d.ts | 20 +- .../weapongen/IInventoryMagGen.d.ts | 2 +- .../generators/weapongen/InventoryMagGen.d.ts | 6 +- .../BarrelInventoryMagGen.d.ts | 8 +- .../ExternalInventoryMagGen.d.ts | 18 +- .../InternalMagazineInventoryMagGen.d.ts | 6 +- .../implementations/UbglExternalMagGen.d.ts | 6 +- .../types/helpers/AssortHelper.d.ts | 16 +- .../types/helpers/BotDifficultyHelper.d.ts | 18 +- .../types/helpers/BotGeneratorHelper.d.ts | 34 +- .../9RouterHooks/types/helpers/BotHelper.d.ts | 18 +- .../helpers/BotWeaponGeneratorHelper.d.ts | 26 +- .../Dialogue/AbstractDialogueChatBot.d.ts | 12 +- .../Dialogue/Commando/IChatCommand.d.ts | 4 +- .../Commando/SptCommandoCommands.d.ts | 10 +- .../GiveCommand/GiveSptCommand.d.ts | 28 +- .../Commando/SptCommands/ISptCommand.d.ts | 4 +- .../ProfileCommand/ProfileSptCommand.d.ts | 26 +- .../TraderCommand/TraderSptCommand.d.ts | 22 +- .../Dialogue/CommandoDialogueChatBot.d.ts | 10 +- .../helpers/Dialogue/IDialogueChatBot.d.ts | 4 +- .../helpers/Dialogue/SptDialogueChatBot.d.ts | 20 +- .../types/helpers/DialogueHelper.d.ts | 20 +- .../types/helpers/DurabilityLimitsHelper.d.ts | 10 +- .../types/helpers/GameEventHelper.d.ts | 6 +- .../types/helpers/HandbookHelper.d.ts | 14 +- .../types/helpers/HealthHelper.d.ts | 20 +- .../types/helpers/HideoutHelper.d.ts | 48 +-- .../types/helpers/HttpServerHelper.d.ts | 4 +- .../types/helpers/InRaidHelper.d.ts | 38 +-- .../types/helpers/InventoryHelper.d.ts | 58 ++-- .../types/helpers/ItemHelper.d.ts | 38 +-- .../types/helpers/NotificationSendHelper.d.ts | 18 +- .../types/helpers/NotifierHelper.d.ts | 10 +- .../types/helpers/PaymentHelper.d.ts | 4 +- .../types/helpers/PresetHelper.d.ts | 8 +- .../types/helpers/ProbabilityHelper.d.ts | 4 +- .../types/helpers/ProfileHelper.d.ts | 46 +-- .../types/helpers/QuestConditionHelper.d.ts | 2 +- .../types/helpers/QuestHelper.d.ts | 60 ++-- .../types/helpers/RagfairHelper.d.ts | 26 +- .../types/helpers/RagfairOfferHelper.d.ts | 64 ++-- .../types/helpers/RagfairSellHelper.d.ts | 14 +- .../types/helpers/RagfairServerHelper.d.ts | 40 +-- .../types/helpers/RagfairSortHelper.d.ts | 8 +- .../types/helpers/RepairHelper.d.ts | 16 +- .../types/helpers/RepeatableQuestHelper.d.ts | 10 +- .../types/helpers/SecureContainerHelper.d.ts | 4 +- .../types/helpers/TradeHelper.d.ts | 42 +-- .../types/helpers/TraderAssortHelper.d.ts | 38 +-- .../types/helpers/TraderHelper.d.ts | 36 +-- .../types/loaders/BundleLoader.d.ts | 10 +- .../types/loaders/ModLoadOrder.d.ts | 6 +- .../types/loaders/ModTypeCheck.d.ts | 32 +- .../types/loaders/PostAkiModLoader.d.ts | 17 - .../types/loaders/PostDBModLoader.d.ts | 16 +- .../types/loaders/PostSptModLoader.d.ts | 17 + .../types/loaders/PreAkiModLoader.d.ts | 99 ------ .../types/loaders/PreSptModLoader.d.ts | 99 ++++++ .../eft/builds/ISetMagazineRequest.d.ts | 2 +- .../types/models/eft/common/IGlobals.d.ts | 4 +- .../types/models/eft/common/ILocation.d.ts | 4 +- .../models/eft/common/ILocationBase.d.ts | 4 +- .../ILocationsSourceDestinationBase.d.ts | 2 +- .../types/models/eft/common/ILooseLoot.d.ts | 4 +- .../types/models/eft/common/IPmcData.d.ts | 2 +- .../models/eft/common/tables/IBotBase.d.ts | 16 +- .../models/eft/common/tables/IBotType.d.ts | 4 +- .../eft/common/tables/ICustomizationItem.d.ts | 2 +- .../eft/common/tables/IProfileTemplate.d.ts | 4 +- .../models/eft/common/tables/IQuest.d.ts | 8 +- .../eft/common/tables/ITemplateItem.d.ts | 4 +- .../models/eft/common/tables/ITrader.d.ts | 4 +- .../dialog/IGetAllAttachmentsResponse.d.ts | 2 +- .../dialog/IGetFriendListDataResponse.d.ts | 2 +- .../dialog/IGetMailDialogViewRequestData.d.ts | 2 +- .../IGetMailDialogViewResponseData.d.ts | 2 +- .../eft/dialog/ISendMessageRequest.d.ts | 2 +- .../eft/game/ICurrentGroupResponse.d.ts | 2 +- .../eft/health/IOffraidEatRequestData.d.ts | 2 +- .../eft/health/IOffraidHealRequestData.d.ts | 2 +- .../models/eft/hideout/IHideoutArea.d.ts | 4 +- .../models/eft/hideout/IHideoutScavCase.d.ts | 2 +- .../types/models/eft/hideout/IQteData.d.ts | 22 +- .../eft/inRaid/ISaveProgressRequestData.d.ts | 8 +- .../eft/insurance/IInsureRequestData.d.ts | 2 +- .../eft/inventory/IAddItemTempObject.d.ts | 2 +- .../inventory/IInventoryAddRequestData.d.ts | 2 +- .../IInventoryBaseActionRequestData.d.ts | 2 +- .../inventory/IInventoryBindRequestData.d.ts | 2 +- .../IInventoryCreateMarkerRequestData.d.ts | 2 +- .../IInventoryDeleteMarkerRequestData.d.ts | 2 +- .../IInventoryEditMarkerRequestData.d.ts | 2 +- .../IInventoryExamineRequestData.d.ts | 4 +- .../inventory/IInventoryFoldRequestData.d.ts | 2 +- .../inventory/IInventoryMergeRequestData.d.ts | 2 +- .../inventory/IInventoryMoveRequestData.d.ts | 2 +- ...IInventoryReadEncyclopediaRequestData.d.ts | 2 +- .../IInventoryRemoveRequestData.d.ts | 2 +- .../inventory/IInventorySortRequestData.d.ts | 4 +- .../inventory/IInventorySplitRequestData.d.ts | 2 +- .../inventory/IInventorySwapRequestData.d.ts | 4 +- .../inventory/IInventoryTagRequestData.d.ts | 2 +- .../IInventoryToggleRequestData.d.ts | 2 +- .../IInventoryTransferRequestData.d.ts | 2 +- .../IInventoryUnbindRequestData.d.ts | 2 +- .../IOpenRandomLootContainerRequestData.d.ts | 2 +- .../IEmptyItemEventRouterResponse.d.ts | 2 +- .../eft/itemEvent/IItemEventRouterBase.d.ts | 12 +- .../itemEvent/IItemEventRouterResponse.d.ts | 2 +- .../eft/launcher/IChangeRequestData.d.ts | 2 +- .../models/eft/launcher/IMiniProfile.d.ts | 4 +- .../models/eft/launcher/IRegisterData.d.ts | 2 +- .../eft/launcher/IRemoveProfileData.d.ts | 2 +- .../eft/location/IAirdropLootResult.d.ts | 2 +- .../IGetRaidConfigurationRequestData.d.ts | 2 +- .../models/eft/match/IGroupCharacter.d.ts | 4 +- .../eft/match/IMatchGroupCurrentResponse.d.ts | 2 +- .../match/IMatchGroupStartGameRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusRequest.d.ts | 2 +- .../eft/match/IMatchGroupStatusResponse.d.ts | 2 +- .../eft/match/IProfileStatusResponse.d.ts | 2 +- .../types/models/eft/match/IRaidSettings.d.ts | 22 +- .../models/eft/notes/INoteActionData.d.ts | 2 +- ...IPlayerIncrementSkillLevelRequestData.d.ts | 2 +- .../IPresetBuildActionRequestData.d.ts | 2 +- .../types/models/eft/profile/IAkiProfile.d.ts | 238 -------------- .../eft/profile/IGetOtherProfileResponse.d.ts | 4 +- .../types/models/eft/profile/ISptProfile.d.ts | 238 ++++++++++++++ .../eft/ragfair/IGetItemPriceResult.d.ts | 2 +- .../models/eft/ragfair/IGetOffersResult.d.ts | 2 +- .../models/eft/ragfair/IRagfairOffer.d.ts | 4 +- .../eft/ragfair/ISearchRequestData.d.ts | 2 +- .../eft/repair/IRepairActionDataRequest.d.ts | 2 +- .../ITraderRepairActionDataRequest.d.ts | 2 +- .../trade/IProcessBuyTradeRequestData.d.ts | 2 +- .../trade/IProcessSellTradeRequestData.d.ts | 2 +- .../ISellScavItemsToFenceRequestData.d.ts | 2 +- .../models/eft/weather/IWeatherData.d.ts | 4 +- .../types/models/eft/ws/IWsAid.d.ts | 2 +- .../types/models/eft/ws/IWsAidNickname.d.ts | 2 +- .../models/eft/ws/IWsChatMessageReceived.d.ts | 4 +- .../types/models/eft/ws/IWsGroupId.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteAccept.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteDecline.d.ts | 2 +- .../eft/ws/IWsGroupMatchInviteSend.d.ts | 4 +- .../eft/ws/IWsGroupMatchLeaderChanged.d.ts | 2 +- .../models/eft/ws/IWsGroupMatchRaidReady.d.ts | 4 +- .../eft/ws/IWsGroupMatchRaidSettings.d.ts | 4 +- .../types/models/eft/ws/IWsPing.d.ts | 2 +- .../models/eft/ws/IWsRagfairOfferSold.d.ts | 2 +- .../types/models/eft/ws/IWsUserConfirmed.d.ts | 6 +- .../types/models/enums/ConfigTypes.d.ts | 54 ++-- .../models/external/IPostAkiLoadMod.d.ts | 4 - .../models/external/IPostAkiLoadModAsync.d.ts | 4 - .../models/external/IPostSptLoadMod.d.ts | 4 + .../models/external/IPostSptLoadModAsync.d.ts | 4 + .../types/models/external/IPreAkiLoadMod.d.ts | 4 - .../models/external/IPreAkiLoadModAsync.d.ts | 4 - .../types/models/external/IPreSptLoadMod.d.ts | 4 + .../models/external/IPreSptLoadModAsync.d.ts | 4 + .../types/models/spt/bindings/Route.d.ts | 2 +- .../models/spt/bots/BotGenerationDetails.d.ts | 2 +- .../models/spt/bots/GenerateWeaponResult.d.ts | 6 +- .../models/spt/callbacks/IBotCallbacks.d.ts | 8 +- .../callbacks/ICustomizationCallbacks.d.ts | 12 +- .../models/spt/callbacks/IDataCallbacks.d.ts | 16 +- .../spt/callbacks/IDialogueCallbacks.d.ts | 34 +- .../models/spt/callbacks/IGameCallbacks.d.ts | 12 +- .../spt/callbacks/IHealthCallbacks.d.ts | 14 +- .../spt/callbacks/IHideoutCallbacks.d.ts | 22 +- .../spt/callbacks/IInraidCallbacks.d.ts | 12 +- .../spt/callbacks/IInsuranceCallbacks.d.ts | 10 +- .../spt/callbacks/IInventoryCallbacks.d.ts | 36 +-- .../spt/callbacks/IItemEventCallbacks.d.ts | 6 +- .../spt/callbacks/ILauncherCallbacks.d.ts | 10 +- .../spt/callbacks/ILocationCallbacks.d.ts | 8 +- .../models/spt/callbacks/INoteCallbacks.d.ts | 6 +- .../spt/callbacks/INotifierCallbacks.d.ts | 8 +- .../spt/callbacks/IPresetBuildCallbacks.d.ts | 10 +- .../spt/callbacks/IProfileCallbacks.d.ts | 18 +- .../models/spt/callbacks/IQuestCallbacks.d.ts | 22 +- .../spt/callbacks/IRagfairCallbacks.d.ts | 20 +- .../spt/callbacks/IRepairCallbacks.d.ts | 8 +- .../models/spt/callbacks/ITradeCallbacks.d.ts | 8 +- .../spt/callbacks/ITraderCallbacks.d.ts | 6 +- .../spt/callbacks/IWeatherCallbacks.d.ts | 4 +- .../spt/callbacks/IWishlistCallbacks.d.ts | 6 +- .../models/spt/config/IAirdropConfig.d.ts | 8 +- .../types/models/spt/config/IBTRConfig.d.ts | 4 +- .../types/models/spt/config/IBotConfig.d.ts | 10 +- .../types/models/spt/config/ICoreConfig.d.ts | 6 +- .../types/models/spt/config/IGiftsConfig.d.ts | 14 +- .../models/spt/config/IHealthConfig.d.ts | 4 +- .../models/spt/config/IHideoutConfig.d.ts | 4 +- .../types/models/spt/config/IHttpConfig.d.ts | 6 +- .../models/spt/config/IInRaidConfig.d.ts | 4 +- .../models/spt/config/IInsuranceConfig.d.ts | 4 +- .../models/spt/config/IInventoryConfig.d.ts | 6 +- .../types/models/spt/config/IItemConfig.d.ts | 4 +- .../models/spt/config/ILocaleConfig.d.ts | 4 +- .../models/spt/config/ILocationConfig.d.ts | 8 +- .../types/models/spt/config/ILootConfig.d.ts | 6 +- .../models/spt/config/ILostOnDeathConfig.d.ts | 4 +- .../types/models/spt/config/IMatchConfig.d.ts | 4 +- .../models/spt/config/IPlayerScavConfig.d.ts | 6 +- .../models/spt/config/IPmChatResponse.d.ts | 4 +- .../types/models/spt/config/IPmcConfig.d.ts | 8 +- .../types/models/spt/config/IQuestConfig.d.ts | 12 +- .../models/spt/config/IRagfairConfig.d.ts | 6 +- .../models/spt/config/IRepairConfig.d.ts | 6 +- .../models/spt/config/IScavCaseConfig.d.ts | 6 +- .../spt/config/ISeasonalEventConfig.d.ts | 8 +- .../models/spt/config/ITraderConfig.d.ts | 8 +- .../models/spt/config/IWeatherConfig.d.ts | 10 +- .../spt/controllers/IBotController.d.ts | 8 +- .../spt/dialog/ISendMessageDetails.d.ts | 8 +- .../spt/fence/ICreateFenceAssortsResult.d.ts | 4 +- .../models/spt/generators/IBotGenerator.d.ts | 4 +- .../spt/generators/ILocationGenerator.d.ts | 4 +- .../generators/IRagfairAssortGenerator.d.ts | 2 +- .../generators/IRagfairOfferGenerator.d.ts | 6 +- .../models/spt/logging/IClientLogRequest.d.ts | 2 +- .../models/spt/mod/IPackageJsonData.d.ts | 2 +- .../types/models/spt/mod/NewItemDetails.d.ts | 2 +- .../models/spt/repeatable/IQuestTypePool.d.ts | 2 +- .../models/spt/server/ExhaustableArray.d.ts | 4 +- .../models/spt/server/IDatabaseTables.d.ts | 46 +-- .../types/models/spt/server/ILocations.d.ts | 4 +- .../models/spt/services/CustomPreset.d.ts | 2 +- .../spt/services/CustomTraderAssortData.d.ts | 4 +- .../spt/services/IInsuranceEquipmentPkg.d.ts | 4 +- .../spt/services/ITraderServiceModel.d.ts | 2 +- .../models/spt/services/LootRequest.d.ts | 2 +- .../types/models/spt/utils/IAsyncQueue.d.ts | 2 +- .../types/models/spt/utils/ILogger.d.ts | 6 +- .../types/routers/EventOutputHolder.d.ts | 14 +- .../types/routers/HttpRouter.d.ts | 2 +- .../types/routers/ImageRouter.d.ts | 6 +- .../types/routers/ItemEventRouter.d.ts | 16 +- .../routers/dynamic/BotDynamicRouter.d.ts | 4 +- .../routers/dynamic/BundleDynamicRouter.d.ts | 4 +- .../dynamic/CustomizationDynamicRouter.d.ts | 4 +- .../routers/dynamic/DataDynamicRouter.d.ts | 4 +- .../routers/dynamic/HttpDynamicRouter.d.ts | 4 +- .../routers/dynamic/InraidDynamicRouter.d.ts | 4 +- .../dynamic/LocationDynamicRouter.d.ts | 4 +- .../dynamic/NotifierDynamicRouter.d.ts | 4 +- .../routers/dynamic/TraderDynamicRouter.d.ts | 4 +- .../CustomizationItemEventRouter.d.ts | 8 +- .../item_events/HealthItemEventRouter.d.ts | 8 +- .../item_events/HideoutItemEventRouter.d.ts | 8 +- .../item_events/InsuranceItemEventRouter.d.ts | 8 +- .../item_events/InventoryItemEventRouter.d.ts | 10 +- .../item_events/NoteItemEventRouter.d.ts | 10 +- .../item_events/QuestItemEventRouter.d.ts | 10 +- .../item_events/RagfairItemEventRouter.d.ts | 8 +- .../item_events/RepairItemEventRouter.d.ts | 8 +- .../item_events/TradeItemEventRouter.d.ts | 8 +- .../item_events/WishlistItemEventRouter.d.ts | 8 +- .../save_load/HealthSaveLoadRouter.d.ts | 6 +- .../save_load/InraidSaveLoadRouter.d.ts | 6 +- .../save_load/InsuranceSaveLoadRouter.d.ts | 6 +- .../save_load/ProfileSaveLoadRouter.d.ts | 6 +- .../routers/serializers/BundleSerializer.d.ts | 8 +- .../routers/serializers/ImageSerializer.d.ts | 4 +- .../routers/serializers/NotifySerializer.d.ts | 8 +- .../static/AchievementStaticRouter.d.ts | 4 +- .../types/routers/static/BotStaticRouter.d.ts | 4 +- .../routers/static/BuildStaticRouter.d.ts | 4 +- .../routers/static/BundleStaticRouter.d.ts | 4 +- .../routers/static/ClientLogStaticRouter.d.ts | 4 +- .../static/CustomizationStaticRouter.d.ts | 4 +- .../routers/static/DataStaticRouter.d.ts | 4 +- .../routers/static/DialogStaticRouter.d.ts | 4 +- .../routers/static/GameStaticRouter.d.ts | 4 +- .../routers/static/HealthStaticRouter.d.ts | 4 +- .../routers/static/InraidStaticRouter.d.ts | 4 +- .../routers/static/InsuranceStaticRouter.d.ts | 4 +- .../routers/static/ItemEventStaticRouter.d.ts | 4 +- .../routers/static/LauncherStaticRouter.d.ts | 4 +- .../routers/static/LocationStaticRouter.d.ts | 4 +- .../routers/static/MatchStaticRouter.d.ts | 4 +- .../routers/static/NotifierStaticRouter.d.ts | 4 +- .../routers/static/ProfileStaticRouter.d.ts | 4 +- .../routers/static/QuestStaticRouter.d.ts | 4 +- .../routers/static/RagfairStaticRouter.d.ts | 4 +- .../routers/static/TraderStaticRouter.d.ts | 4 +- .../routers/static/WeatherStaticRouter.d.ts | 4 +- .../types/servers/ConfigServer.d.ts | 8 +- .../types/servers/DatabaseServer.d.ts | 2 +- .../types/servers/HttpServer.d.ts | 18 +- .../types/servers/RagfairServer.d.ts | 24 +- .../types/servers/SaveServer.d.ts | 26 +- .../types/servers/WebSocketServer.d.ts | 10 +- .../types/servers/http/AkiHttpListener.d.ts | 36 --- .../types/servers/http/SptHttpListener.d.ts | 36 +++ .../ws/AkiWebSocketConnectionHandler.d.ts | 31 -- .../ws/SptWebSocketConnectionHandler.d.ts | 31 ++ .../DefaultAkiWebSocketMessageHandler.d.ts | 8 - .../DefaultSptWebSocketMessageHandler.d.ts | 8 + .../message/IAkiWebSocketMessageHandler.d.ts | 4 - .../message/ISptWebSocketMessageHandler.d.ts | 4 + .../services/BotEquipmentFilterService.d.ts | 14 +- .../services/BotEquipmentModPoolService.d.ts | 18 +- .../services/BotGenerationCacheService.d.ts | 10 +- .../types/services/BotLootCacheService.d.ts | 20 +- .../services/BotWeaponModLimitService.d.ts | 12 +- .../services/CustomLocationWaveService.d.ts | 12 +- .../types/services/FenceService.d.ts | 36 +-- .../types/services/GiftService.d.ts | 22 +- .../types/services/InsuranceService.d.ts | 48 +-- .../types/services/ItemBaseClassService.d.ts | 8 +- .../types/services/ItemFilterService.d.ts | 8 +- .../types/services/LocaleService.d.ts | 8 +- .../types/services/LocalisationService.d.ts | 8 +- .../types/services/MailSendService.d.ts | 32 +- .../services/MatchBotDetailsCacheService.d.ts | 6 +- .../types/services/MatchLocationService.d.ts | 4 +- .../types/services/ModCompilerService.d.ts | 10 +- .../types/services/NotificationService.d.ts | 2 +- .../types/services/OpenZoneService.d.ts | 12 +- .../types/services/PaymentService.d.ts | 30 +- .../types/services/PlayerService.d.ts | 10 +- .../services/PmcChatResponseService.d.ts | 24 +- .../types/services/ProfileFixerService.d.ts | 56 ++-- .../services/ProfileSnapshotService.d.ts | 10 +- .../services/RagfairCategoriesService.d.ts | 8 +- .../services/RagfairLinkedItemService.d.ts | 6 +- .../types/services/RagfairOfferService.d.ts | 28 +- .../types/services/RagfairPriceService.d.ts | 44 ++- .../services/RagfairRequiredItemsService.d.ts | 8 +- .../types/services/RagfairTaxService.d.ts | 16 +- .../services/RaidTimeAdjustmentService.d.ts | 22 +- .../types/services/RepairService.d.ts | 40 +-- .../types/services/SeasonalEventService.d.ts | 32 +- .../types/services/TraderAssortService.d.ts | 2 +- .../TraderPurchasePersisterService.d.ts | 16 +- .../types/services/TraderServicesService.d.ts | 10 +- .../cache/BundleHashCacheService.d.ts | 8 +- .../services/cache/ModHashCacheService.d.ts | 8 +- .../types/services/mod/CustomItemService.d.ts | 18 +- .../mod/dynamicRouter/DynamicRouterMod.d.ts | 2 +- .../DynamicRouterModService.d.ts | 2 +- .../mod/httpListener/HttpListenerMod.d.ts | 2 +- .../types/services/mod/onLoad/OnLoadMod.d.ts | 2 +- .../services/mod/onUpdate/OnUpdateMod.d.ts | 2 +- .../mod/staticRouter/StaticRouterMod.d.ts | 2 +- .../staticRouter/StaticRouterModService.d.ts | 2 +- TypeScript/9RouterHooks/types/utils/App.d.ts | 18 +- .../9RouterHooks/types/utils/AsyncQueue.d.ts | 4 +- .../types/utils/DatabaseImporter.d.ts | 26 +- .../9RouterHooks/types/utils/HashUtil.d.ts | 2 +- .../types/utils/HttpFileUtil.d.ts | 2 +- .../types/utils/HttpResponseUtil.d.ts | 12 +- .../types/utils/ImporterUtil.d.ts | 4 +- .../9RouterHooks/types/utils/JsonUtil.d.ts | 6 +- .../9RouterHooks/types/utils/ObjectId.d.ts | 2 +- .../types/utils/RagfairOfferHolder.d.ts | 4 +- .../9RouterHooks/types/utils/RandomUtil.d.ts | 6 +- TypeScript/9RouterHooks/types/utils/VFS.d.ts | 2 +- .../9RouterHooks/types/utils/Watermark.d.ts | 10 +- .../types/utils/cloners/JsonCloner.d.ts | 2 +- .../types/utils/cloners/RecursiveCloner.d.ts | 2 +- .../types/utils/cloners/StructuredCloner.d.ts | 2 +- .../utils/logging/AbstractWinstonLogger.d.ts | 12 +- .../utils/logging/WinstonMainLogger.d.ts | 4 +- .../utils/logging/WinstonRequestLogger.d.ts | 4 +- 12156 files changed, 88630 insertions(+), 85716 deletions(-) delete mode 100644 TypeScript/10ScopesAndTypes/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/10ScopesAndTypes/types/loaders/PostSptModLoader.d.ts rename TypeScript/{11BundleLoadingSample/types/loaders/PreAkiModLoader.d.ts => 10ScopesAndTypes/types/loaders/PreSptModLoader.d.ts} (78%) rename TypeScript/{12ClassExtensionOverride/types/models/eft/profile/IAkiProfile.d.ts => 10ScopesAndTypes/types/models/eft/profile/ISptProfile.d.ts} (91%) delete mode 100644 TypeScript/10ScopesAndTypes/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/10ScopesAndTypes/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/10ScopesAndTypes/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/10ScopesAndTypes/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/10ScopesAndTypes/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/10ScopesAndTypes/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/10ScopesAndTypes/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/10ScopesAndTypes/types/models/external/IPreSptLoadModAsync.d.ts rename TypeScript/10ScopesAndTypes/types/servers/http/{AkiHttpListener.d.ts => SptHttpListener.d.ts} (74%) rename TypeScript/{12ClassExtensionOverride/types/servers/ws/AkiWebSocketConnectionHandler.d.ts => 10ScopesAndTypes/types/servers/ws/SptWebSocketConnectionHandler.d.ts} (55%) delete mode 100644 TypeScript/10ScopesAndTypes/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/10ScopesAndTypes/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/10ScopesAndTypes/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/10ScopesAndTypes/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/11BundleLoadingSample/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/11BundleLoadingSample/types/loaders/PostSptModLoader.d.ts rename TypeScript/{10ScopesAndTypes/types/loaders/PreAkiModLoader.d.ts => 11BundleLoadingSample/types/loaders/PreSptModLoader.d.ts} (78%) rename TypeScript/{13AddTrader/types/models/eft/profile/IAkiProfile.d.ts => 11BundleLoadingSample/types/models/eft/profile/ISptProfile.d.ts} (91%) delete mode 100644 TypeScript/11BundleLoadingSample/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/11BundleLoadingSample/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/11BundleLoadingSample/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/11BundleLoadingSample/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/11BundleLoadingSample/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/11BundleLoadingSample/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/11BundleLoadingSample/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/11BundleLoadingSample/types/models/external/IPreSptLoadModAsync.d.ts rename TypeScript/{12ClassExtensionOverride/types/servers/http/AkiHttpListener.d.ts => 11BundleLoadingSample/types/servers/http/SptHttpListener.d.ts} (74%) rename TypeScript/{13AddTrader/types/servers/ws/AkiWebSocketConnectionHandler.d.ts => 11BundleLoadingSample/types/servers/ws/SptWebSocketConnectionHandler.d.ts} (55%) delete mode 100644 TypeScript/11BundleLoadingSample/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/11BundleLoadingSample/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/11BundleLoadingSample/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/11BundleLoadingSample/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/12ClassExtensionOverride/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/12ClassExtensionOverride/types/loaders/PostSptModLoader.d.ts rename TypeScript/12ClassExtensionOverride/types/loaders/{PreAkiModLoader.d.ts => PreSptModLoader.d.ts} (78%) rename TypeScript/{10ScopesAndTypes/types/models/eft/profile/IAkiProfile.d.ts => 12ClassExtensionOverride/types/models/eft/profile/ISptProfile.d.ts} (91%) delete mode 100644 TypeScript/12ClassExtensionOverride/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/12ClassExtensionOverride/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/12ClassExtensionOverride/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/12ClassExtensionOverride/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/12ClassExtensionOverride/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/12ClassExtensionOverride/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/12ClassExtensionOverride/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/12ClassExtensionOverride/types/models/external/IPreSptLoadModAsync.d.ts rename TypeScript/{11BundleLoadingSample/types/servers/http/AkiHttpListener.d.ts => 12ClassExtensionOverride/types/servers/http/SptHttpListener.d.ts} (74%) rename TypeScript/{10ScopesAndTypes/types/servers/ws/AkiWebSocketConnectionHandler.d.ts => 12ClassExtensionOverride/types/servers/ws/SptWebSocketConnectionHandler.d.ts} (55%) delete mode 100644 TypeScript/12ClassExtensionOverride/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/12ClassExtensionOverride/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/12ClassExtensionOverride/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/12ClassExtensionOverride/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/13AddTrader/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/13AddTrader/types/loaders/PostSptModLoader.d.ts rename TypeScript/13AddTrader/types/loaders/{PreAkiModLoader.d.ts => PreSptModLoader.d.ts} (78%) rename TypeScript/{11BundleLoadingSample/types/models/eft/profile/IAkiProfile.d.ts => 13AddTrader/types/models/eft/profile/ISptProfile.d.ts} (91%) delete mode 100644 TypeScript/13AddTrader/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/13AddTrader/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/13AddTrader/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/13AddTrader/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/13AddTrader/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/13AddTrader/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/13AddTrader/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/13AddTrader/types/models/external/IPreSptLoadModAsync.d.ts rename TypeScript/13AddTrader/types/servers/http/{AkiHttpListener.d.ts => SptHttpListener.d.ts} (74%) rename TypeScript/{11BundleLoadingSample/types/servers/ws/AkiWebSocketConnectionHandler.d.ts => 13AddTrader/types/servers/ws/SptWebSocketConnectionHandler.d.ts} (55%) delete mode 100644 TypeScript/13AddTrader/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/13AddTrader/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/13AddTrader/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/13AddTrader/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/14AfterDBLoadHook/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/14AfterDBLoadHook/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/14AfterDBLoadHook/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/14AfterDBLoadHook/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/14AfterDBLoadHook/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/14AfterDBLoadHook/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/14AfterDBLoadHook/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/14AfterDBLoadHook/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/14AfterDBLoadHook/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/14AfterDBLoadHook/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/14AfterDBLoadHook/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/14AfterDBLoadHook/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/14AfterDBLoadHook/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/14AfterDBLoadHook/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/14AfterDBLoadHook/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/14AfterDBLoadHook/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/14AfterDBLoadHook/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/14AfterDBLoadHook/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/14AfterDBLoadHook/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/14AfterDBLoadHook/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/14AfterDBLoadHook/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/14AfterDBLoadHook/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/15HttpListenerExample/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/15HttpListenerExample/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/15HttpListenerExample/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/15HttpListenerExample/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/15HttpListenerExample/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/15HttpListenerExample/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/15HttpListenerExample/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/15HttpListenerExample/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/15HttpListenerExample/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/15HttpListenerExample/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/15HttpListenerExample/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/15HttpListenerExample/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/15HttpListenerExample/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/15HttpListenerExample/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/15HttpListenerExample/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/15HttpListenerExample/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/15HttpListenerExample/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/15HttpListenerExample/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/15HttpListenerExample/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/15HttpListenerExample/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/15HttpListenerExample/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/15HttpListenerExample/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/16ImporterUtil/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/16ImporterUtil/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/16ImporterUtil/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/16ImporterUtil/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/16ImporterUtil/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/16ImporterUtil/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/16ImporterUtil/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/16ImporterUtil/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/16ImporterUtil/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/16ImporterUtil/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/16ImporterUtil/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/16ImporterUtil/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/16ImporterUtil/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/16ImporterUtil/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/16ImporterUtil/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/16ImporterUtil/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/16ImporterUtil/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/16ImporterUtil/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/16ImporterUtil/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/16ImporterUtil/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/16ImporterUtil/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/16ImporterUtil/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency1/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency1/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency1/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency1/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency1/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency1/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency1/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency1/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency1/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency1/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency2/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency2/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency2/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency2/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency2/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency2/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency2/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency2/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency2/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency2/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/18CustomItemService/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/18CustomItemService/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/18CustomItemService/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/18CustomItemService/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/18CustomItemService/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/18CustomItemService/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/18CustomItemService/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/18CustomItemService/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/18CustomItemService/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/18CustomItemService/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/18CustomItemService/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/18CustomItemService/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/18CustomItemService/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/18CustomItemService/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/18CustomItemService/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/18CustomItemService/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/18CustomItemService/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/18CustomItemService/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/18CustomItemService/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/18CustomItemService/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/18CustomItemService/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/18CustomItemService/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/19UseExternalLibraries/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/19UseExternalLibraries/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/19UseExternalLibraries/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/19UseExternalLibraries/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/19UseExternalLibraries/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/19UseExternalLibraries/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/19UseExternalLibraries/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/19UseExternalLibraries/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/19UseExternalLibraries/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/19UseExternalLibraries/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/19UseExternalLibraries/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/19UseExternalLibraries/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/19UseExternalLibraries/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/19UseExternalLibraries/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/19UseExternalLibraries/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/19UseExternalLibraries/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/19UseExternalLibraries/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/19UseExternalLibraries/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/19UseExternalLibraries/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/19UseExternalLibraries/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/19UseExternalLibraries/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/19UseExternalLibraries/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/1LogToConsole/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/1LogToConsole/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/1LogToConsole/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/1LogToConsole/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/1LogToConsole/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/1LogToConsole/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/1LogToConsole/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/1LogToConsole/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/1LogToConsole/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/1LogToConsole/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/1LogToConsole/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/1LogToConsole/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/1LogToConsole/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/1LogToConsole/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/1LogToConsole/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/1LogToConsole/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/1LogToConsole/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/1LogToConsole/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/1LogToConsole/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/1LogToConsole/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/1LogToConsole/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/1LogToConsole/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/20CustomChatBot/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/20CustomChatBot/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/20CustomChatBot/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/20CustomChatBot/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/20CustomChatBot/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/20CustomChatBot/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/20CustomChatBot/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/20CustomChatBot/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/20CustomChatBot/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/20CustomChatBot/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/20CustomChatBot/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/20CustomChatBot/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/20CustomChatBot/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/20CustomChatBot/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/20CustomChatBot/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/20CustomChatBot/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/20CustomChatBot/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/20CustomChatBot/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/20CustomChatBot/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/20CustomChatBot/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/20CustomChatBot/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/20CustomChatBot/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/21CustomCommandoCommand/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/21CustomCommandoCommand/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/21CustomCommandoCommand/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/21CustomCommandoCommand/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/21CustomCommandoCommand/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/21CustomCommandoCommand/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/21CustomCommandoCommand/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/21CustomCommandoCommand/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/21CustomCommandoCommand/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/21CustomCommandoCommand/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/21CustomCommandoCommand/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/21CustomCommandoCommand/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/21CustomCommandoCommand/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/21CustomCommandoCommand/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/21CustomCommandoCommand/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/21CustomCommandoCommand/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/21CustomCommandoCommand/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/21CustomCommandoCommand/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/21CustomCommandoCommand/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/21CustomCommandoCommand/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/21CustomCommandoCommand/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/21CustomCommandoCommand/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/src/mod.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/callbacks/ModCallbacks.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/helpers/Dialogue/IDialogueChatBot.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/loaders/ModTypeCheck.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/loaders/PostAkiModLoader.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/loaders/PreAkiModLoader.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/eft/inRaid/ISaveProgressRequestData.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryExamineRequestData.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/eft/launcher/IRegisterData.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/eft/launcher/IRemoveProfileData.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/eft/match/IRaidSettings.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/eft/profile/IAkiProfile.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsAid.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupId.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsPing.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/enums/ConfigTypes.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/external/IPostAkiLoadModAsync.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/external/IPreAkiLoadModAsync.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/spt/bots/GenerateWeaponResult.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ICustomizationCallbacks.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IHealthCallbacks.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IInsuranceCallbacks.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IItemEventCallbacks.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ILocationCallbacks.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IQuestCallbacks.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IRagfairCallbacks.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IRepairCallbacks.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ITradeCallbacks.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IWeatherCallbacks.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/spt/config/IMatchConfig.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/spt/generators/IRagfairOfferGenerator.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/spt/server/IDatabaseTables.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/models/spt/services/CustomTraderAssortData.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/routers/item_events/NoteItemEventRouter.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/routers/save_load/HealthSaveLoadRouter.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/routers/save_load/InraidSaveLoadRouter.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/routers/save_load/InsuranceSaveLoadRouter.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/routers/save_load/ProfileSaveLoadRouter.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/servers/http/AkiHttpListener.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/servers/ws/AkiWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/22CustomAkiCommand/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/.buildignore (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/.eslintignore (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/.eslintrc.json (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/README.md (79%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/build.mjs (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/mod.code-workspace (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/package.json (92%) rename TypeScript/{22CustomAkiCommand/src/CustomAkiCommand.ts => 22CustomSptCommand/src/CustomSptCommand.ts} (66%) create mode 100644 TypeScript/22CustomSptCommand/src/mod.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/tsconfig.json (91%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/ErrorHandler.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/Program.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/AchievementCallbacks.d.ts (53%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/BotCallbacks.d.ts (70%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/BuildsCallbacks.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/BundleCallbacks.d.ts (65%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/ClientLogCallbacks.d.ts (61%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/CustomizationCallbacks.d.ts (53%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/DataCallbacks.d.ts (71%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/DialogueCallbacks.d.ts (62%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/GameCallbacks.d.ts (59%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/HandbookCallbacks.d.ts (64%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/HealthCallbacks.d.ts (58%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/HideoutCallbacks.d.ts (63%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/HttpCallbacks.d.ts (67%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/InraidCallbacks.d.ts (75%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/InsuranceCallbacks.d.ts (50%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/InventoryCallbacks.d.ts (59%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/ItemEventCallbacks.d.ts (55%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/LauncherCallbacks.d.ts (64%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/LocationCallbacks.d.ts (53%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/MatchCallbacks.d.ts (68%) create mode 100644 TypeScript/22CustomSptCommand/types/callbacks/ModCallbacks.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/NoteCallbacks.d.ts (63%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/NotifierCallbacks.d.ts (66%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/PresetCallbacks.d.ts (64%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/ProfileCallbacks.d.ts (64%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/QuestCallbacks.d.ts (52%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/RagfairCallbacks.d.ts (52%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/RepairCallbacks.d.ts (66%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/SaveCallbacks.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/TradeCallbacks.d.ts (54%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/TraderCallbacks.d.ts (62%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/WeatherCallbacks.d.ts (51%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/callbacks/WishlistCallbacks.d.ts (58%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/context/ApplicationContext.d.ts (85%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/context/ContextVariable.d.ts (76%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/context/ContextVariableType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/AchievementController.d.ts (65%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/BotController.d.ts (77%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/BuildController.d.ts (52%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/ClientLogController.d.ts (59%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/CustomizationController.d.ts (76%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/DialogueController.d.ts (78%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/GameController.d.ts (64%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/HandbookController.d.ts (64%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/HealthController.d.ts (67%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/HideoutController.d.ts (77%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/InraidController.d.ts (74%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/InsuranceController.d.ts (83%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/InventoryController.d.ts (72%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/LauncherController.d.ts (60%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/LocationController.d.ts (62%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/MatchController.d.ts (66%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/NoteController.d.ts (59%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/NotifierController.d.ts (76%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/PresetController.d.ts (59%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/ProfileController.d.ts (61%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/QuestController.d.ts (80%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/RagfairController.d.ts (74%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/RepairController.d.ts (58%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/RepeatableQuestController.d.ts (77%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/TradeController.d.ts (68%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/TraderController.d.ts (69%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/WeatherController.d.ts (60%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/controllers/WishlistController.d.ts (58%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/di/Container.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/di/OnLoad.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/di/OnUpdate.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/di/Router.d.ts (83%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/di/Serializer.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/BotEquipmentModGenerator.d.ts (87%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/BotGenerator.d.ts (78%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/BotInventoryGenerator.d.ts (83%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/BotLevelGenerator.d.ts (75%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/BotLootGenerator.d.ts (81%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/BotWeaponGenerator.d.ts (84%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/FenceBaseAssortGenerator.d.ts (64%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/IFilterPlateModsForSlotByLevelResult.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/LocationGenerator.d.ts (87%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/LootGenerator.d.ts (81%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/PMCLootGenerator.d.ts (74%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/PlayerScavGenerator.d.ts (72%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/RagfairAssortGenerator.d.ts (75%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/RagfairOfferGenerator.d.ts (86%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/RepeatableQuestGenerator.d.ts (87%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/RepeatableQuestRewardGenerator.d.ts (83%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/ScavCaseRewardGenerator.d.ts (80%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/WeatherGenerator.d.ts (75%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/weapongen/IInventoryMagGen.d.ts (70%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/weapongen/InventoryMagGen.d.ts (69%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts (58%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts (61%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts (59%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts (59%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/AssortHelper.d.ts (80%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/BotDifficultyHelper.d.ts (75%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/BotGeneratorHelper.d.ts (80%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/BotHelper.d.ts (85%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/BotWeaponGeneratorHelper.d.ts (74%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/ContainerHelper.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts (62%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/Dialogue/Commando/IChatCommand.d.ts (70%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts (61%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts (55%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts (55%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts (54%) create mode 100644 TypeScript/22CustomSptCommand/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts create mode 100644 TypeScript/22CustomSptCommand/types/helpers/Dialogue/IDialogueChatBot.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/Dialogue/SptDialogueChatBot.d.ts (54%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/DialogueHelper.d.ts (66%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/DurabilityLimitsHelper.d.ts (89%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/GameEventHelper.d.ts (54%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/HandbookHelper.d.ts (84%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/HealthHelper.d.ts (78%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/HideoutHelper.d.ts (88%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/HttpServerHelper.d.ts (84%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/InRaidHelper.d.ts (84%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/InventoryHelper.d.ts (83%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/ItemHelper.d.ts (94%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/NotificationSendHelper.d.ts (66%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/NotifierHelper.d.ts (71%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/PaymentHelper.d.ts (78%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/PresetHelper.d.ts (89%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/ProbabilityHelper.d.ts (79%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/ProfileHelper.d.ts (82%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/QuestConditionHelper.d.ts (90%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/QuestHelper.d.ts (85%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/RagfairHelper.d.ts (62%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/RagfairOfferHelper.d.ts (75%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/RagfairSellHelper.d.ts (73%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/RagfairServerHelper.d.ts (73%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/RagfairSortHelper.d.ts (79%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/RepairHelper.d.ts (81%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/RepeatableQuestHelper.d.ts (71%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/SecureContainerHelper.d.ts (80%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/TradeHelper.d.ts (64%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/TraderAssortHelper.d.ts (73%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/TraderHelper.d.ts (84%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/UtilityHelper.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/helpers/WeightedRandomHelper.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/ide/BleedingEdgeEntry.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/ide/BleedingEdgeModsEntry.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/ide/DebugEntry.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/ide/ReleaseEntry.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/ide/TestEntry.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/loaders/BundleLoader.d.ts (76%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/loaders/ModLoadOrder.d.ts (75%) create mode 100644 TypeScript/22CustomSptCommand/types/loaders/ModTypeCheck.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/loaders/PostDBModLoader.d.ts (55%) create mode 100644 TypeScript/22CustomSptCommand/types/loaders/PostSptModLoader.d.ts create mode 100644 TypeScript/22CustomSptCommand/types/loaders/PreSptModLoader.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/common/MinMax.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/bot/IGenerateBotsRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/bot/IRandomisedBotLevelResult.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/builds/ISetMagazineRequest.d.ts (74%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/IEmptyRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/IGlobals.d.ts (99%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/ILocation.d.ts (93%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/ILocationBase.d.ts (98%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/ILocationsSourceDestinationBase.d.ts (71%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/ILooseLoot.d.ts (88%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/IMetricsTableData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/IPmcData.d.ts (76%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/Ixyz.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/request/IBaseInteractionRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/request/IUIDRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/tables/IAchievement.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/tables/IBotBase.d.ts (94%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/tables/IBotCore.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/tables/IBotType.d.ts (97%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/tables/ICustomizationItem.d.ts (91%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/tables/IHandbookBase.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/tables/IItem.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/tables/ILocationsBase.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/tables/IMatch.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/tables/IProfileTemplate.d.ts (85%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/tables/IQuest.d.ts (93%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/tables/IRepeatableQuests.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/tables/ITemplateItem.d.ts (99%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/common/tables/ITrader.d.ts (94%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/customization/IBuyClothingRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/customization/IGetSuitsResponse.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/customization/IWearClothingRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IAcceptFriendRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IAddUserGroupMailRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IChangeGroupMailOwnerRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IChatServer.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IClearMailMessageRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/ICreateGroupMailRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IDeleteFriendRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IFriendRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IFriendRequestSendResponse.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts (66%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IGetChatServerListRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IGetFriendListDataResponse.d.ts (63%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts (67%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts (63%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IPinDialogRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IRemoveDialogRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IRemoveMailMessageRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/IRemoveUserGroupMailRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/ISendMessageRequest.d.ts (65%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/dialog/ISetDialogReadRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/game/ICheckVersionResponse.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/game/ICurrentGroupResponse.d.ts (84%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/game/IGameConfigResponse.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/game/IGameEmptyCrcRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/game/IGameKeepAliveResponse.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/game/IGameLogoutResponseData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/game/IGameModeRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/game/IGameModeResponse.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/game/IGameStartResponse.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/game/IGetItemPricesResponse.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/game/IGetRaidTimeRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/game/IGetRaidTimeResponse.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/game/ISendReportRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/game/IServerDetails.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/game/IVersionValidateRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/health/Effect.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/health/IHealthTreatmentRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/health/IOffraidEatRequestData.d.ts (58%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/health/IOffraidHealRequestData.d.ts (78%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/health/ISyncHealthRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/health/IWorkoutData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHandleQTEEventRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHideoutArea.d.ts (93%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHideoutCancelProductionRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHideoutContinuousProductionStartRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHideoutImproveAreaRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHideoutProduction.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHideoutScavCase.d.ts (86%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHideoutSettingsBase.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IQteData.d.ts (77%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/hideout/IRecordShootingRangePoints.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/httpResponse/IGetBodyResponseData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/httpResponse/INullResponseData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inRaid/IInsuredItemsData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inRaid/IItemDeliveryRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts (100%) create mode 100644 TypeScript/22CustomSptCommand/types/models/eft/inRaid/ISaveProgressRequestData.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/insurance/IInsureRequestData.d.ts (55%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IAddItemDirectRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IAddItemRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IAddItemTempObject.d.ts (67%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IAddItemsDirectRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventoryAddRequestData.d.ts (78%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts (83%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventoryBindRequestData.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts (70%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts (60%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts (72%) create mode 100644 TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryExamineRequestData.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventoryFoldRequestData.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventoryMergeRequestData.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventoryMoveRequestData.d.ts (53%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts (57%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts (53%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventorySortRequestData.d.ts (69%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventorySplitRequestData.d.ts (86%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventorySwapRequestData.d.ts (51%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventoryTagRequestData.d.ts (59%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventoryToggleRequestData.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventoryTransferRequestData.d.ts (60%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts (73%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/IRedeemProfileRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/inventory/ISetFavoriteItems.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts (53%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/itemEvent/IItemEventRouterBase.d.ts (79%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts (69%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/launcher/IChangeRequestData.d.ts (50%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/launcher/ILoginRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/launcher/IMiniProfile.d.ts (81%) create mode 100644 TypeScript/22CustomSptCommand/types/models/eft/launcher/IRegisterData.d.ts create mode 100644 TypeScript/22CustomSptCommand/types/models/eft/launcher/IRemoveProfileData.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/location/IAirdropLootResult.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/location/IGetLocationRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IEndOfflineRaidRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts (68%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IGroupCharacter.d.ts (86%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IMatchGroupCurrentResponse.d.ts (50%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IMatchGroupInviteSendRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IMatchGroupPlayerRemoveRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IMatchGroupStartGameRequest.d.ts (60%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IMatchGroupStatusRequest.d.ts (74%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IMatchGroupStatusResponse.d.ts (59%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IMatchGroupTransferRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IProfileStatusRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IProfileStatusResponse.d.ts (59%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IPutMetricsRequestData.d.ts (100%) create mode 100644 TypeScript/22CustomSptCommand/types/models/eft/match/IRaidSettings.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IRequestIdRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IServer.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/ISessionStatus.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/match/IUpdatePingRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/notes/INoteActionData.d.ts (63%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/notifier/INotifier.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/notifier/ISelectProfileResponse.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts (85%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts (74%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/presetBuild/IRemoveBuildRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/profile/GetProfileStatusResponseData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/profile/ICompletedAchievementsResponse.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/profile/IConnectResponse.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/profile/ICreateProfileResponse.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/profile/IGetAchievementsResponse.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/profile/IGetOtherProfileRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/profile/IGetOtherProfileResponse.d.ts (86%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/profile/IGetProfileSettingsRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/profile/IProfileCreateRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/profile/ISearchFriendRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/profile/ISearchFriendResponse.d.ts (100%) create mode 100644 TypeScript/22CustomSptCommand/types/models/eft/profile/ISptProfile.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/profile/IValidateNicknameRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/quests/IAcceptQuestRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/quests/ICompleteQuestRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/quests/IFailQuestRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/quests/IHandoverQuestRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/quests/IListQuestsRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ragfair/IAddOfferRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ragfair/IExtendOfferRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ragfair/IGetItemPriceResult.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ragfair/IGetOffersResult.d.ts (68%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ragfair/IGetRagfairOfferByIdRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ragfair/IRagfairOffer.d.ts (88%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ragfair/ISearchRequestData.d.ts (92%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/repair/IRepairActionDataRequest.d.ts (69%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts (69%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts (81%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/trade/IProcessSellTradeRequestData.d.ts (72%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts (63%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/weather/IWeatherData.d.ts (77%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/wishlist/IWishlistActionData.d.ts (100%) create mode 100644 TypeScript/22CustomSptCommand/types/models/eft/ws/IWsAid.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ws/IWsAidNickname.d.ts (55%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ws/IWsChatMessageReceived.d.ts (58%) create mode 100644 TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupId.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts (64%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts (58%) create mode 100644 TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts (53%) create mode 100644 TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts create mode 100644 TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ws/IWsNotificationEvent.d.ts (100%) create mode 100644 TypeScript/22CustomSptCommand/types/models/eft/ws/IWsPing.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ws/IWsRagfairOfferSold.d.ts (61%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/eft/ws/IWsUserConfirmed.d.ts (60%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/AccountTypes.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/AirdropType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/AmmoTypes.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/BackendErrorCodes.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/BaseClasses.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/BonusSkillType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/BonusType.d.ts (100%) create mode 100644 TypeScript/22CustomSptCommand/types/models/enums/ConfigTypes.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/ContainerTypes.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/DateTime.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/ELocationName.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/EquipmentBuildType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/EquipmentSlots.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/ExitStatis.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/GiftSenderType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/GiftSentResult.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/HideoutAreas.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/HideoutEventActions.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/ItemAddedResult.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/ItemEventActions.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/MemberCategory.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/MessageType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/ModSpawn.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/Money.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/NotificationEventType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/PlayerRaidEndState.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/PlayersSpawnPlace.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/ProfileStatus.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/QuestRewardType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/QuestStatus.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/QuestTypeEnum.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/RagfairSort.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/RaidMode.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/RaidSettings/BotAmount.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/RaidSettings/BotDifficulty.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/RaidSettings/TimeAndWeather/CloudinessType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/RaidSettings/TimeAndWeather/FogType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/RaidSettings/TimeAndWeather/RainType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/RaidSettings/TimeAndWeather/TimeFlowType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/RaidSettings/TimeAndWeather/WindSpeed.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/Season.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/SeasonalEventType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/SideType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/SkillTypes.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/TraderServiceType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/Traders.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/WeaponSkillTypes.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/WeaponTypes.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/WeatherType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/WildSpawnTypeNumber.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/WindDirection.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/hideout/QteActivityType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/hideout/QteEffectType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/hideout/QteResultType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/hideout/QteRewardType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/hideout/QteType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/enums/hideout/RequirementType.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/external/HttpFramework.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/external/IPostDBLoadMod.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/external/IPostDBLoadModAsync.d.ts (100%) create mode 100644 TypeScript/22CustomSptCommand/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/22CustomSptCommand/types/models/external/IPostSptLoadModAsync.d.ts create mode 100644 TypeScript/22CustomSptCommand/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/22CustomSptCommand/types/models/external/IPreSptLoadModAsync.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/external/tsyringe.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/bindings/Route.d.ts (66%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/bots/BotGenerationDetails.d.ts (94%) create mode 100644 TypeScript/22CustomSptCommand/types/models/spt/bots/GenerateWeaponResult.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/bots/IBotLootCache.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/bots/IChooseRandomCompatibleModResult.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/bots/IItemSpawnLimitSettings.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/IBotCallbacks.d.ts (50%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/IBundleCallbacks.d.ts (100%) create mode 100644 TypeScript/22CustomSptCommand/types/models/spt/callbacks/ICustomizationCallbacks.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/IDataCallbacks.d.ts (69%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/IDialogueCallbacks.d.ts (50%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/IGameCallbacks.d.ts (61%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/IHandbookCallbacks.d.ts (100%) create mode 100644 TypeScript/22CustomSptCommand/types/models/spt/callbacks/IHealthCallbacks.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/IHideoutCallbacks.d.ts (53%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/IHttpCallbacks.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/IInraidCallbacks.d.ts (51%) create mode 100644 TypeScript/22CustomSptCommand/types/models/spt/callbacks/IInsuranceCallbacks.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/IInventoryCallbacks.d.ts (50%) create mode 100644 TypeScript/22CustomSptCommand/types/models/spt/callbacks/IItemEventCallbacks.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/ILauncherCallbacks.d.ts (68%) create mode 100644 TypeScript/22CustomSptCommand/types/models/spt/callbacks/ILocationCallbacks.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/IModCallbacks.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/INoteCallbacks.d.ts (58%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/INotifierCallbacks.d.ts (70%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts (59%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/IPresetCallbacks.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/IProfileCallbacks.d.ts (55%) create mode 100644 TypeScript/22CustomSptCommand/types/models/spt/callbacks/IQuestCallbacks.d.ts create mode 100644 TypeScript/22CustomSptCommand/types/models/spt/callbacks/IRagfairCallbacks.d.ts create mode 100644 TypeScript/22CustomSptCommand/types/models/spt/callbacks/IRepairCallbacks.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/ISaveCallbacks.d.ts (100%) create mode 100644 TypeScript/22CustomSptCommand/types/models/spt/callbacks/ITradeCallbacks.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/ITraderCallbacks.d.ts (60%) create mode 100644 TypeScript/22CustomSptCommand/types/models/spt/callbacks/IWeatherCallbacks.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/callbacks/IWishlistCallbacks.d.ts (51%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IAirdropConfig.d.ts (91%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IBTRConfig.d.ts (84%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IBaseConfig.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IBotConfig.d.ts (96%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IBotDurability.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/ICoreConfig.d.ts (95%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IGiftsConfig.d.ts (69%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IHealthConfig.d.ts (73%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IHideoutConfig.d.ts (83%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IHttpConfig.d.ts (60%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IInRaidConfig.d.ts (93%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IInsuranceConfig.d.ts (88%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IInventoryConfig.d.ts (87%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IItemConfig.d.ts (78%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/ILocaleConfig.d.ts (81%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/ILocationConfig.d.ts (95%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/ILootConfig.d.ts (65%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/ILostOnDeathConfig.d.ts (88%) create mode 100644 TypeScript/22CustomSptCommand/types/models/spt/config/IMatchConfig.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IPlayerScavConfig.d.ts (78%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IPmChatResponse.d.ts (78%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IPmcConfig.d.ts (92%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IQuestConfig.d.ts (92%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IRagfairConfig.d.ts (97%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IRepairConfig.d.ts (90%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IScavCaseConfig.d.ts (84%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/ISeasonalEventConfig.d.ts (72%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/ITraderConfig.d.ts (90%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/config/IWeatherConfig.d.ts (72%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/controllers/IBotController.d.ts (55%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/dialog/ISendMessageDetails.d.ts (87%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/fence/ICreateFenceAssortsResult.d.ts (55%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/fence/IFenceAssortGenerationValues.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/generators/IBotGenerator.d.ts (50%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/generators/ILocationGenerator.d.ts (75%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/generators/IPMCLootGenerator.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/generators/IRagfairAssortGenerator.d.ts (53%) create mode 100644 TypeScript/22CustomSptCommand/types/models/spt/generators/IRagfairOfferGenerator.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/location/IRaidChanges.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/logging/IClientLogRequest.d.ts (71%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/logging/LogBackgroundColor.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/logging/LogLevel.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/logging/LogTextColor.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/logging/SptLogger.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/mod/IModLoader.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/mod/IPackageJsonData.d.ts (95%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/mod/NewItemDetails.d.ts (93%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/ragfair/IRagfairServerPrices.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/repeatable/IQuestTypePool.d.ts (92%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/server/ExhaustableArray.d.ts (78%) create mode 100644 TypeScript/22CustomSptCommand/types/models/spt/server/IDatabaseTables.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/server/ILocaleBase.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/server/ILocations.d.ts (80%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/server/IServerBase.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/server/ISettingsBase.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/services/CustomPreset.d.ts (53%) create mode 100644 TypeScript/22CustomSptCommand/types/models/spt/services/CustomTraderAssortData.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/services/IInsuranceEquipmentPkg.d.ts (52%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/services/ITraderServiceModel.d.ts (84%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/services/LootItem.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/services/LootRequest.d.ts (87%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/utils/IAsyncQueue.d.ts (55%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/utils/ICommand.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/models/spt/utils/ILogger.d.ts (68%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/EventOutputHolder.d.ts (82%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/HttpRouter.d.ts (90%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/ImageRouter.d.ts (73%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/ItemEventRouter.d.ts (55%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/dynamic/BotDynamicRouter.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/dynamic/BundleDynamicRouter.d.ts (57%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/dynamic/CustomizationDynamicRouter.d.ts (59%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/dynamic/DataDynamicRouter.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/dynamic/HttpDynamicRouter.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/dynamic/InraidDynamicRouter.d.ts (61%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/dynamic/LocationDynamicRouter.d.ts (62%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/dynamic/NotifierDynamicRouter.d.ts (58%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/dynamic/TraderDynamicRouter.d.ts (57%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/item_events/CustomizationItemEventRouter.d.ts (53%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/item_events/HealthItemEventRouter.d.ts (52%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/item_events/HideoutItemEventRouter.d.ts (54%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/item_events/InsuranceItemEventRouter.d.ts (52%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/item_events/InventoryItemEventRouter.d.ts (55%) create mode 100644 TypeScript/22CustomSptCommand/types/routers/item_events/NoteItemEventRouter.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/item_events/QuestItemEventRouter.d.ts (51%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/item_events/RagfairItemEventRouter.d.ts (52%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/item_events/RepairItemEventRouter.d.ts (52%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/item_events/TradeItemEventRouter.d.ts (51%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/item_events/WishlistItemEventRouter.d.ts (52%) create mode 100644 TypeScript/22CustomSptCommand/types/routers/save_load/HealthSaveLoadRouter.d.ts create mode 100644 TypeScript/22CustomSptCommand/types/routers/save_load/InraidSaveLoadRouter.d.ts create mode 100644 TypeScript/22CustomSptCommand/types/routers/save_load/InsuranceSaveLoadRouter.d.ts create mode 100644 TypeScript/22CustomSptCommand/types/routers/save_load/ProfileSaveLoadRouter.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/serializers/BundleSerializer.d.ts (67%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/serializers/ImageSerializer.d.ts (76%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/serializers/NotifySerializer.d.ts (67%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/AchievementStaticRouter.d.ts (59%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/BotStaticRouter.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/BuildStaticRouter.d.ts (57%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/BundleStaticRouter.d.ts (57%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/ClientLogStaticRouter.d.ts (58%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/CustomizationStaticRouter.d.ts (59%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/DataStaticRouter.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/DialogStaticRouter.d.ts (57%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/GameStaticRouter.d.ts (56%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/HealthStaticRouter.d.ts (57%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/InraidStaticRouter.d.ts (57%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/InsuranceStaticRouter.d.ts (58%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/ItemEventStaticRouter.d.ts (58%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/LauncherStaticRouter.d.ts (58%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/LocationStaticRouter.d.ts (58%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/MatchStaticRouter.d.ts (57%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/NotifierStaticRouter.d.ts (58%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/ProfileStaticRouter.d.ts (57%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/QuestStaticRouter.d.ts (57%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/RagfairStaticRouter.d.ts (57%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/TraderStaticRouter.d.ts (57%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/routers/static/WeatherStaticRouter.d.ts (57%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/servers/ConfigServer.d.ts (65%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/servers/DatabaseServer.d.ts (67%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/servers/HttpServer.d.ts (68%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/servers/RagfairServer.d.ts (63%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/servers/SaveServer.d.ts (80%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/servers/WebSocketServer.d.ts (75%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/servers/http/HttpMethods.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/servers/http/IHttpListener.d.ts (100%) create mode 100644 TypeScript/22CustomSptCommand/types/servers/http/SptHttpListener.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/servers/ws/IWebSocketConnectionHandler.d.ts (100%) create mode 100644 TypeScript/22CustomSptCommand/types/servers/ws/SptWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/22CustomSptCommand/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts create mode 100644 TypeScript/22CustomSptCommand/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/BotEquipmentFilterService.d.ts (90%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/BotEquipmentModPoolService.d.ts (80%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/BotGenerationCacheService.d.ts (83%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/BotLootCacheService.d.ts (82%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/BotWeaponModLimitService.d.ts (84%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/CustomLocationWaveService.d.ts (75%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/FenceService.d.ts (91%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/GiftService.d.ts (65%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/InsuranceService.d.ts (81%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/ItemBaseClassService.d.ts (85%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/ItemFilterService.d.ts (85%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/LocaleService.d.ts (87%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/LocalisationService.d.ts (80%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/MailSendService.d.ts (86%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/MatchBotDetailsCacheService.d.ts (81%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/MatchLocationService.d.ts (68%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/ModCompilerService.d.ts (76%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/NotificationService.d.ts (87%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/OpenZoneService.d.ts (68%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/PaymentService.d.ts (77%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/PlayerService.d.ts (60%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/PmcChatResponseService.d.ts (81%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/ProfileActivityService.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/ProfileFixerService.d.ts (81%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/ProfileSnapshotService.d.ts (69%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/RagfairCategoriesService.d.ts (70%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/RagfairLinkedItemService.d.ts (85%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/RagfairOfferService.d.ts (75%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/RagfairPriceService.d.ts (80%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/RagfairRequiredItemsService.d.ts (60%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/RagfairTaxService.d.ts (71%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/RaidTimeAdjustmentService.d.ts (75%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/RepairService.d.ts (81%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/SeasonalEventService.d.ts (84%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/TraderAssortService.d.ts (84%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/TraderPurchasePersisterService.d.ts (77%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/TraderServicesService.d.ts (53%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/cache/BundleHashCacheService.d.ts (76%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/cache/ModHashCacheService.d.ts (76%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/mod/CustomItemService.d.ts (87%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts (74%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts (83%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/mod/httpListener/HttpListenerMod.d.ts (88%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/mod/httpListener/HttpListenerModService.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/mod/image/ImageRouteService.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/mod/onLoad/OnLoadMod.d.ts (84%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/mod/onLoad/OnLoadModService.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/mod/onUpdate/OnUpdateMod.d.ts (86%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/mod/onUpdate/OnUpdateModService.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/mod/staticRouter/StaticRouterMod.d.ts (74%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/services/mod/staticRouter/StaticRouterModService.d.ts (84%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/App.d.ts (61%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/AsyncQueue.d.ts (55%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/CompareUtil.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/DatabaseImporter.d.ts (70%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/EncodingUtil.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/HashUtil.d.ts (93%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/HttpFileUtil.d.ts (79%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/HttpResponseUtil.d.ts (71%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/ImporterUtil.d.ts (92%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/JsonUtil.d.ts (95%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/MathUtil.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/ObjectId.d.ts (89%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/RagfairOfferHolder.d.ts (90%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/RandomUtil.d.ts (98%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/TimeUtil.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/VFS.d.ts (97%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/Watermark.d.ts (82%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/cloners/ICloner.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/cloners/JsonCloner.d.ts (55%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/cloners/RecursiveCloner.d.ts (64%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/cloners/StructuredCloner.d.ts (57%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/collections/lists/LinkedList.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/collections/lists/Nodes.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/collections/queue/Queue.d.ts (100%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/logging/AbstractWinstonLogger.d.ts (84%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/logging/WinstonMainLogger.d.ts (69%) rename TypeScript/{22CustomAkiCommand => 22CustomSptCommand}/types/utils/logging/WinstonRequestLogger.d.ts (71%) create mode 100644 TypeScript/23CustomAbstractChatBot/types/callbacks/AchievementCallbacks.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/callbacks/BuildsCallbacks.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/callbacks/PresetBuildCallbacks.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/controllers/AchievementController.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/controllers/BuildController.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/controllers/PresetBuildController.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/generators/IFilterPlateModsForSlotByLevelResult.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/generators/RepeatableQuestRewardGenerator.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts rename TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/{ => GiveCommand}/SavedCommand.d.ts (100%) delete mode 100644 TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/GiveSptCommand.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/ide/BleedingEdgeModsEntry.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/loaders/PreSptModLoader.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/builds/ISetMagazineRequest.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/common/request/IUIDRequestData.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IAchievement.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ILootBase.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IAddUserGroupMailRequest.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IChangeGroupMailOwnerRequest.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/ICreateGroupMailRequest.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IRemoveUserGroupMailRequest.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/game/IGameModeRequestData.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/game/IGameModeResponse.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/game/IReportNicknameRequestData.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/game/ISendReportRequest.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/inRaid/IItemDeliveryRequestData.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemDirectRequest.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemsDirectRequest.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/ISetFavoriteItems.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IAcceptGroupInviteRequest.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IAcceptGroupInviteResponse.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/ICancelGroupInviteRequest.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/ICreateGroupRequestData.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGetGroupStatusResponse.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGetProfileRequestData.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGroupCharacter.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IJoinMatchRequestData.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IJoinMatchResult.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupCurrentResponse.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupInviteSendRequest.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupPlayerRemoveRequest.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupStartGameRequest.d.ts rename TypeScript/23CustomAbstractChatBot/types/models/eft/match/{IGetGroupStatusRequestData.d.ts => IMatchGroupStatusRequest.d.ts} (54%) create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupStatusResponse.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupTransferRequest.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IProfileStatusRequest.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IProfileStatusResponse.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IRaidSettings.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IRemovePlayerFromGroupRequest.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IRequestIdRequest.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/ISendGroupInviteRequest.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/IServer.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/ISessionStatus.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/match/ITransferGroupRequest.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/notifier/ISelectProfileRequestData.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/profile/ICompletedAchievementsResponse.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IGetAchievementsResponse.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IGetOtherProfileRequest.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IGetOtherProfileResponse.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/profile/ISptProfile.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsAid.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsAidNickname.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsChatMessageReceived.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupId.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsNotificationEvent.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsPing.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsRagfairOfferSold.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsUserConfirmed.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/BonusSkillType.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/BonusType.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/DateTime.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/ModSpawn.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/NotificationEventType.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/PlayersSpawnPlace.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/ProfileStatus.d.ts rename TypeScript/23CustomAbstractChatBot/types/models/enums/{ => RaidSettings}/BotAmount.d.ts (85%) rename TypeScript/23CustomAbstractChatBot/types/models/enums/{ => RaidSettings}/BotDifficulty.d.ts (100%) create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/CloudinessType.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/FogType.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/RainType.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/TimeFlowType.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/WindSpeed.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/Season.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/SideType.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/TraderServiceType.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteActivityType.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteEffectType.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteResultType.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteRewardType.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteType.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/RequirementType.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/external/IPreSptLoadModAsync.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/spt/bots/IChooseRandomCompatibleModResult.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/spt/bots/IItemSpawnLimitSettings.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBTRConfig.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/spt/fence/ICreateFenceAssortsResult.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/spt/fence/IFenceAssortGenerationValues.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/spt/server/ExhaustableArray.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/spt/services/IInsuranceEquipmentPkg.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/models/spt/services/ITraderServiceModel.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/models/spt/utils/IUuidGenerator.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/routers/item_events/PresetBuildItemEventRouter.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/routers/static/AchievementStaticRouter.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/routers/static/BuildStaticRouter.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/routers/static/PresetStaticRouter.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/servers/http/SptHttpListener.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/servers/ws/IWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/servers/ws/SptWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/services/HashCacheService.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/services/ProfileActivityService.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/services/TraderServicesService.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/services/cache/BundleHashCacheService.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/services/cache/ModHashCacheService.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/utils/CompareUtil.d.ts delete mode 100644 TypeScript/23CustomAbstractChatBot/types/utils/UUidGenerator.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/utils/cloners/ICloner.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/utils/cloners/JsonCloner.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/utils/cloners/RecursiveCloner.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/utils/cloners/StructuredCloner.d.ts create mode 100644 TypeScript/23CustomAbstractChatBot/types/utils/collections/lists/Nodes.d.ts rename TypeScript/24WebSocket/src/{CustomAkiWebSocketMessageHandler.ts => CustomSptWebSocketMessageHandler.ts} (50%) delete mode 100644 TypeScript/24WebSocket/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/24WebSocket/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/24WebSocket/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/24WebSocket/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/24WebSocket/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/24WebSocket/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/24WebSocket/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/24WebSocket/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/24WebSocket/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/24WebSocket/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/24WebSocket/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/24WebSocket/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/24WebSocket/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/24WebSocket/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/24WebSocket/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/24WebSocket/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/24WebSocket/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/24WebSocket/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/24WebSocket/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/24WebSocket/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/24WebSocket/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/24WebSocket/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/2EditDatabase/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/2EditDatabase/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/2EditDatabase/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/2EditDatabase/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/2EditDatabase/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/2EditDatabase/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/2EditDatabase/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/2EditDatabase/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/2EditDatabase/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/2EditDatabase/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/2EditDatabase/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/2EditDatabase/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/2EditDatabase/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/2EditDatabase/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/2EditDatabase/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/2EditDatabase/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/2EditDatabase/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/2EditDatabase/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/2EditDatabase/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/2EditDatabase/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/2EditDatabase/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/2EditDatabase/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/3GetSptConfigFile/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/3GetSptConfigFile/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/3GetSptConfigFile/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/3GetSptConfigFile/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/3GetSptConfigFile/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/3GetSptConfigFile/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/3GetSptConfigFile/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/3GetSptConfigFile/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/3GetSptConfigFile/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/3GetSptConfigFile/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/3GetSptConfigFile/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/3GetSptConfigFile/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/3GetSptConfigFile/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/3GetSptConfigFile/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/3GetSptConfigFile/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/3GetSptConfigFile/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/3GetSptConfigFile/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/3GetSptConfigFile/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/3GetSptConfigFile/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/3GetSptConfigFile/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/3GetSptConfigFile/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/3GetSptConfigFile/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/4UseACustomConfigFile/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/4UseACustomConfigFile/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/4UseACustomConfigFile/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/4UseACustomConfigFile/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/4UseACustomConfigFile/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/4UseACustomConfigFile/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/4UseACustomConfigFile/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/4UseACustomConfigFile/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/4UseACustomConfigFile/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/4UseACustomConfigFile/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/4UseACustomConfigFile/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/4UseACustomConfigFile/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/4UseACustomConfigFile/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/4UseACustomConfigFile/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/4UseACustomConfigFile/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/4UseACustomConfigFile/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/4UseACustomConfigFile/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/4UseACustomConfigFile/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/4UseACustomConfigFile/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/4UseACustomConfigFile/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/4UseACustomConfigFile/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/4UseACustomConfigFile/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/5ReplaceMethod/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/5ReplaceMethod/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/5ReplaceMethod/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/5ReplaceMethod/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/5ReplaceMethod/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/5ReplaceMethod/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/5ReplaceMethod/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/5ReplaceMethod/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/5ReplaceMethod/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/5ReplaceMethod/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/5ReplaceMethod/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/5ReplaceMethod/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/5ReplaceMethod/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/5ReplaceMethod/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/5ReplaceMethod/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/5ReplaceMethod/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/5ReplaceMethod/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/5ReplaceMethod/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/5ReplaceMethod/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/5ReplaceMethod/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/5ReplaceMethod/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/5ReplaceMethod/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/6ReferenceAnotherClass/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/6ReferenceAnotherClass/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/6ReferenceAnotherClass/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/6ReferenceAnotherClass/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/6ReferenceAnotherClass/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/6ReferenceAnotherClass/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/6ReferenceAnotherClass/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/6ReferenceAnotherClass/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/6ReferenceAnotherClass/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/6ReferenceAnotherClass/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/6ReferenceAnotherClass/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/6ReferenceAnotherClass/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/6ReferenceAnotherClass/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/6ReferenceAnotherClass/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/6ReferenceAnotherClass/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/6ReferenceAnotherClass/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/6ReferenceAnotherClass/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/6ReferenceAnotherClass/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/6ReferenceAnotherClass/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/6ReferenceAnotherClass/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/6ReferenceAnotherClass/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/6ReferenceAnotherClass/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/7OnLoadHook/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/7OnLoadHook/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/7OnLoadHook/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/7OnLoadHook/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/7OnLoadHook/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/7OnLoadHook/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/7OnLoadHook/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/7OnLoadHook/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/7OnLoadHook/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/7OnLoadHook/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/7OnLoadHook/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/7OnLoadHook/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/7OnLoadHook/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/7OnLoadHook/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/7OnLoadHook/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/7OnLoadHook/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/7OnLoadHook/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/7OnLoadHook/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/7OnLoadHook/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/7OnLoadHook/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/7OnLoadHook/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/7OnLoadHook/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/8OnUpdateHook/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/8OnUpdateHook/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/8OnUpdateHook/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/8OnUpdateHook/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/8OnUpdateHook/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/8OnUpdateHook/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/8OnUpdateHook/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/8OnUpdateHook/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/8OnUpdateHook/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/8OnUpdateHook/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/8OnUpdateHook/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/8OnUpdateHook/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/8OnUpdateHook/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/8OnUpdateHook/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/8OnUpdateHook/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/8OnUpdateHook/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/8OnUpdateHook/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/8OnUpdateHook/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/8OnUpdateHook/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/8OnUpdateHook/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/8OnUpdateHook/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/8OnUpdateHook/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/9RouterHooks/types/loaders/PostAkiModLoader.d.ts create mode 100644 TypeScript/9RouterHooks/types/loaders/PostSptModLoader.d.ts delete mode 100644 TypeScript/9RouterHooks/types/loaders/PreAkiModLoader.d.ts create mode 100644 TypeScript/9RouterHooks/types/loaders/PreSptModLoader.d.ts delete mode 100644 TypeScript/9RouterHooks/types/models/eft/profile/IAkiProfile.d.ts create mode 100644 TypeScript/9RouterHooks/types/models/eft/profile/ISptProfile.d.ts delete mode 100644 TypeScript/9RouterHooks/types/models/external/IPostAkiLoadMod.d.ts delete mode 100644 TypeScript/9RouterHooks/types/models/external/IPostAkiLoadModAsync.d.ts create mode 100644 TypeScript/9RouterHooks/types/models/external/IPostSptLoadMod.d.ts create mode 100644 TypeScript/9RouterHooks/types/models/external/IPostSptLoadModAsync.d.ts delete mode 100644 TypeScript/9RouterHooks/types/models/external/IPreAkiLoadMod.d.ts delete mode 100644 TypeScript/9RouterHooks/types/models/external/IPreAkiLoadModAsync.d.ts create mode 100644 TypeScript/9RouterHooks/types/models/external/IPreSptLoadMod.d.ts create mode 100644 TypeScript/9RouterHooks/types/models/external/IPreSptLoadModAsync.d.ts delete mode 100644 TypeScript/9RouterHooks/types/servers/http/AkiHttpListener.d.ts create mode 100644 TypeScript/9RouterHooks/types/servers/http/SptHttpListener.d.ts delete mode 100644 TypeScript/9RouterHooks/types/servers/ws/AkiWebSocketConnectionHandler.d.ts create mode 100644 TypeScript/9RouterHooks/types/servers/ws/SptWebSocketConnectionHandler.d.ts delete mode 100644 TypeScript/9RouterHooks/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/9RouterHooks/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts delete mode 100644 TypeScript/9RouterHooks/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts create mode 100644 TypeScript/9RouterHooks/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts diff --git a/TypeScript/10ScopesAndTypes/README.md b/TypeScript/10ScopesAndTypes/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/10ScopesAndTypes/README.md +++ b/TypeScript/10ScopesAndTypes/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/10ScopesAndTypes/package.json b/TypeScript/10ScopesAndTypes/package.json index 0ac1124..b82f6a5 100644 --- a/TypeScript/10ScopesAndTypes/package.json +++ b/TypeScript/10ScopesAndTypes/package.json @@ -1,7 +1,7 @@ { "name": "ScopesAndTypes", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/10ScopesAndTypes/src/MyMod.ts b/TypeScript/10ScopesAndTypes/src/MyMod.ts index 1d61892..3a96ee8 100644 --- a/TypeScript/10ScopesAndTypes/src/MyMod.ts +++ b/TypeScript/10ScopesAndTypes/src/MyMod.ts @@ -1,6 +1,6 @@ import { inject, injectable } from "tsyringe"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; import { Processing } from "./Processing"; @injectable() diff --git a/TypeScript/10ScopesAndTypes/src/Processing.ts b/TypeScript/10ScopesAndTypes/src/Processing.ts index 02a761c..d42036d 100644 --- a/TypeScript/10ScopesAndTypes/src/Processing.ts +++ b/TypeScript/10ScopesAndTypes/src/Processing.ts @@ -1,6 +1,6 @@ import { inject, injectable } from "tsyringe"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; @injectable() export class Processing diff --git a/TypeScript/10ScopesAndTypes/src/mod.ts b/TypeScript/10ScopesAndTypes/src/mod.ts index 36c9954..e035ed3 100644 --- a/TypeScript/10ScopesAndTypes/src/mod.ts +++ b/TypeScript/10ScopesAndTypes/src/mod.ts @@ -1,15 +1,15 @@ import { DependencyContainer, Lifecycle } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; import { MyMod } from "./MyMod"; import { Processing } from "./Processing"; -class Mod implements IPreAkiLoadMod, IPostAkiLoadMod +class Mod implements IPreSptLoadMod, IPostSptLoadMod { // Perform these actions before server fully loads - public preAkiLoad(container: DependencyContainer): void { + public preSptLoad(container: DependencyContainer): void { // This class is registered as a singleton. This means ONE and only ONE bean // of this class will ever exist. container.register("MyMod", MyMod, {lifecycle: Lifecycle.Singleton}); @@ -19,7 +19,7 @@ class Mod implements IPreAkiLoadMod, IPostAkiLoadMod container.register("Processing", Processing); } - public postAkiLoad(container: DependencyContainer): void + public postSptLoad(container: DependencyContainer): void { // We will run this in a quick 5 loop to show how singletons and transients work for (let i = 0; i < 5; i++) diff --git a/TypeScript/10ScopesAndTypes/tsconfig.json b/TypeScript/10ScopesAndTypes/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/10ScopesAndTypes/tsconfig.json +++ b/TypeScript/10ScopesAndTypes/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/BotCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/BundleCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/DataCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/GameCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/HealthCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/HttpCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/InraidCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/LocationCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/MatchCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/ModCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/NoteCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/PresetCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/QuestCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/RepairCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/SaveCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/TradeCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/TraderCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/10ScopesAndTypes/types/context/ApplicationContext.d.ts b/TypeScript/10ScopesAndTypes/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/10ScopesAndTypes/types/context/ApplicationContext.d.ts +++ b/TypeScript/10ScopesAndTypes/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/10ScopesAndTypes/types/context/ContextVariable.d.ts b/TypeScript/10ScopesAndTypes/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/10ScopesAndTypes/types/context/ContextVariable.d.ts +++ b/TypeScript/10ScopesAndTypes/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/AchievementController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/AchievementController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/10ScopesAndTypes/types/controllers/BotController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/BotController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/BuildController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/BuildController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/10ScopesAndTypes/types/controllers/ClientLogController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/ClientLogController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/10ScopesAndTypes/types/controllers/CustomizationController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/CustomizationController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/DialogueController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/DialogueController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/10ScopesAndTypes/types/controllers/GameController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/GameController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/10ScopesAndTypes/types/controllers/HandbookController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/HandbookController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/HealthController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/HealthController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/HideoutController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/HideoutController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/InraidController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/InraidController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/10ScopesAndTypes/types/controllers/InsuranceController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/InsuranceController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/InventoryController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/InventoryController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/10ScopesAndTypes/types/controllers/LauncherController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/LauncherController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/10ScopesAndTypes/types/controllers/LocationController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/LocationController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/MatchController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/MatchController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/NoteController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/NoteController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/10ScopesAndTypes/types/controllers/NotifierController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/NotifierController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/PresetController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/PresetController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/ProfileController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/ProfileController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/10ScopesAndTypes/types/controllers/QuestController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/QuestController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/RagfairController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/RagfairController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/10ScopesAndTypes/types/controllers/RepairController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/RepairController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/RepeatableQuestController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/TradeController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/TradeController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/TraderController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/TraderController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/WeatherController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/WeatherController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/WishlistController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/WishlistController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/10ScopesAndTypes/types/di/Router.d.ts b/TypeScript/10ScopesAndTypes/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/10ScopesAndTypes/types/di/Router.d.ts +++ b/TypeScript/10ScopesAndTypes/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/10ScopesAndTypes/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/10ScopesAndTypes/types/generators/BotGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/BotGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/generators/BotInventoryGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/generators/BotLevelGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/10ScopesAndTypes/types/generators/BotLootGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/generators/BotWeaponGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/10ScopesAndTypes/types/generators/LocationGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/LocationGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/10ScopesAndTypes/types/generators/LootGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/LootGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/10ScopesAndTypes/types/generators/PMCLootGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/10ScopesAndTypes/types/generators/PlayerScavGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/10ScopesAndTypes/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/10ScopesAndTypes/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/10ScopesAndTypes/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/10ScopesAndTypes/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/10ScopesAndTypes/types/generators/WeatherGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/10ScopesAndTypes/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/10ScopesAndTypes/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/10ScopesAndTypes/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/10ScopesAndTypes/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/10ScopesAndTypes/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/10ScopesAndTypes/types/helpers/AssortHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/AssortHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/BotHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/BotHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/DialogueHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/GameEventHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/HandbookHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/10ScopesAndTypes/types/helpers/HealthHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/HealthHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/10ScopesAndTypes/types/helpers/HideoutHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/HttpServerHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/InRaidHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/InventoryHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/ItemHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/ItemHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/NotificationSendHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/10ScopesAndTypes/types/helpers/NotifierHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/10ScopesAndTypes/types/helpers/PaymentHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/PresetHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/PresetHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/ProbabilityHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/ProfileHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/10ScopesAndTypes/types/helpers/QuestConditionHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/QuestHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/QuestHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/10ScopesAndTypes/types/helpers/RagfairHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/10ScopesAndTypes/types/helpers/RagfairSellHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/RagfairServerHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/10ScopesAndTypes/types/helpers/RagfairSortHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/RepairHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/RepairHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/SecureContainerHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/TradeHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/TradeHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/TraderAssortHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/TraderHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/TraderHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/10ScopesAndTypes/types/loaders/BundleLoader.d.ts b/TypeScript/10ScopesAndTypes/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/10ScopesAndTypes/types/loaders/BundleLoader.d.ts +++ b/TypeScript/10ScopesAndTypes/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/10ScopesAndTypes/types/loaders/ModLoadOrder.d.ts b/TypeScript/10ScopesAndTypes/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/10ScopesAndTypes/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/10ScopesAndTypes/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/10ScopesAndTypes/types/loaders/ModTypeCheck.d.ts b/TypeScript/10ScopesAndTypes/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/10ScopesAndTypes/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/10ScopesAndTypes/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/10ScopesAndTypes/types/loaders/PostAkiModLoader.d.ts b/TypeScript/10ScopesAndTypes/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/10ScopesAndTypes/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/10ScopesAndTypes/types/loaders/PostDBModLoader.d.ts b/TypeScript/10ScopesAndTypes/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/10ScopesAndTypes/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/10ScopesAndTypes/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/10ScopesAndTypes/types/loaders/PostSptModLoader.d.ts b/TypeScript/10ScopesAndTypes/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/10ScopesAndTypes/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/11BundleLoadingSample/types/loaders/PreAkiModLoader.d.ts b/TypeScript/10ScopesAndTypes/types/loaders/PreSptModLoader.d.ts similarity index 78% rename from TypeScript/11BundleLoadingSample/types/loaders/PreAkiModLoader.d.ts rename to TypeScript/10ScopesAndTypes/types/loaders/PreSptModLoader.d.ts index 0d297d9..bc846c8 100644 --- a/TypeScript/11BundleLoadingSample/types/loaders/PreAkiModLoader.d.ts +++ b/TypeScript/10ScopesAndTypes/types/loaders/PreSptModLoader.d.ts @@ -1,17 +1,17 @@ import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { protected logger: ILogger; protected vfs: VFS; protected jsonUtil: JsonUtil; @@ -25,7 +25,7 @@ export declare class PreAkiModLoader implements IModLoader { protected readonly modOrderPath = "user/mods/order.json"; protected order: Record; protected imported: Record; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected serverDependencies: Record; protected skippedMods: Set; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); @@ -60,10 +60,10 @@ export declare class PreAkiModLoader implements IModLoader { protected getModsPackageData(mods: string[]): Map; /** * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI + * @param mod Mod to check compatibiltiy with SPT * @returns True if compatible */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; /** * Execute each mod found in this.imported * @returns void promise diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/common/IGlobals.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/common/ILocation.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/common/ILocationBase.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/common/IPmcData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/hideout/IQteData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/profile/ISptProfile.d.ts similarity index 91% rename from TypeScript/12ClassExtensionOverride/types/models/eft/profile/IAkiProfile.d.ts rename to TypeScript/10ScopesAndTypes/types/models/eft/profile/ISptProfile.d.ts index a6d06bb..f6e6379 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/profile/IAkiProfile.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/profile/ISptProfile.d.ts @@ -1,17 +1,17 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { info: Info; characters: Characters; /** Clothing purchases */ suits: string[]; userbuilds: IUserBuilds; dialogues: Record; - aki: Aki; + spt: Spt; vitality: Vitality; inraid: Inraid; insurance: Insurance[]; @@ -159,7 +159,7 @@ export interface DateTime { date: string; time: string; } -export interface Aki { +export interface Spt { version: string; mods?: ModDetails[]; receivedGifts: ReceivedGift[]; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsAid.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsPing.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/enums/ConfigTypes.d.ts b/TypeScript/10ScopesAndTypes/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/10ScopesAndTypes/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/10ScopesAndTypes/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/10ScopesAndTypes/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/10ScopesAndTypes/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/10ScopesAndTypes/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/10ScopesAndTypes/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/10ScopesAndTypes/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/10ScopesAndTypes/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/10ScopesAndTypes/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/10ScopesAndTypes/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/10ScopesAndTypes/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/10ScopesAndTypes/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/10ScopesAndTypes/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/10ScopesAndTypes/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/10ScopesAndTypes/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/10ScopesAndTypes/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/10ScopesAndTypes/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/10ScopesAndTypes/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/10ScopesAndTypes/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/10ScopesAndTypes/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/10ScopesAndTypes/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/10ScopesAndTypes/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/10ScopesAndTypes/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/10ScopesAndTypes/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/10ScopesAndTypes/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/bindings/Route.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IBotConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IItemConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/ILootConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/controllers/IBotController.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/10ScopesAndTypes/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/server/ILocations.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/services/CustomPreset.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/services/LootRequest.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/utils/ILogger.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/10ScopesAndTypes/types/routers/EventOutputHolder.d.ts b/TypeScript/10ScopesAndTypes/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/10ScopesAndTypes/types/routers/HttpRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/HttpRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/10ScopesAndTypes/types/routers/ImageRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/ImageRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/10ScopesAndTypes/types/routers/ItemEventRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/10ScopesAndTypes/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/10ScopesAndTypes/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/10ScopesAndTypes/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/10ScopesAndTypes/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/10ScopesAndTypes/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/10ScopesAndTypes/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/10ScopesAndTypes/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/10ScopesAndTypes/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/10ScopesAndTypes/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/10ScopesAndTypes/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/10ScopesAndTypes/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/10ScopesAndTypes/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/10ScopesAndTypes/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/BotStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/DataStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/GameStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/10ScopesAndTypes/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/10ScopesAndTypes/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/10ScopesAndTypes/types/servers/ConfigServer.d.ts b/TypeScript/10ScopesAndTypes/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/10ScopesAndTypes/types/servers/ConfigServer.d.ts +++ b/TypeScript/10ScopesAndTypes/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/10ScopesAndTypes/types/servers/DatabaseServer.d.ts b/TypeScript/10ScopesAndTypes/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/10ScopesAndTypes/types/servers/DatabaseServer.d.ts +++ b/TypeScript/10ScopesAndTypes/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/10ScopesAndTypes/types/servers/HttpServer.d.ts b/TypeScript/10ScopesAndTypes/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/10ScopesAndTypes/types/servers/HttpServer.d.ts +++ b/TypeScript/10ScopesAndTypes/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/10ScopesAndTypes/types/servers/RagfairServer.d.ts b/TypeScript/10ScopesAndTypes/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/10ScopesAndTypes/types/servers/RagfairServer.d.ts +++ b/TypeScript/10ScopesAndTypes/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/10ScopesAndTypes/types/servers/SaveServer.d.ts b/TypeScript/10ScopesAndTypes/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/10ScopesAndTypes/types/servers/SaveServer.d.ts +++ b/TypeScript/10ScopesAndTypes/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/10ScopesAndTypes/types/servers/WebSocketServer.d.ts b/TypeScript/10ScopesAndTypes/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/10ScopesAndTypes/types/servers/WebSocketServer.d.ts +++ b/TypeScript/10ScopesAndTypes/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/10ScopesAndTypes/types/servers/http/AkiHttpListener.d.ts b/TypeScript/10ScopesAndTypes/types/servers/http/SptHttpListener.d.ts similarity index 74% rename from TypeScript/10ScopesAndTypes/types/servers/http/AkiHttpListener.d.ts rename to TypeScript/10ScopesAndTypes/types/servers/http/SptHttpListener.d.ts index 4ccdcf6..ef68143 100644 --- a/TypeScript/10ScopesAndTypes/types/servers/http/AkiHttpListener.d.ts +++ b/TypeScript/10ScopesAndTypes/types/servers/http/SptHttpListener.d.ts @@ -1,14 +1,14 @@ /// /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { protected httpRouter: HttpRouter; protected serializers: Serializer[]; protected logger: ILogger; diff --git a/TypeScript/12ClassExtensionOverride/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/10ScopesAndTypes/types/servers/ws/SptWebSocketConnectionHandler.d.ts similarity index 55% rename from TypeScript/12ClassExtensionOverride/types/servers/ws/AkiWebSocketConnectionHandler.d.ts rename to TypeScript/10ScopesAndTypes/types/servers/ws/SptWebSocketConnectionHandler.d.ts index b0b354a..10c8a74 100644 --- a/TypeScript/12ClassExtensionOverride/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ b/TypeScript/10ScopesAndTypes/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -1,27 +1,27 @@ /// import { IncomingMessage } from "http"; import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { protected logger: ILogger; protected profileHelper: ProfileHelper; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; protected httpConfig: IHttpConfig; protected webSockets: Map; protected defaultNotification: IWsNotificationEvent; protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); getSocketId(): string; getHookUrl(): string; onConnection(ws: WebSocket, req: IncomingMessage): void; diff --git a/TypeScript/10ScopesAndTypes/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/10ScopesAndTypes/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/10ScopesAndTypes/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/10ScopesAndTypes/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/10ScopesAndTypes/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/10ScopesAndTypes/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/10ScopesAndTypes/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/10ScopesAndTypes/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/10ScopesAndTypes/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/10ScopesAndTypes/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/10ScopesAndTypes/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/10ScopesAndTypes/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/10ScopesAndTypes/types/services/BotEquipmentFilterService.d.ts b/TypeScript/10ScopesAndTypes/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/10ScopesAndTypes/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/10ScopesAndTypes/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/10ScopesAndTypes/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/10ScopesAndTypes/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/10ScopesAndTypes/types/services/BotGenerationCacheService.d.ts b/TypeScript/10ScopesAndTypes/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/10ScopesAndTypes/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/10ScopesAndTypes/types/services/BotLootCacheService.d.ts b/TypeScript/10ScopesAndTypes/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/10ScopesAndTypes/types/services/BotLootCacheService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/10ScopesAndTypes/types/services/BotWeaponModLimitService.d.ts b/TypeScript/10ScopesAndTypes/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/10ScopesAndTypes/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/10ScopesAndTypes/types/services/CustomLocationWaveService.d.ts b/TypeScript/10ScopesAndTypes/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/10ScopesAndTypes/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/10ScopesAndTypes/types/services/FenceService.d.ts b/TypeScript/10ScopesAndTypes/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/10ScopesAndTypes/types/services/FenceService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/10ScopesAndTypes/types/services/GiftService.d.ts b/TypeScript/10ScopesAndTypes/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/10ScopesAndTypes/types/services/GiftService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/10ScopesAndTypes/types/services/InsuranceService.d.ts b/TypeScript/10ScopesAndTypes/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/10ScopesAndTypes/types/services/InsuranceService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/10ScopesAndTypes/types/services/ItemBaseClassService.d.ts b/TypeScript/10ScopesAndTypes/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/10ScopesAndTypes/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/10ScopesAndTypes/types/services/ItemFilterService.d.ts b/TypeScript/10ScopesAndTypes/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/10ScopesAndTypes/types/services/ItemFilterService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/10ScopesAndTypes/types/services/LocaleService.d.ts b/TypeScript/10ScopesAndTypes/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/10ScopesAndTypes/types/services/LocaleService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/10ScopesAndTypes/types/services/LocalisationService.d.ts b/TypeScript/10ScopesAndTypes/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/10ScopesAndTypes/types/services/LocalisationService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/10ScopesAndTypes/types/services/MailSendService.d.ts b/TypeScript/10ScopesAndTypes/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/10ScopesAndTypes/types/services/MailSendService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/10ScopesAndTypes/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/10ScopesAndTypes/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/10ScopesAndTypes/types/services/MatchLocationService.d.ts b/TypeScript/10ScopesAndTypes/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/10ScopesAndTypes/types/services/MatchLocationService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/10ScopesAndTypes/types/services/ModCompilerService.d.ts b/TypeScript/10ScopesAndTypes/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/10ScopesAndTypes/types/services/ModCompilerService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/10ScopesAndTypes/types/services/NotificationService.d.ts b/TypeScript/10ScopesAndTypes/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/10ScopesAndTypes/types/services/NotificationService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/10ScopesAndTypes/types/services/OpenZoneService.d.ts b/TypeScript/10ScopesAndTypes/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/10ScopesAndTypes/types/services/OpenZoneService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/10ScopesAndTypes/types/services/PaymentService.d.ts b/TypeScript/10ScopesAndTypes/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/10ScopesAndTypes/types/services/PaymentService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/services/PlayerService.d.ts b/TypeScript/10ScopesAndTypes/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/10ScopesAndTypes/types/services/PlayerService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/10ScopesAndTypes/types/services/PmcChatResponseService.d.ts b/TypeScript/10ScopesAndTypes/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/10ScopesAndTypes/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/services/ProfileFixerService.d.ts b/TypeScript/10ScopesAndTypes/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/10ScopesAndTypes/types/services/ProfileFixerService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/10ScopesAndTypes/types/services/ProfileSnapshotService.d.ts b/TypeScript/10ScopesAndTypes/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/10ScopesAndTypes/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/10ScopesAndTypes/types/services/RagfairCategoriesService.d.ts b/TypeScript/10ScopesAndTypes/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/10ScopesAndTypes/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/10ScopesAndTypes/types/services/RagfairLinkedItemService.d.ts b/TypeScript/10ScopesAndTypes/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/10ScopesAndTypes/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/10ScopesAndTypes/types/services/RagfairOfferService.d.ts b/TypeScript/10ScopesAndTypes/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/10ScopesAndTypes/types/services/RagfairOfferService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/10ScopesAndTypes/types/services/RagfairPriceService.d.ts b/TypeScript/10ScopesAndTypes/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/10ScopesAndTypes/types/services/RagfairPriceService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/10ScopesAndTypes/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/10ScopesAndTypes/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/10ScopesAndTypes/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/10ScopesAndTypes/types/services/RagfairTaxService.d.ts b/TypeScript/10ScopesAndTypes/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/10ScopesAndTypes/types/services/RagfairTaxService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/10ScopesAndTypes/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/10ScopesAndTypes/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/10ScopesAndTypes/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/10ScopesAndTypes/types/services/RepairService.d.ts b/TypeScript/10ScopesAndTypes/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/10ScopesAndTypes/types/services/RepairService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/10ScopesAndTypes/types/services/SeasonalEventService.d.ts b/TypeScript/10ScopesAndTypes/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/10ScopesAndTypes/types/services/SeasonalEventService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/10ScopesAndTypes/types/services/TraderAssortService.d.ts b/TypeScript/10ScopesAndTypes/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/10ScopesAndTypes/types/services/TraderAssortService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/10ScopesAndTypes/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/10ScopesAndTypes/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/10ScopesAndTypes/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/10ScopesAndTypes/types/services/TraderServicesService.d.ts b/TypeScript/10ScopesAndTypes/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/10ScopesAndTypes/types/services/TraderServicesService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/10ScopesAndTypes/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/10ScopesAndTypes/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/10ScopesAndTypes/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/services/cache/ModHashCacheService.d.ts b/TypeScript/10ScopesAndTypes/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/10ScopesAndTypes/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/services/mod/CustomItemService.d.ts b/TypeScript/10ScopesAndTypes/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/10ScopesAndTypes/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/10ScopesAndTypes/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/10ScopesAndTypes/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/10ScopesAndTypes/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/10ScopesAndTypes/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/10ScopesAndTypes/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/10ScopesAndTypes/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/10ScopesAndTypes/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/10ScopesAndTypes/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/10ScopesAndTypes/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/10ScopesAndTypes/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/10ScopesAndTypes/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/10ScopesAndTypes/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/10ScopesAndTypes/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/10ScopesAndTypes/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/10ScopesAndTypes/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/10ScopesAndTypes/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/10ScopesAndTypes/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/10ScopesAndTypes/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/10ScopesAndTypes/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/10ScopesAndTypes/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/10ScopesAndTypes/types/utils/App.d.ts b/TypeScript/10ScopesAndTypes/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/App.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/10ScopesAndTypes/types/utils/AsyncQueue.d.ts b/TypeScript/10ScopesAndTypes/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/AsyncQueue.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/10ScopesAndTypes/types/utils/DatabaseImporter.d.ts b/TypeScript/10ScopesAndTypes/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/10ScopesAndTypes/types/utils/HashUtil.d.ts b/TypeScript/10ScopesAndTypes/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/HashUtil.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/10ScopesAndTypes/types/utils/HttpFileUtil.d.ts b/TypeScript/10ScopesAndTypes/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/10ScopesAndTypes/types/utils/HttpResponseUtil.d.ts b/TypeScript/10ScopesAndTypes/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/10ScopesAndTypes/types/utils/ImporterUtil.d.ts b/TypeScript/10ScopesAndTypes/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/ImporterUtil.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/10ScopesAndTypes/types/utils/JsonUtil.d.ts b/TypeScript/10ScopesAndTypes/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/JsonUtil.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/10ScopesAndTypes/types/utils/ObjectId.d.ts b/TypeScript/10ScopesAndTypes/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/ObjectId.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/10ScopesAndTypes/types/utils/RagfairOfferHolder.d.ts b/TypeScript/10ScopesAndTypes/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/10ScopesAndTypes/types/utils/RandomUtil.d.ts b/TypeScript/10ScopesAndTypes/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/RandomUtil.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/10ScopesAndTypes/types/utils/VFS.d.ts b/TypeScript/10ScopesAndTypes/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/VFS.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/10ScopesAndTypes/types/utils/Watermark.d.ts b/TypeScript/10ScopesAndTypes/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/Watermark.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/10ScopesAndTypes/types/utils/cloners/JsonCloner.d.ts b/TypeScript/10ScopesAndTypes/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/10ScopesAndTypes/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/10ScopesAndTypes/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/10ScopesAndTypes/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/10ScopesAndTypes/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/10ScopesAndTypes/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/10ScopesAndTypes/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/10ScopesAndTypes/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/10ScopesAndTypes/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/10ScopesAndTypes/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/10ScopesAndTypes/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/10ScopesAndTypes/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/10ScopesAndTypes/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/11BundleLoadingSample/README.md b/TypeScript/11BundleLoadingSample/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/11BundleLoadingSample/README.md +++ b/TypeScript/11BundleLoadingSample/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/11BundleLoadingSample/package.json b/TypeScript/11BundleLoadingSample/package.json index 0449c5a..c06a66c 100644 --- a/TypeScript/11BundleLoadingSample/package.json +++ b/TypeScript/11BundleLoadingSample/package.json @@ -1,7 +1,7 @@ { "name": "BundleLoading", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/11BundleLoadingSample/src/mod.ts b/TypeScript/11BundleLoadingSample/src/mod.ts index 40d1f9e..eb5ed53 100644 --- a/TypeScript/11BundleLoadingSample/src/mod.ts +++ b/TypeScript/11BundleLoadingSample/src/mod.ts @@ -1,11 +1,11 @@ import { DependencyContainer } from "tsyringe"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; -class Mod implements IPostAkiLoadMod +class Mod implements IPostSptLoadMod { - public postAkiLoad(container: DependencyContainer): void + public postSptLoad(container: DependencyContainer): void { // get the logger from the server container const logger = container.resolve("WinstonLogger"); diff --git a/TypeScript/11BundleLoadingSample/tsconfig.json b/TypeScript/11BundleLoadingSample/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/11BundleLoadingSample/tsconfig.json +++ b/TypeScript/11BundleLoadingSample/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/BotCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/BundleCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/DataCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/GameCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/HealthCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/HttpCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/InraidCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/LocationCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/MatchCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/ModCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/NoteCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/PresetCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/QuestCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/RepairCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/SaveCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/TradeCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/TraderCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/11BundleLoadingSample/types/context/ApplicationContext.d.ts b/TypeScript/11BundleLoadingSample/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/11BundleLoadingSample/types/context/ApplicationContext.d.ts +++ b/TypeScript/11BundleLoadingSample/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/11BundleLoadingSample/types/context/ContextVariable.d.ts b/TypeScript/11BundleLoadingSample/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/11BundleLoadingSample/types/context/ContextVariable.d.ts +++ b/TypeScript/11BundleLoadingSample/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/AchievementController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/AchievementController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/11BundleLoadingSample/types/controllers/BotController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/BotController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/BuildController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/BuildController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/11BundleLoadingSample/types/controllers/ClientLogController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/ClientLogController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/11BundleLoadingSample/types/controllers/CustomizationController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/CustomizationController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/DialogueController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/DialogueController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/11BundleLoadingSample/types/controllers/GameController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/GameController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/11BundleLoadingSample/types/controllers/HandbookController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/HandbookController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/HealthController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/HealthController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/HideoutController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/HideoutController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/InraidController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/InraidController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/11BundleLoadingSample/types/controllers/InsuranceController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/InsuranceController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/InventoryController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/InventoryController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/11BundleLoadingSample/types/controllers/LauncherController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/LauncherController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/11BundleLoadingSample/types/controllers/LocationController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/LocationController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/MatchController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/MatchController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/NoteController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/NoteController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/11BundleLoadingSample/types/controllers/NotifierController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/NotifierController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/PresetController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/PresetController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/ProfileController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/ProfileController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/11BundleLoadingSample/types/controllers/QuestController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/QuestController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/RagfairController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/RagfairController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/11BundleLoadingSample/types/controllers/RepairController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/RepairController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/RepeatableQuestController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/TradeController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/TradeController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/TraderController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/TraderController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/WeatherController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/WeatherController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/WishlistController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/WishlistController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/11BundleLoadingSample/types/di/Router.d.ts b/TypeScript/11BundleLoadingSample/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/11BundleLoadingSample/types/di/Router.d.ts +++ b/TypeScript/11BundleLoadingSample/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/11BundleLoadingSample/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/11BundleLoadingSample/types/generators/BotGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/BotGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/generators/BotInventoryGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/generators/BotLevelGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/11BundleLoadingSample/types/generators/BotLootGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/generators/BotWeaponGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/11BundleLoadingSample/types/generators/LocationGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/LocationGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/11BundleLoadingSample/types/generators/LootGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/LootGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/11BundleLoadingSample/types/generators/PMCLootGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/11BundleLoadingSample/types/generators/PlayerScavGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/11BundleLoadingSample/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/11BundleLoadingSample/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/11BundleLoadingSample/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/11BundleLoadingSample/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/11BundleLoadingSample/types/generators/WeatherGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/11BundleLoadingSample/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/11BundleLoadingSample/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/11BundleLoadingSample/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/11BundleLoadingSample/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/11BundleLoadingSample/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/11BundleLoadingSample/types/helpers/AssortHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/AssortHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/BotHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/BotHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/DialogueHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/GameEventHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/HandbookHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/11BundleLoadingSample/types/helpers/HealthHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/HealthHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/11BundleLoadingSample/types/helpers/HideoutHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/HttpServerHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/InRaidHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/InventoryHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/ItemHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/ItemHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/NotificationSendHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/11BundleLoadingSample/types/helpers/NotifierHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/11BundleLoadingSample/types/helpers/PaymentHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/PresetHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/PresetHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/ProbabilityHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/ProfileHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/11BundleLoadingSample/types/helpers/QuestConditionHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/QuestHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/QuestHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/11BundleLoadingSample/types/helpers/RagfairHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/11BundleLoadingSample/types/helpers/RagfairSellHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/RagfairServerHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/11BundleLoadingSample/types/helpers/RagfairSortHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/RepairHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/RepairHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/SecureContainerHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/TradeHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/TradeHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/TraderAssortHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/TraderHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/TraderHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/11BundleLoadingSample/types/loaders/BundleLoader.d.ts b/TypeScript/11BundleLoadingSample/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/11BundleLoadingSample/types/loaders/BundleLoader.d.ts +++ b/TypeScript/11BundleLoadingSample/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/11BundleLoadingSample/types/loaders/ModLoadOrder.d.ts b/TypeScript/11BundleLoadingSample/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/11BundleLoadingSample/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/11BundleLoadingSample/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/11BundleLoadingSample/types/loaders/ModTypeCheck.d.ts b/TypeScript/11BundleLoadingSample/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/11BundleLoadingSample/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/11BundleLoadingSample/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/11BundleLoadingSample/types/loaders/PostAkiModLoader.d.ts b/TypeScript/11BundleLoadingSample/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/11BundleLoadingSample/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/11BundleLoadingSample/types/loaders/PostDBModLoader.d.ts b/TypeScript/11BundleLoadingSample/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/11BundleLoadingSample/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/11BundleLoadingSample/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/11BundleLoadingSample/types/loaders/PostSptModLoader.d.ts b/TypeScript/11BundleLoadingSample/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/11BundleLoadingSample/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/10ScopesAndTypes/types/loaders/PreAkiModLoader.d.ts b/TypeScript/11BundleLoadingSample/types/loaders/PreSptModLoader.d.ts similarity index 78% rename from TypeScript/10ScopesAndTypes/types/loaders/PreAkiModLoader.d.ts rename to TypeScript/11BundleLoadingSample/types/loaders/PreSptModLoader.d.ts index 0d297d9..bc846c8 100644 --- a/TypeScript/10ScopesAndTypes/types/loaders/PreAkiModLoader.d.ts +++ b/TypeScript/11BundleLoadingSample/types/loaders/PreSptModLoader.d.ts @@ -1,17 +1,17 @@ import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { protected logger: ILogger; protected vfs: VFS; protected jsonUtil: JsonUtil; @@ -25,7 +25,7 @@ export declare class PreAkiModLoader implements IModLoader { protected readonly modOrderPath = "user/mods/order.json"; protected order: Record; protected imported: Record; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected serverDependencies: Record; protected skippedMods: Set; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); @@ -60,10 +60,10 @@ export declare class PreAkiModLoader implements IModLoader { protected getModsPackageData(mods: string[]): Map; /** * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI + * @param mod Mod to check compatibiltiy with SPT * @returns True if compatible */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; /** * Execute each mod found in this.imported * @returns void promise diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/common/IGlobals.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/common/ILocation.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/common/ILocationBase.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/common/IPmcData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/hideout/IQteData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/13AddTrader/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/profile/ISptProfile.d.ts similarity index 91% rename from TypeScript/13AddTrader/types/models/eft/profile/IAkiProfile.d.ts rename to TypeScript/11BundleLoadingSample/types/models/eft/profile/ISptProfile.d.ts index a6d06bb..f6e6379 100644 --- a/TypeScript/13AddTrader/types/models/eft/profile/IAkiProfile.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/profile/ISptProfile.d.ts @@ -1,17 +1,17 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { info: Info; characters: Characters; /** Clothing purchases */ suits: string[]; userbuilds: IUserBuilds; dialogues: Record; - aki: Aki; + spt: Spt; vitality: Vitality; inraid: Inraid; insurance: Insurance[]; @@ -159,7 +159,7 @@ export interface DateTime { date: string; time: string; } -export interface Aki { +export interface Spt { version: string; mods?: ModDetails[]; receivedGifts: ReceivedGift[]; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsAid.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsPing.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/enums/ConfigTypes.d.ts b/TypeScript/11BundleLoadingSample/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/11BundleLoadingSample/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/11BundleLoadingSample/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/11BundleLoadingSample/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/11BundleLoadingSample/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/11BundleLoadingSample/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/11BundleLoadingSample/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/11BundleLoadingSample/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/11BundleLoadingSample/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/11BundleLoadingSample/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/11BundleLoadingSample/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/11BundleLoadingSample/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/11BundleLoadingSample/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/11BundleLoadingSample/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/11BundleLoadingSample/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/11BundleLoadingSample/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/11BundleLoadingSample/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/11BundleLoadingSample/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/11BundleLoadingSample/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/11BundleLoadingSample/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/11BundleLoadingSample/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/11BundleLoadingSample/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/11BundleLoadingSample/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/11BundleLoadingSample/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/11BundleLoadingSample/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/11BundleLoadingSample/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/bindings/Route.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IBotConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IItemConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/ILootConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/controllers/IBotController.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/11BundleLoadingSample/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/server/ILocations.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/services/CustomPreset.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/services/LootRequest.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/utils/ILogger.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/11BundleLoadingSample/types/routers/EventOutputHolder.d.ts b/TypeScript/11BundleLoadingSample/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/11BundleLoadingSample/types/routers/HttpRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/HttpRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/11BundleLoadingSample/types/routers/ImageRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/ImageRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/11BundleLoadingSample/types/routers/ItemEventRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/11BundleLoadingSample/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/11BundleLoadingSample/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/11BundleLoadingSample/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/11BundleLoadingSample/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/11BundleLoadingSample/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/11BundleLoadingSample/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/11BundleLoadingSample/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/11BundleLoadingSample/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/11BundleLoadingSample/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/11BundleLoadingSample/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/11BundleLoadingSample/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/11BundleLoadingSample/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/11BundleLoadingSample/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/BotStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/DataStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/GameStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/11BundleLoadingSample/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/11BundleLoadingSample/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/11BundleLoadingSample/types/servers/ConfigServer.d.ts b/TypeScript/11BundleLoadingSample/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/11BundleLoadingSample/types/servers/ConfigServer.d.ts +++ b/TypeScript/11BundleLoadingSample/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/11BundleLoadingSample/types/servers/DatabaseServer.d.ts b/TypeScript/11BundleLoadingSample/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/11BundleLoadingSample/types/servers/DatabaseServer.d.ts +++ b/TypeScript/11BundleLoadingSample/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/11BundleLoadingSample/types/servers/HttpServer.d.ts b/TypeScript/11BundleLoadingSample/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/11BundleLoadingSample/types/servers/HttpServer.d.ts +++ b/TypeScript/11BundleLoadingSample/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/11BundleLoadingSample/types/servers/RagfairServer.d.ts b/TypeScript/11BundleLoadingSample/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/11BundleLoadingSample/types/servers/RagfairServer.d.ts +++ b/TypeScript/11BundleLoadingSample/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/11BundleLoadingSample/types/servers/SaveServer.d.ts b/TypeScript/11BundleLoadingSample/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/11BundleLoadingSample/types/servers/SaveServer.d.ts +++ b/TypeScript/11BundleLoadingSample/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/11BundleLoadingSample/types/servers/WebSocketServer.d.ts b/TypeScript/11BundleLoadingSample/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/11BundleLoadingSample/types/servers/WebSocketServer.d.ts +++ b/TypeScript/11BundleLoadingSample/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/12ClassExtensionOverride/types/servers/http/AkiHttpListener.d.ts b/TypeScript/11BundleLoadingSample/types/servers/http/SptHttpListener.d.ts similarity index 74% rename from TypeScript/12ClassExtensionOverride/types/servers/http/AkiHttpListener.d.ts rename to TypeScript/11BundleLoadingSample/types/servers/http/SptHttpListener.d.ts index 4ccdcf6..ef68143 100644 --- a/TypeScript/12ClassExtensionOverride/types/servers/http/AkiHttpListener.d.ts +++ b/TypeScript/11BundleLoadingSample/types/servers/http/SptHttpListener.d.ts @@ -1,14 +1,14 @@ /// /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { protected httpRouter: HttpRouter; protected serializers: Serializer[]; protected logger: ILogger; diff --git a/TypeScript/13AddTrader/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/11BundleLoadingSample/types/servers/ws/SptWebSocketConnectionHandler.d.ts similarity index 55% rename from TypeScript/13AddTrader/types/servers/ws/AkiWebSocketConnectionHandler.d.ts rename to TypeScript/11BundleLoadingSample/types/servers/ws/SptWebSocketConnectionHandler.d.ts index b0b354a..10c8a74 100644 --- a/TypeScript/13AddTrader/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ b/TypeScript/11BundleLoadingSample/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -1,27 +1,27 @@ /// import { IncomingMessage } from "http"; import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { protected logger: ILogger; protected profileHelper: ProfileHelper; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; protected httpConfig: IHttpConfig; protected webSockets: Map; protected defaultNotification: IWsNotificationEvent; protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); getSocketId(): string; getHookUrl(): string; onConnection(ws: WebSocket, req: IncomingMessage): void; diff --git a/TypeScript/11BundleLoadingSample/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/11BundleLoadingSample/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/11BundleLoadingSample/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/11BundleLoadingSample/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/11BundleLoadingSample/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/11BundleLoadingSample/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/11BundleLoadingSample/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/11BundleLoadingSample/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/11BundleLoadingSample/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/11BundleLoadingSample/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/11BundleLoadingSample/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/11BundleLoadingSample/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/11BundleLoadingSample/types/services/BotEquipmentFilterService.d.ts b/TypeScript/11BundleLoadingSample/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/11BundleLoadingSample/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/11BundleLoadingSample/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/11BundleLoadingSample/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/11BundleLoadingSample/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/11BundleLoadingSample/types/services/BotGenerationCacheService.d.ts b/TypeScript/11BundleLoadingSample/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/11BundleLoadingSample/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/11BundleLoadingSample/types/services/BotLootCacheService.d.ts b/TypeScript/11BundleLoadingSample/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/11BundleLoadingSample/types/services/BotLootCacheService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/11BundleLoadingSample/types/services/BotWeaponModLimitService.d.ts b/TypeScript/11BundleLoadingSample/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/11BundleLoadingSample/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/11BundleLoadingSample/types/services/CustomLocationWaveService.d.ts b/TypeScript/11BundleLoadingSample/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/11BundleLoadingSample/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/11BundleLoadingSample/types/services/FenceService.d.ts b/TypeScript/11BundleLoadingSample/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/11BundleLoadingSample/types/services/FenceService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/11BundleLoadingSample/types/services/GiftService.d.ts b/TypeScript/11BundleLoadingSample/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/11BundleLoadingSample/types/services/GiftService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/11BundleLoadingSample/types/services/InsuranceService.d.ts b/TypeScript/11BundleLoadingSample/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/11BundleLoadingSample/types/services/InsuranceService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/11BundleLoadingSample/types/services/ItemBaseClassService.d.ts b/TypeScript/11BundleLoadingSample/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/11BundleLoadingSample/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/11BundleLoadingSample/types/services/ItemFilterService.d.ts b/TypeScript/11BundleLoadingSample/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/11BundleLoadingSample/types/services/ItemFilterService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/11BundleLoadingSample/types/services/LocaleService.d.ts b/TypeScript/11BundleLoadingSample/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/11BundleLoadingSample/types/services/LocaleService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/11BundleLoadingSample/types/services/LocalisationService.d.ts b/TypeScript/11BundleLoadingSample/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/11BundleLoadingSample/types/services/LocalisationService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/11BundleLoadingSample/types/services/MailSendService.d.ts b/TypeScript/11BundleLoadingSample/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/11BundleLoadingSample/types/services/MailSendService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/11BundleLoadingSample/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/11BundleLoadingSample/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/11BundleLoadingSample/types/services/MatchLocationService.d.ts b/TypeScript/11BundleLoadingSample/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/11BundleLoadingSample/types/services/MatchLocationService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/11BundleLoadingSample/types/services/ModCompilerService.d.ts b/TypeScript/11BundleLoadingSample/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/11BundleLoadingSample/types/services/ModCompilerService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/11BundleLoadingSample/types/services/NotificationService.d.ts b/TypeScript/11BundleLoadingSample/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/11BundleLoadingSample/types/services/NotificationService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/11BundleLoadingSample/types/services/OpenZoneService.d.ts b/TypeScript/11BundleLoadingSample/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/11BundleLoadingSample/types/services/OpenZoneService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/11BundleLoadingSample/types/services/PaymentService.d.ts b/TypeScript/11BundleLoadingSample/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/11BundleLoadingSample/types/services/PaymentService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/services/PlayerService.d.ts b/TypeScript/11BundleLoadingSample/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/11BundleLoadingSample/types/services/PlayerService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/11BundleLoadingSample/types/services/PmcChatResponseService.d.ts b/TypeScript/11BundleLoadingSample/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/11BundleLoadingSample/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/services/ProfileFixerService.d.ts b/TypeScript/11BundleLoadingSample/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/11BundleLoadingSample/types/services/ProfileFixerService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/11BundleLoadingSample/types/services/ProfileSnapshotService.d.ts b/TypeScript/11BundleLoadingSample/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/11BundleLoadingSample/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/11BundleLoadingSample/types/services/RagfairCategoriesService.d.ts b/TypeScript/11BundleLoadingSample/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/11BundleLoadingSample/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/11BundleLoadingSample/types/services/RagfairLinkedItemService.d.ts b/TypeScript/11BundleLoadingSample/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/11BundleLoadingSample/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/11BundleLoadingSample/types/services/RagfairOfferService.d.ts b/TypeScript/11BundleLoadingSample/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/11BundleLoadingSample/types/services/RagfairOfferService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/11BundleLoadingSample/types/services/RagfairPriceService.d.ts b/TypeScript/11BundleLoadingSample/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/11BundleLoadingSample/types/services/RagfairPriceService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/11BundleLoadingSample/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/11BundleLoadingSample/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/11BundleLoadingSample/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/11BundleLoadingSample/types/services/RagfairTaxService.d.ts b/TypeScript/11BundleLoadingSample/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/11BundleLoadingSample/types/services/RagfairTaxService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/11BundleLoadingSample/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/11BundleLoadingSample/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/11BundleLoadingSample/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/11BundleLoadingSample/types/services/RepairService.d.ts b/TypeScript/11BundleLoadingSample/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/11BundleLoadingSample/types/services/RepairService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/11BundleLoadingSample/types/services/SeasonalEventService.d.ts b/TypeScript/11BundleLoadingSample/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/11BundleLoadingSample/types/services/SeasonalEventService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/11BundleLoadingSample/types/services/TraderAssortService.d.ts b/TypeScript/11BundleLoadingSample/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/11BundleLoadingSample/types/services/TraderAssortService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/11BundleLoadingSample/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/11BundleLoadingSample/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/11BundleLoadingSample/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/11BundleLoadingSample/types/services/TraderServicesService.d.ts b/TypeScript/11BundleLoadingSample/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/11BundleLoadingSample/types/services/TraderServicesService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/11BundleLoadingSample/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/11BundleLoadingSample/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/11BundleLoadingSample/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/services/cache/ModHashCacheService.d.ts b/TypeScript/11BundleLoadingSample/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/11BundleLoadingSample/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/services/mod/CustomItemService.d.ts b/TypeScript/11BundleLoadingSample/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/11BundleLoadingSample/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/11BundleLoadingSample/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/11BundleLoadingSample/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/11BundleLoadingSample/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/11BundleLoadingSample/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/11BundleLoadingSample/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/11BundleLoadingSample/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/11BundleLoadingSample/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/11BundleLoadingSample/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/11BundleLoadingSample/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/11BundleLoadingSample/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/11BundleLoadingSample/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/11BundleLoadingSample/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/11BundleLoadingSample/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/11BundleLoadingSample/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/11BundleLoadingSample/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/11BundleLoadingSample/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/11BundleLoadingSample/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/11BundleLoadingSample/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/11BundleLoadingSample/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/11BundleLoadingSample/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/11BundleLoadingSample/types/utils/App.d.ts b/TypeScript/11BundleLoadingSample/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/App.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/11BundleLoadingSample/types/utils/AsyncQueue.d.ts b/TypeScript/11BundleLoadingSample/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/AsyncQueue.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/11BundleLoadingSample/types/utils/DatabaseImporter.d.ts b/TypeScript/11BundleLoadingSample/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/11BundleLoadingSample/types/utils/HashUtil.d.ts b/TypeScript/11BundleLoadingSample/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/HashUtil.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/11BundleLoadingSample/types/utils/HttpFileUtil.d.ts b/TypeScript/11BundleLoadingSample/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/11BundleLoadingSample/types/utils/HttpResponseUtil.d.ts b/TypeScript/11BundleLoadingSample/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/11BundleLoadingSample/types/utils/ImporterUtil.d.ts b/TypeScript/11BundleLoadingSample/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/ImporterUtil.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/11BundleLoadingSample/types/utils/JsonUtil.d.ts b/TypeScript/11BundleLoadingSample/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/JsonUtil.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/11BundleLoadingSample/types/utils/ObjectId.d.ts b/TypeScript/11BundleLoadingSample/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/ObjectId.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/11BundleLoadingSample/types/utils/RagfairOfferHolder.d.ts b/TypeScript/11BundleLoadingSample/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/11BundleLoadingSample/types/utils/RandomUtil.d.ts b/TypeScript/11BundleLoadingSample/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/RandomUtil.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/11BundleLoadingSample/types/utils/VFS.d.ts b/TypeScript/11BundleLoadingSample/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/VFS.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/11BundleLoadingSample/types/utils/Watermark.d.ts b/TypeScript/11BundleLoadingSample/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/Watermark.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/11BundleLoadingSample/types/utils/cloners/JsonCloner.d.ts b/TypeScript/11BundleLoadingSample/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/11BundleLoadingSample/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/11BundleLoadingSample/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/11BundleLoadingSample/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/11BundleLoadingSample/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/11BundleLoadingSample/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/11BundleLoadingSample/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/11BundleLoadingSample/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/11BundleLoadingSample/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/11BundleLoadingSample/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/11BundleLoadingSample/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/11BundleLoadingSample/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/11BundleLoadingSample/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/12ClassExtensionOverride/README.md b/TypeScript/12ClassExtensionOverride/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/12ClassExtensionOverride/README.md +++ b/TypeScript/12ClassExtensionOverride/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/12ClassExtensionOverride/package.json b/TypeScript/12ClassExtensionOverride/package.json index 8328d91..8a78236 100644 --- a/TypeScript/12ClassExtensionOverride/package.json +++ b/TypeScript/12ClassExtensionOverride/package.json @@ -1,7 +1,7 @@ { "name": "ClassExtensionOverride", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/12ClassExtensionOverride/src/MyCustomLauncherCallbacks.ts b/TypeScript/12ClassExtensionOverride/src/MyCustomLauncherCallbacks.ts index 34fdbd5..2a54cad 100644 --- a/TypeScript/12ClassExtensionOverride/src/MyCustomLauncherCallbacks.ts +++ b/TypeScript/12ClassExtensionOverride/src/MyCustomLauncherCallbacks.ts @@ -1,12 +1,12 @@ import { inject, injectable } from "tsyringe"; -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; // We need to declare this class as injectable, this will add the container // metadata diff --git a/TypeScript/12ClassExtensionOverride/src/mod.ts b/TypeScript/12ClassExtensionOverride/src/mod.ts index 45aea7a..383ee2f 100644 --- a/TypeScript/12ClassExtensionOverride/src/mod.ts +++ b/TypeScript/12ClassExtensionOverride/src/mod.ts @@ -1,22 +1,22 @@ import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod" +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod" import { MyCustomLauncherCallbacks } from "./MyCustomLauncherCallbacks"; -class Mod implements IPreAkiLoadMod +class Mod implements IPreSptLoadMod { // This example will show you how to override and register your own components and use them - // The container will by default register all AKI dependencies, but you can inject into it + // The container will by default register all SPT dependencies, but you can inject into it // you own custom implementations the server will then use. // In this example we will take the LauncherCallbacks class and override the ping() method // for our own custom method that will return "Lets dance" instead of "pong!" // Perform these actions before server fully loads - public preAkiLoad(container: DependencyContainer): void { + public preSptLoad(container: DependencyContainer): void { // Here we register our override for the component and we NEED to use the same // token the server is using to register it. // You can find this tokens here: - // https://dev.sp-tarkov.com/SPT-AKI/Server/src/branch/development/project/src/di/Container.ts + // https://dev.sp-tarkov.com/SPT/Server/src/branch/development/project/src/di/Container.ts // In this scenario we want to override LauncherCallbacks, so we find the proper registry: // // depContainer.register("LauncherCallbacks", { useClass: LauncherCallbacks }); diff --git a/TypeScript/12ClassExtensionOverride/tsconfig.json b/TypeScript/12ClassExtensionOverride/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/12ClassExtensionOverride/tsconfig.json +++ b/TypeScript/12ClassExtensionOverride/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/BotCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/BundleCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/DataCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/GameCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/HealthCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/HttpCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/InraidCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/LocationCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/MatchCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/ModCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/NoteCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/PresetCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/QuestCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/RepairCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/SaveCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/TradeCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/TraderCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/12ClassExtensionOverride/types/context/ApplicationContext.d.ts b/TypeScript/12ClassExtensionOverride/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/12ClassExtensionOverride/types/context/ApplicationContext.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/12ClassExtensionOverride/types/context/ContextVariable.d.ts b/TypeScript/12ClassExtensionOverride/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/12ClassExtensionOverride/types/context/ContextVariable.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/AchievementController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/AchievementController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/BotController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/BotController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/BuildController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/BuildController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/ClientLogController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/ClientLogController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/CustomizationController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/CustomizationController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/DialogueController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/DialogueController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/GameController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/GameController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/HandbookController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/HandbookController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/HealthController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/HealthController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/HideoutController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/HideoutController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/InraidController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/InraidController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/InsuranceController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/InsuranceController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/InventoryController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/InventoryController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/LauncherController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/LauncherController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/LocationController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/LocationController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/MatchController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/MatchController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/NoteController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/NoteController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/NotifierController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/NotifierController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/PresetController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/PresetController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/ProfileController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/ProfileController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/QuestController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/QuestController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/RagfairController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/RagfairController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/RepairController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/RepairController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/RepeatableQuestController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/TradeController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/TradeController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/TraderController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/TraderController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/WeatherController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/WeatherController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/WishlistController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/WishlistController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/12ClassExtensionOverride/types/di/Router.d.ts b/TypeScript/12ClassExtensionOverride/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/12ClassExtensionOverride/types/di/Router.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/12ClassExtensionOverride/types/generators/BotGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/BotGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/BotInventoryGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/BotLevelGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/BotLootGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/BotWeaponGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/12ClassExtensionOverride/types/generators/LocationGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/LocationGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/LootGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/LootGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/PMCLootGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/12ClassExtensionOverride/types/generators/PlayerScavGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/12ClassExtensionOverride/types/generators/WeatherGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/AssortHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/AssortHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/BotHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/BotHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/DialogueHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/GameEventHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/HandbookHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/HealthHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/HealthHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/HideoutHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/HttpServerHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/InRaidHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/InventoryHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/ItemHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/ItemHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/NotificationSendHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/NotifierHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/PaymentHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/PresetHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/PresetHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/ProbabilityHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/ProfileHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/QuestConditionHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/QuestHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/QuestHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/RagfairHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/RagfairSellHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/RagfairServerHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/RagfairSortHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/RepairHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/RepairHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/SecureContainerHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/TradeHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/TradeHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/TraderAssortHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/TraderHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/TraderHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/12ClassExtensionOverride/types/loaders/BundleLoader.d.ts b/TypeScript/12ClassExtensionOverride/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/12ClassExtensionOverride/types/loaders/BundleLoader.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/12ClassExtensionOverride/types/loaders/ModLoadOrder.d.ts b/TypeScript/12ClassExtensionOverride/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/12ClassExtensionOverride/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/12ClassExtensionOverride/types/loaders/ModTypeCheck.d.ts b/TypeScript/12ClassExtensionOverride/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/12ClassExtensionOverride/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/12ClassExtensionOverride/types/loaders/PostAkiModLoader.d.ts b/TypeScript/12ClassExtensionOverride/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/12ClassExtensionOverride/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/12ClassExtensionOverride/types/loaders/PostDBModLoader.d.ts b/TypeScript/12ClassExtensionOverride/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/12ClassExtensionOverride/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/12ClassExtensionOverride/types/loaders/PostSptModLoader.d.ts b/TypeScript/12ClassExtensionOverride/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/12ClassExtensionOverride/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/12ClassExtensionOverride/types/loaders/PreAkiModLoader.d.ts b/TypeScript/12ClassExtensionOverride/types/loaders/PreSptModLoader.d.ts similarity index 78% rename from TypeScript/12ClassExtensionOverride/types/loaders/PreAkiModLoader.d.ts rename to TypeScript/12ClassExtensionOverride/types/loaders/PreSptModLoader.d.ts index 0d297d9..bc846c8 100644 --- a/TypeScript/12ClassExtensionOverride/types/loaders/PreAkiModLoader.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/loaders/PreSptModLoader.d.ts @@ -1,17 +1,17 @@ import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { protected logger: ILogger; protected vfs: VFS; protected jsonUtil: JsonUtil; @@ -25,7 +25,7 @@ export declare class PreAkiModLoader implements IModLoader { protected readonly modOrderPath = "user/mods/order.json"; protected order: Record; protected imported: Record; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected serverDependencies: Record; protected skippedMods: Set; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); @@ -60,10 +60,10 @@ export declare class PreAkiModLoader implements IModLoader { protected getModsPackageData(mods: string[]): Map; /** * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI + * @param mod Mod to check compatibiltiy with SPT * @returns True if compatible */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; /** * Execute each mod found in this.imported * @returns void promise diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/common/IGlobals.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILocation.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILocationBase.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/common/IPmcData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/hideout/IQteData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/profile/ISptProfile.d.ts similarity index 91% rename from TypeScript/10ScopesAndTypes/types/models/eft/profile/IAkiProfile.d.ts rename to TypeScript/12ClassExtensionOverride/types/models/eft/profile/ISptProfile.d.ts index a6d06bb..f6e6379 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/profile/IAkiProfile.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/profile/ISptProfile.d.ts @@ -1,17 +1,17 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { info: Info; characters: Characters; /** Clothing purchases */ suits: string[]; userbuilds: IUserBuilds; dialogues: Record; - aki: Aki; + spt: Spt; vitality: Vitality; inraid: Inraid; insurance: Insurance[]; @@ -159,7 +159,7 @@ export interface DateTime { date: string; time: string; } -export interface Aki { +export interface Spt { version: string; mods?: ModDetails[]; receivedGifts: ReceivedGift[]; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsAid.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsPing.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/enums/ConfigTypes.d.ts b/TypeScript/12ClassExtensionOverride/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/12ClassExtensionOverride/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/12ClassExtensionOverride/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/12ClassExtensionOverride/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/12ClassExtensionOverride/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/12ClassExtensionOverride/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/12ClassExtensionOverride/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/12ClassExtensionOverride/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/12ClassExtensionOverride/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/12ClassExtensionOverride/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/12ClassExtensionOverride/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/12ClassExtensionOverride/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/12ClassExtensionOverride/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/12ClassExtensionOverride/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/12ClassExtensionOverride/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/12ClassExtensionOverride/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/12ClassExtensionOverride/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/12ClassExtensionOverride/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/12ClassExtensionOverride/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/12ClassExtensionOverride/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/12ClassExtensionOverride/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/12ClassExtensionOverride/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/12ClassExtensionOverride/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/12ClassExtensionOverride/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/12ClassExtensionOverride/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/bindings/Route.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IBotConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IItemConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILootConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/controllers/IBotController.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/12ClassExtensionOverride/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/server/ILocations.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/services/CustomPreset.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/services/LootRequest.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/utils/ILogger.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/12ClassExtensionOverride/types/routers/EventOutputHolder.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/routers/HttpRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/HttpRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/12ClassExtensionOverride/types/routers/ImageRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/ImageRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/12ClassExtensionOverride/types/routers/ItemEventRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/12ClassExtensionOverride/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/12ClassExtensionOverride/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/12ClassExtensionOverride/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/12ClassExtensionOverride/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/12ClassExtensionOverride/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/12ClassExtensionOverride/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/12ClassExtensionOverride/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/BotStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/DataStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/GameStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/12ClassExtensionOverride/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/12ClassExtensionOverride/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/12ClassExtensionOverride/types/servers/ConfigServer.d.ts b/TypeScript/12ClassExtensionOverride/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/12ClassExtensionOverride/types/servers/ConfigServer.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/12ClassExtensionOverride/types/servers/DatabaseServer.d.ts b/TypeScript/12ClassExtensionOverride/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/12ClassExtensionOverride/types/servers/DatabaseServer.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/12ClassExtensionOverride/types/servers/HttpServer.d.ts b/TypeScript/12ClassExtensionOverride/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/12ClassExtensionOverride/types/servers/HttpServer.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/12ClassExtensionOverride/types/servers/RagfairServer.d.ts b/TypeScript/12ClassExtensionOverride/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/12ClassExtensionOverride/types/servers/RagfairServer.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/12ClassExtensionOverride/types/servers/SaveServer.d.ts b/TypeScript/12ClassExtensionOverride/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/12ClassExtensionOverride/types/servers/SaveServer.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/12ClassExtensionOverride/types/servers/WebSocketServer.d.ts b/TypeScript/12ClassExtensionOverride/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/12ClassExtensionOverride/types/servers/WebSocketServer.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/11BundleLoadingSample/types/servers/http/AkiHttpListener.d.ts b/TypeScript/12ClassExtensionOverride/types/servers/http/SptHttpListener.d.ts similarity index 74% rename from TypeScript/11BundleLoadingSample/types/servers/http/AkiHttpListener.d.ts rename to TypeScript/12ClassExtensionOverride/types/servers/http/SptHttpListener.d.ts index 4ccdcf6..ef68143 100644 --- a/TypeScript/11BundleLoadingSample/types/servers/http/AkiHttpListener.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/servers/http/SptHttpListener.d.ts @@ -1,14 +1,14 @@ /// /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { protected httpRouter: HttpRouter; protected serializers: Serializer[]; protected logger: ILogger; diff --git a/TypeScript/10ScopesAndTypes/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/12ClassExtensionOverride/types/servers/ws/SptWebSocketConnectionHandler.d.ts similarity index 55% rename from TypeScript/10ScopesAndTypes/types/servers/ws/AkiWebSocketConnectionHandler.d.ts rename to TypeScript/12ClassExtensionOverride/types/servers/ws/SptWebSocketConnectionHandler.d.ts index b0b354a..10c8a74 100644 --- a/TypeScript/10ScopesAndTypes/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -1,27 +1,27 @@ /// import { IncomingMessage } from "http"; import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { protected logger: ILogger; protected profileHelper: ProfileHelper; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; protected httpConfig: IHttpConfig; protected webSockets: Map; protected defaultNotification: IWsNotificationEvent; protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); getSocketId(): string; getHookUrl(): string; onConnection(ws: WebSocket, req: IncomingMessage): void; diff --git a/TypeScript/12ClassExtensionOverride/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/12ClassExtensionOverride/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/12ClassExtensionOverride/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/12ClassExtensionOverride/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/12ClassExtensionOverride/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/12ClassExtensionOverride/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/12ClassExtensionOverride/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/12ClassExtensionOverride/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/12ClassExtensionOverride/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/12ClassExtensionOverride/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/12ClassExtensionOverride/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/12ClassExtensionOverride/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/12ClassExtensionOverride/types/services/BotEquipmentFilterService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/12ClassExtensionOverride/types/services/BotGenerationCacheService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/services/BotLootCacheService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/BotLootCacheService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/services/BotWeaponModLimitService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/12ClassExtensionOverride/types/services/CustomLocationWaveService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/services/FenceService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/FenceService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/12ClassExtensionOverride/types/services/GiftService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/GiftService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/12ClassExtensionOverride/types/services/InsuranceService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/InsuranceService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/12ClassExtensionOverride/types/services/ItemBaseClassService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/12ClassExtensionOverride/types/services/ItemFilterService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/ItemFilterService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/12ClassExtensionOverride/types/services/LocaleService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/LocaleService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/12ClassExtensionOverride/types/services/LocalisationService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/LocalisationService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/12ClassExtensionOverride/types/services/MailSendService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/MailSendService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/12ClassExtensionOverride/types/services/MatchLocationService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/MatchLocationService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/12ClassExtensionOverride/types/services/ModCompilerService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/ModCompilerService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/12ClassExtensionOverride/types/services/NotificationService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/NotificationService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/12ClassExtensionOverride/types/services/OpenZoneService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/OpenZoneService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/12ClassExtensionOverride/types/services/PaymentService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/PaymentService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/services/PlayerService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/PlayerService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/services/PmcChatResponseService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/services/ProfileFixerService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/ProfileFixerService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/12ClassExtensionOverride/types/services/ProfileSnapshotService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/12ClassExtensionOverride/types/services/RagfairCategoriesService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/services/RagfairLinkedItemService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/services/RagfairOfferService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/RagfairOfferService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/services/RagfairPriceService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/RagfairPriceService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/12ClassExtensionOverride/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/services/RagfairTaxService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/RagfairTaxService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/12ClassExtensionOverride/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/12ClassExtensionOverride/types/services/RepairService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/RepairService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/12ClassExtensionOverride/types/services/SeasonalEventService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/SeasonalEventService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/12ClassExtensionOverride/types/services/TraderAssortService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/TraderAssortService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/12ClassExtensionOverride/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/12ClassExtensionOverride/types/services/TraderServicesService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/TraderServicesService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/12ClassExtensionOverride/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/services/cache/ModHashCacheService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/services/mod/CustomItemService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/12ClassExtensionOverride/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/12ClassExtensionOverride/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/12ClassExtensionOverride/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/12ClassExtensionOverride/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/12ClassExtensionOverride/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/12ClassExtensionOverride/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/12ClassExtensionOverride/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/12ClassExtensionOverride/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/12ClassExtensionOverride/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/12ClassExtensionOverride/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/12ClassExtensionOverride/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/12ClassExtensionOverride/types/utils/App.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/App.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/utils/AsyncQueue.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/AsyncQueue.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/12ClassExtensionOverride/types/utils/DatabaseImporter.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/12ClassExtensionOverride/types/utils/HashUtil.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/HashUtil.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/12ClassExtensionOverride/types/utils/HttpFileUtil.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/12ClassExtensionOverride/types/utils/HttpResponseUtil.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/12ClassExtensionOverride/types/utils/ImporterUtil.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/ImporterUtil.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/utils/JsonUtil.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/JsonUtil.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/12ClassExtensionOverride/types/utils/ObjectId.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/ObjectId.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/12ClassExtensionOverride/types/utils/RagfairOfferHolder.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/12ClassExtensionOverride/types/utils/RandomUtil.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/RandomUtil.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/12ClassExtensionOverride/types/utils/VFS.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/VFS.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/12ClassExtensionOverride/types/utils/Watermark.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/Watermark.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/12ClassExtensionOverride/types/utils/cloners/JsonCloner.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/12ClassExtensionOverride/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/12ClassExtensionOverride/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/12ClassExtensionOverride/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/12ClassExtensionOverride/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/12ClassExtensionOverride/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/12ClassExtensionOverride/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/12ClassExtensionOverride/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/13AddTrader/README.md b/TypeScript/13AddTrader/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/13AddTrader/README.md +++ b/TypeScript/13AddTrader/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/13AddTrader/package.json b/TypeScript/13AddTrader/package.json index 02720a1..c00a540 100644 --- a/TypeScript/13AddTrader/package.json +++ b/TypeScript/13AddTrader/package.json @@ -1,7 +1,7 @@ { "name": "13AddTrader", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/13AddTrader/src/fluentTraderAssortCreator.ts b/TypeScript/13AddTrader/src/fluentTraderAssortCreator.ts index c98fef0..1b8283b 100644 --- a/TypeScript/13AddTrader/src/fluentTraderAssortCreator.ts +++ b/TypeScript/13AddTrader/src/fluentTraderAssortCreator.ts @@ -1,8 +1,8 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme, ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Money } from "@spt-aki/models/enums/Money"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme, ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { Money } from "@spt/models/enums/Money"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; export class FluentAssortConstructor { diff --git a/TypeScript/13AddTrader/src/mod.ts b/TypeScript/13AddTrader/src/mod.ts index 279dabc..109d13b 100644 --- a/TypeScript/13AddTrader/src/mod.ts +++ b/TypeScript/13AddTrader/src/mod.ts @@ -1,20 +1,20 @@ import { DependencyContainer } from "tsyringe"; // SPT types -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { Money } from "@spt-aki/models/enums/Money"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { Money } from "@spt/models/enums/Money"; +import { Traders } from "@spt/models/enums/Traders"; +import { HashUtil } from "@spt/utils/HashUtil"; // New trader settings import * as baseJson from "../db/base.json"; @@ -22,7 +22,7 @@ import * as baseJson from "../db/base.json"; import { TraderHelper } from "./traderHelpers"; import { FluentAssortConstructor as FluentAssortCreator } from "./fluentTraderAssortCreator"; -class SampleTrader implements IPreAkiLoadMod, IPostDBLoadMod +class SampleTrader implements IPreSptLoadMod, IPostDBLoadMod { private mod: string; private logger: ILogger; @@ -37,14 +37,14 @@ class SampleTrader implements IPreAkiLoadMod, IPostDBLoadMod * Some work needs to be done prior to SPT code being loaded, registering the profile image + setting trader update time inside the trader config json * @param container Dependency container */ - public preAkiLoad(container: DependencyContainer): void + public preSptLoad(container: DependencyContainer): void { // Get a logger this.logger = container.resolve("WinstonLogger"); - this.logger.debug(`[${this.mod}] preAki Loading... `); + this.logger.debug(`[${this.mod}] preSpt Loading... `); // Get SPT code/data we need later - const preAkiModLoader: PreAkiModLoader = container.resolve("PreAkiModLoader"); + const PreSptModLoader: PreSptModLoader = container.resolve("PreSptModLoader"); const imageRouter: ImageRouter = container.resolve("ImageRouter"); const hashUtil: HashUtil = container.resolve("HashUtil"); const configServer = container.resolve("ConfigServer"); @@ -54,7 +54,7 @@ class SampleTrader implements IPreAkiLoadMod, IPostDBLoadMod // Create helper class and use it to register our traders image/icon + set its stock refresh time this.traderHelper = new TraderHelper(); this.fluentAssortCreator = new FluentAssortCreator(hashUtil, this.logger); - this.traderHelper.registerProfileImage(baseJson, this.mod, preAkiModLoader, imageRouter, "cat.jpg"); + this.traderHelper.registerProfileImage(baseJson, this.mod, PreSptModLoader, imageRouter, "cat.jpg"); this.traderHelper.setTraderUpdateTime(traderConfig, baseJson, 3600, 4000); // Add trader to trader enum @@ -63,11 +63,11 @@ class SampleTrader implements IPreAkiLoadMod, IPostDBLoadMod // Add trader to flea market ragfairConfig.traders[baseJson._id] = true; - this.logger.debug(`[${this.mod}] preAki Loaded`); + this.logger.debug(`[${this.mod}] preSpt Loaded`); } /** - * Majority of trader-related work occurs after the aki database has been loaded but prior to SPT code being run + * Majority of trader-related work occurs after the spt database has been loaded but prior to SPT code being run * @param container Dependency container */ public postDBLoad(container: DependencyContainer): void diff --git a/TypeScript/13AddTrader/src/traderHelpers.ts b/TypeScript/13AddTrader/src/traderHelpers.ts index 3f969f4..38ab98f 100644 --- a/TypeScript/13AddTrader/src/traderHelpers.ts +++ b/TypeScript/13AddTrader/src/traderHelpers.ts @@ -1,10 +1,10 @@ -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig, UpdateTime } from "@spt-aki/models/spt/config/ITraderConfig"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig, UpdateTime } from "@spt/models/spt/config/ITraderConfig"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export class TraderHelper { @@ -12,14 +12,14 @@ export class TraderHelper * Add profile picture to our trader * @param baseJson json file for trader (db/base.json) * @param modName mod folder name - * @param preAkiModLoader mod loader class - used to get the mods file path + * @param PreSptModLoader mod loader class - used to get the mods file path * @param imageRouter image router class - used to register the trader image path so we see their image on trader page * @param traderImageName Filename of the trader icon to use */ - public registerProfileImage(baseJson: any, modName: string, preAkiModLoader: PreAkiModLoader, imageRouter: ImageRouter, traderImageName: string): void + public registerProfileImage(baseJson: any, modName: string, PreSptModLoader: PreSptModLoader, imageRouter: ImageRouter, traderImageName: string): void { // Reference the mod "res" folder - const imageFilepath = `./${preAkiModLoader.getModPath(modName)}res`; + const imageFilepath = `./${PreSptModLoader.getModPath(modName)}res`; // Register a route to point to the profile picture - remember to remove the .jpg from it imageRouter.addRoute(baseJson.avatar.replace(".jpg", ""), `${imageFilepath}/${traderImageName}`); diff --git a/TypeScript/13AddTrader/tsconfig.json b/TypeScript/13AddTrader/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/13AddTrader/tsconfig.json +++ b/TypeScript/13AddTrader/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/13AddTrader/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/13AddTrader/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/13AddTrader/types/callbacks/BotCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/13AddTrader/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/13AddTrader/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/13AddTrader/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/13AddTrader/types/callbacks/BundleCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/13AddTrader/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/13AddTrader/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/13AddTrader/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/13AddTrader/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/13AddTrader/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/13AddTrader/types/callbacks/DataCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/13AddTrader/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/13AddTrader/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/13AddTrader/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/13AddTrader/types/callbacks/GameCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/13AddTrader/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/13AddTrader/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/13AddTrader/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/13AddTrader/types/callbacks/HealthCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/13AddTrader/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/13AddTrader/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/13AddTrader/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/13AddTrader/types/callbacks/HttpCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/13AddTrader/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/13AddTrader/types/callbacks/InraidCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/13AddTrader/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/13AddTrader/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/13AddTrader/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/13AddTrader/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/13AddTrader/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/13AddTrader/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/13AddTrader/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/13AddTrader/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/13AddTrader/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/13AddTrader/types/callbacks/LocationCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/13AddTrader/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/13AddTrader/types/callbacks/MatchCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/13AddTrader/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/13AddTrader/types/callbacks/ModCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/13AddTrader/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/13AddTrader/types/callbacks/NoteCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/13AddTrader/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/13AddTrader/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/13AddTrader/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/13AddTrader/types/callbacks/PresetCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/13AddTrader/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/13AddTrader/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/13AddTrader/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/13AddTrader/types/callbacks/QuestCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/13AddTrader/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/13AddTrader/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/13AddTrader/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/13AddTrader/types/callbacks/RepairCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/13AddTrader/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/13AddTrader/types/callbacks/SaveCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/13AddTrader/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/13AddTrader/types/callbacks/TradeCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/13AddTrader/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/13AddTrader/types/callbacks/TraderCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/13AddTrader/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/13AddTrader/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/13AddTrader/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/13AddTrader/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/13AddTrader/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/13AddTrader/types/context/ApplicationContext.d.ts b/TypeScript/13AddTrader/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/13AddTrader/types/context/ApplicationContext.d.ts +++ b/TypeScript/13AddTrader/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/13AddTrader/types/context/ContextVariable.d.ts b/TypeScript/13AddTrader/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/13AddTrader/types/context/ContextVariable.d.ts +++ b/TypeScript/13AddTrader/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/13AddTrader/types/controllers/AchievementController.d.ts b/TypeScript/13AddTrader/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/13AddTrader/types/controllers/AchievementController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/13AddTrader/types/controllers/BotController.d.ts b/TypeScript/13AddTrader/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/13AddTrader/types/controllers/BotController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/13AddTrader/types/controllers/BuildController.d.ts b/TypeScript/13AddTrader/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/13AddTrader/types/controllers/BuildController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/13AddTrader/types/controllers/ClientLogController.d.ts b/TypeScript/13AddTrader/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/13AddTrader/types/controllers/ClientLogController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/13AddTrader/types/controllers/CustomizationController.d.ts b/TypeScript/13AddTrader/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/13AddTrader/types/controllers/CustomizationController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/13AddTrader/types/controllers/DialogueController.d.ts b/TypeScript/13AddTrader/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/13AddTrader/types/controllers/DialogueController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/13AddTrader/types/controllers/GameController.d.ts b/TypeScript/13AddTrader/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/13AddTrader/types/controllers/GameController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/13AddTrader/types/controllers/HandbookController.d.ts b/TypeScript/13AddTrader/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/13AddTrader/types/controllers/HandbookController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/13AddTrader/types/controllers/HealthController.d.ts b/TypeScript/13AddTrader/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/13AddTrader/types/controllers/HealthController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/13AddTrader/types/controllers/HideoutController.d.ts b/TypeScript/13AddTrader/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/13AddTrader/types/controllers/HideoutController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/controllers/InraidController.d.ts b/TypeScript/13AddTrader/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/13AddTrader/types/controllers/InraidController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/13AddTrader/types/controllers/InsuranceController.d.ts b/TypeScript/13AddTrader/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/13AddTrader/types/controllers/InsuranceController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/13AddTrader/types/controllers/InventoryController.d.ts b/TypeScript/13AddTrader/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/13AddTrader/types/controllers/InventoryController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/13AddTrader/types/controllers/LauncherController.d.ts b/TypeScript/13AddTrader/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/13AddTrader/types/controllers/LauncherController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/13AddTrader/types/controllers/LocationController.d.ts b/TypeScript/13AddTrader/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/13AddTrader/types/controllers/LocationController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/13AddTrader/types/controllers/MatchController.d.ts b/TypeScript/13AddTrader/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/13AddTrader/types/controllers/MatchController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/13AddTrader/types/controllers/NoteController.d.ts b/TypeScript/13AddTrader/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/13AddTrader/types/controllers/NoteController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/13AddTrader/types/controllers/NotifierController.d.ts b/TypeScript/13AddTrader/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/13AddTrader/types/controllers/NotifierController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/13AddTrader/types/controllers/PresetController.d.ts b/TypeScript/13AddTrader/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/13AddTrader/types/controllers/PresetController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/13AddTrader/types/controllers/ProfileController.d.ts b/TypeScript/13AddTrader/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/13AddTrader/types/controllers/ProfileController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/13AddTrader/types/controllers/QuestController.d.ts b/TypeScript/13AddTrader/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/13AddTrader/types/controllers/QuestController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/13AddTrader/types/controllers/RagfairController.d.ts b/TypeScript/13AddTrader/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/13AddTrader/types/controllers/RagfairController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/13AddTrader/types/controllers/RepairController.d.ts b/TypeScript/13AddTrader/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/13AddTrader/types/controllers/RepairController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/13AddTrader/types/controllers/RepeatableQuestController.d.ts b/TypeScript/13AddTrader/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/13AddTrader/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/13AddTrader/types/controllers/TradeController.d.ts b/TypeScript/13AddTrader/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/13AddTrader/types/controllers/TradeController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/13AddTrader/types/controllers/TraderController.d.ts b/TypeScript/13AddTrader/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/13AddTrader/types/controllers/TraderController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/13AddTrader/types/controllers/WeatherController.d.ts b/TypeScript/13AddTrader/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/13AddTrader/types/controllers/WeatherController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/13AddTrader/types/controllers/WishlistController.d.ts b/TypeScript/13AddTrader/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/13AddTrader/types/controllers/WishlistController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/13AddTrader/types/di/Router.d.ts b/TypeScript/13AddTrader/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/13AddTrader/types/di/Router.d.ts +++ b/TypeScript/13AddTrader/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/13AddTrader/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/13AddTrader/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/13AddTrader/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/13AddTrader/types/generators/BotGenerator.d.ts b/TypeScript/13AddTrader/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/13AddTrader/types/generators/BotGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/generators/BotInventoryGenerator.d.ts b/TypeScript/13AddTrader/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/13AddTrader/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/generators/BotLevelGenerator.d.ts b/TypeScript/13AddTrader/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/13AddTrader/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/13AddTrader/types/generators/BotLootGenerator.d.ts b/TypeScript/13AddTrader/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/13AddTrader/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/generators/BotWeaponGenerator.d.ts b/TypeScript/13AddTrader/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/13AddTrader/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/13AddTrader/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/13AddTrader/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/13AddTrader/types/generators/LocationGenerator.d.ts b/TypeScript/13AddTrader/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/13AddTrader/types/generators/LocationGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/13AddTrader/types/generators/LootGenerator.d.ts b/TypeScript/13AddTrader/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/13AddTrader/types/generators/LootGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/13AddTrader/types/generators/PMCLootGenerator.d.ts b/TypeScript/13AddTrader/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/13AddTrader/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/13AddTrader/types/generators/PlayerScavGenerator.d.ts b/TypeScript/13AddTrader/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/13AddTrader/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/13AddTrader/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/13AddTrader/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/13AddTrader/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/13AddTrader/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/13AddTrader/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/13AddTrader/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/13AddTrader/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/13AddTrader/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/13AddTrader/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/13AddTrader/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/13AddTrader/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/13AddTrader/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/13AddTrader/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/13AddTrader/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/13AddTrader/types/generators/WeatherGenerator.d.ts b/TypeScript/13AddTrader/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/13AddTrader/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/13AddTrader/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/13AddTrader/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/13AddTrader/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/13AddTrader/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/13AddTrader/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/13AddTrader/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/13AddTrader/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/13AddTrader/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/13AddTrader/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/13AddTrader/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/13AddTrader/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/13AddTrader/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/13AddTrader/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/13AddTrader/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/13AddTrader/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/13AddTrader/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/13AddTrader/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/13AddTrader/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/13AddTrader/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/13AddTrader/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/13AddTrader/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/13AddTrader/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/13AddTrader/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/13AddTrader/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/13AddTrader/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/13AddTrader/types/helpers/AssortHelper.d.ts b/TypeScript/13AddTrader/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/13AddTrader/types/helpers/AssortHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/13AddTrader/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/13AddTrader/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/13AddTrader/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/13AddTrader/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/13AddTrader/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/13AddTrader/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/13AddTrader/types/helpers/BotHelper.d.ts b/TypeScript/13AddTrader/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/13AddTrader/types/helpers/BotHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/13AddTrader/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/13AddTrader/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/13AddTrader/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/13AddTrader/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/13AddTrader/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/13AddTrader/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/13AddTrader/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/13AddTrader/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/13AddTrader/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/13AddTrader/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/13AddTrader/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/13AddTrader/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/13AddTrader/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/13AddTrader/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/13AddTrader/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/13AddTrader/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/13AddTrader/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/13AddTrader/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/13AddTrader/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/13AddTrader/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/13AddTrader/types/helpers/DialogueHelper.d.ts b/TypeScript/13AddTrader/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/13AddTrader/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/13AddTrader/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/13AddTrader/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/13AddTrader/types/helpers/GameEventHelper.d.ts b/TypeScript/13AddTrader/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/13AddTrader/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/13AddTrader/types/helpers/HandbookHelper.d.ts b/TypeScript/13AddTrader/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/13AddTrader/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/13AddTrader/types/helpers/HealthHelper.d.ts b/TypeScript/13AddTrader/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/13AddTrader/types/helpers/HealthHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/13AddTrader/types/helpers/HideoutHelper.d.ts b/TypeScript/13AddTrader/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/13AddTrader/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/helpers/HttpServerHelper.d.ts b/TypeScript/13AddTrader/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/13AddTrader/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/13AddTrader/types/helpers/InRaidHelper.d.ts b/TypeScript/13AddTrader/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/13AddTrader/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/13AddTrader/types/helpers/InventoryHelper.d.ts b/TypeScript/13AddTrader/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/13AddTrader/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/13AddTrader/types/helpers/ItemHelper.d.ts b/TypeScript/13AddTrader/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/13AddTrader/types/helpers/ItemHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/helpers/NotificationSendHelper.d.ts b/TypeScript/13AddTrader/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/13AddTrader/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/13AddTrader/types/helpers/NotifierHelper.d.ts b/TypeScript/13AddTrader/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/13AddTrader/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/13AddTrader/types/helpers/PaymentHelper.d.ts b/TypeScript/13AddTrader/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/13AddTrader/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/13AddTrader/types/helpers/PresetHelper.d.ts b/TypeScript/13AddTrader/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/13AddTrader/types/helpers/PresetHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/13AddTrader/types/helpers/ProbabilityHelper.d.ts b/TypeScript/13AddTrader/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/13AddTrader/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/13AddTrader/types/helpers/ProfileHelper.d.ts b/TypeScript/13AddTrader/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/13AddTrader/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/13AddTrader/types/helpers/QuestConditionHelper.d.ts b/TypeScript/13AddTrader/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/13AddTrader/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/13AddTrader/types/helpers/QuestHelper.d.ts b/TypeScript/13AddTrader/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/13AddTrader/types/helpers/QuestHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/13AddTrader/types/helpers/RagfairHelper.d.ts b/TypeScript/13AddTrader/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/13AddTrader/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/13AddTrader/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/13AddTrader/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/13AddTrader/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/13AddTrader/types/helpers/RagfairSellHelper.d.ts b/TypeScript/13AddTrader/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/13AddTrader/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/13AddTrader/types/helpers/RagfairServerHelper.d.ts b/TypeScript/13AddTrader/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/13AddTrader/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/13AddTrader/types/helpers/RagfairSortHelper.d.ts b/TypeScript/13AddTrader/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/13AddTrader/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/13AddTrader/types/helpers/RepairHelper.d.ts b/TypeScript/13AddTrader/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/13AddTrader/types/helpers/RepairHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/13AddTrader/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/13AddTrader/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/13AddTrader/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/13AddTrader/types/helpers/SecureContainerHelper.d.ts b/TypeScript/13AddTrader/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/13AddTrader/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/13AddTrader/types/helpers/TradeHelper.d.ts b/TypeScript/13AddTrader/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/13AddTrader/types/helpers/TradeHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/13AddTrader/types/helpers/TraderAssortHelper.d.ts b/TypeScript/13AddTrader/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/13AddTrader/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/13AddTrader/types/helpers/TraderHelper.d.ts b/TypeScript/13AddTrader/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/13AddTrader/types/helpers/TraderHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/13AddTrader/types/loaders/BundleLoader.d.ts b/TypeScript/13AddTrader/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/13AddTrader/types/loaders/BundleLoader.d.ts +++ b/TypeScript/13AddTrader/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/13AddTrader/types/loaders/ModLoadOrder.d.ts b/TypeScript/13AddTrader/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/13AddTrader/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/13AddTrader/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/13AddTrader/types/loaders/ModTypeCheck.d.ts b/TypeScript/13AddTrader/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/13AddTrader/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/13AddTrader/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/13AddTrader/types/loaders/PostAkiModLoader.d.ts b/TypeScript/13AddTrader/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/13AddTrader/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/13AddTrader/types/loaders/PostDBModLoader.d.ts b/TypeScript/13AddTrader/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/13AddTrader/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/13AddTrader/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/13AddTrader/types/loaders/PostSptModLoader.d.ts b/TypeScript/13AddTrader/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/13AddTrader/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/13AddTrader/types/loaders/PreAkiModLoader.d.ts b/TypeScript/13AddTrader/types/loaders/PreSptModLoader.d.ts similarity index 78% rename from TypeScript/13AddTrader/types/loaders/PreAkiModLoader.d.ts rename to TypeScript/13AddTrader/types/loaders/PreSptModLoader.d.ts index 0d297d9..bc846c8 100644 --- a/TypeScript/13AddTrader/types/loaders/PreAkiModLoader.d.ts +++ b/TypeScript/13AddTrader/types/loaders/PreSptModLoader.d.ts @@ -1,17 +1,17 @@ import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { protected logger: ILogger; protected vfs: VFS; protected jsonUtil: JsonUtil; @@ -25,7 +25,7 @@ export declare class PreAkiModLoader implements IModLoader { protected readonly modOrderPath = "user/mods/order.json"; protected order: Record; protected imported: Record; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected serverDependencies: Record; protected skippedMods: Set; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); @@ -60,10 +60,10 @@ export declare class PreAkiModLoader implements IModLoader { protected getModsPackageData(mods: string[]): Map; /** * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI + * @param mod Mod to check compatibiltiy with SPT * @returns True if compatible */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; /** * Execute each mod found in this.imported * @returns void promise diff --git a/TypeScript/13AddTrader/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/13AddTrader/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/13AddTrader/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/13AddTrader/types/models/eft/common/IGlobals.d.ts b/TypeScript/13AddTrader/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/13AddTrader/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/13AddTrader/types/models/eft/common/ILocation.d.ts b/TypeScript/13AddTrader/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/13AddTrader/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/13AddTrader/types/models/eft/common/ILocationBase.d.ts b/TypeScript/13AddTrader/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/13AddTrader/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/13AddTrader/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/13AddTrader/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/13AddTrader/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/13AddTrader/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/13AddTrader/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/13AddTrader/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/13AddTrader/types/models/eft/common/IPmcData.d.ts b/TypeScript/13AddTrader/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/13AddTrader/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/13AddTrader/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/13AddTrader/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/13AddTrader/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/13AddTrader/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/13AddTrader/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/13AddTrader/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/13AddTrader/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/13AddTrader/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/13AddTrader/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/13AddTrader/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/13AddTrader/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/13AddTrader/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/13AddTrader/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/13AddTrader/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/13AddTrader/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/13AddTrader/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/13AddTrader/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/13AddTrader/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/13AddTrader/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/13AddTrader/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/13AddTrader/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/13AddTrader/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/13AddTrader/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/13AddTrader/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/13AddTrader/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/13AddTrader/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/13AddTrader/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/13AddTrader/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/13AddTrader/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/13AddTrader/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/13AddTrader/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/13AddTrader/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/13AddTrader/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/13AddTrader/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/13AddTrader/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/13AddTrader/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/13AddTrader/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/13AddTrader/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/13AddTrader/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/13AddTrader/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/13AddTrader/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/13AddTrader/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/13AddTrader/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/13AddTrader/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/13AddTrader/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/13AddTrader/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/13AddTrader/types/models/eft/hideout/IQteData.d.ts b/TypeScript/13AddTrader/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/13AddTrader/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/13AddTrader/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/13AddTrader/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/13AddTrader/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/13AddTrader/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/13AddTrader/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/13AddTrader/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/13AddTrader/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/13AddTrader/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/13AddTrader/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/13AddTrader/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/13AddTrader/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/13AddTrader/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/13AddTrader/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/13AddTrader/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/13AddTrader/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/13AddTrader/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/13AddTrader/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/13AddTrader/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/13AddTrader/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/13AddTrader/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/13AddTrader/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/13AddTrader/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/13AddTrader/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/13AddTrader/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/13AddTrader/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/13AddTrader/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/13AddTrader/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/13AddTrader/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/13AddTrader/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/13AddTrader/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/13AddTrader/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/13AddTrader/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/13AddTrader/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/13AddTrader/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/13AddTrader/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/13AddTrader/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/13AddTrader/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/13AddTrader/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/13AddTrader/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/13AddTrader/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/13AddTrader/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/13AddTrader/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/13AddTrader/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/13AddTrader/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/13AddTrader/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/13AddTrader/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/13AddTrader/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/13AddTrader/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/13AddTrader/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/13AddTrader/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/13AddTrader/types/models/eft/profile/ISptProfile.d.ts similarity index 91% rename from TypeScript/11BundleLoadingSample/types/models/eft/profile/IAkiProfile.d.ts rename to TypeScript/13AddTrader/types/models/eft/profile/ISptProfile.d.ts index a6d06bb..f6e6379 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/profile/IAkiProfile.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/profile/ISptProfile.d.ts @@ -1,17 +1,17 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { info: Info; characters: Characters; /** Clothing purchases */ suits: string[]; userbuilds: IUserBuilds; dialogues: Record; - aki: Aki; + spt: Spt; vitality: Vitality; inraid: Inraid; insurance: Insurance[]; @@ -159,7 +159,7 @@ export interface DateTime { date: string; time: string; } -export interface Aki { +export interface Spt { version: string; mods?: ModDetails[]; receivedGifts: ReceivedGift[]; diff --git a/TypeScript/13AddTrader/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/13AddTrader/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/13AddTrader/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/13AddTrader/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/13AddTrader/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/13AddTrader/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/13AddTrader/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/13AddTrader/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/13AddTrader/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/13AddTrader/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/13AddTrader/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/13AddTrader/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/13AddTrader/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/13AddTrader/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/13AddTrader/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/13AddTrader/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/13AddTrader/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/13AddTrader/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/13AddTrader/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/13AddTrader/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/13AddTrader/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/13AddTrader/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/13AddTrader/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/13AddTrader/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/13AddTrader/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/13AddTrader/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/13AddTrader/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/13AddTrader/types/models/eft/ws/IWsAid.d.ts b/TypeScript/13AddTrader/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/13AddTrader/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/13AddTrader/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/13AddTrader/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/13AddTrader/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/13AddTrader/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/13AddTrader/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/13AddTrader/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/13AddTrader/types/models/eft/ws/IWsPing.d.ts b/TypeScript/13AddTrader/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/13AddTrader/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/13AddTrader/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/13AddTrader/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/13AddTrader/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/13AddTrader/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/13AddTrader/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/13AddTrader/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/13AddTrader/types/models/enums/ConfigTypes.d.ts b/TypeScript/13AddTrader/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/13AddTrader/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/13AddTrader/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/13AddTrader/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/13AddTrader/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/13AddTrader/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/13AddTrader/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/13AddTrader/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/13AddTrader/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/13AddTrader/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/13AddTrader/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/13AddTrader/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/13AddTrader/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/13AddTrader/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/13AddTrader/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/13AddTrader/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/13AddTrader/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/13AddTrader/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/13AddTrader/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/13AddTrader/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/13AddTrader/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/13AddTrader/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/13AddTrader/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/13AddTrader/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/13AddTrader/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/13AddTrader/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/13AddTrader/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/13AddTrader/types/models/spt/bindings/Route.d.ts b/TypeScript/13AddTrader/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/13AddTrader/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/13AddTrader/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/13AddTrader/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/13AddTrader/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/13AddTrader/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/13AddTrader/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/13AddTrader/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/13AddTrader/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/13AddTrader/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/13AddTrader/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/13AddTrader/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/13AddTrader/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/13AddTrader/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/13AddTrader/types/models/spt/config/IBotConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/13AddTrader/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/13AddTrader/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/13AddTrader/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/13AddTrader/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/13AddTrader/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/13AddTrader/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/13AddTrader/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/13AddTrader/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/13AddTrader/types/models/spt/config/IItemConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/13AddTrader/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/13AddTrader/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/13AddTrader/types/models/spt/config/ILootConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/13AddTrader/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/13AddTrader/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/13AddTrader/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/13AddTrader/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/13AddTrader/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/13AddTrader/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/13AddTrader/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/13AddTrader/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/13AddTrader/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/13AddTrader/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/13AddTrader/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/13AddTrader/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/13AddTrader/types/models/spt/controllers/IBotController.d.ts b/TypeScript/13AddTrader/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/13AddTrader/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/13AddTrader/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/13AddTrader/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/13AddTrader/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/13AddTrader/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/13AddTrader/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/13AddTrader/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/13AddTrader/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/13AddTrader/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/13AddTrader/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/13AddTrader/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/13AddTrader/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/13AddTrader/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/13AddTrader/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/13AddTrader/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/13AddTrader/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/13AddTrader/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/13AddTrader/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/13AddTrader/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/13AddTrader/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/13AddTrader/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/13AddTrader/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/13AddTrader/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/13AddTrader/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/13AddTrader/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/13AddTrader/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/13AddTrader/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/13AddTrader/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/13AddTrader/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/13AddTrader/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/13AddTrader/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/13AddTrader/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/13AddTrader/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/13AddTrader/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/13AddTrader/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/13AddTrader/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/13AddTrader/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/13AddTrader/types/models/spt/server/ILocations.d.ts b/TypeScript/13AddTrader/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/13AddTrader/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/13AddTrader/types/models/spt/services/CustomPreset.d.ts b/TypeScript/13AddTrader/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/13AddTrader/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/13AddTrader/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/13AddTrader/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/13AddTrader/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/13AddTrader/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/13AddTrader/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/13AddTrader/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/13AddTrader/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/13AddTrader/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/13AddTrader/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/13AddTrader/types/models/spt/services/LootRequest.d.ts b/TypeScript/13AddTrader/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/13AddTrader/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/13AddTrader/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/13AddTrader/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/13AddTrader/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/13AddTrader/types/models/spt/utils/ILogger.d.ts b/TypeScript/13AddTrader/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/13AddTrader/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/13AddTrader/types/routers/EventOutputHolder.d.ts b/TypeScript/13AddTrader/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/13AddTrader/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/13AddTrader/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/13AddTrader/types/routers/HttpRouter.d.ts b/TypeScript/13AddTrader/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/13AddTrader/types/routers/HttpRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/13AddTrader/types/routers/ImageRouter.d.ts b/TypeScript/13AddTrader/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/13AddTrader/types/routers/ImageRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/13AddTrader/types/routers/ItemEventRouter.d.ts b/TypeScript/13AddTrader/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/13AddTrader/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/13AddTrader/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/13AddTrader/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/13AddTrader/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/13AddTrader/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/13AddTrader/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/13AddTrader/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/13AddTrader/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/13AddTrader/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/13AddTrader/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/13AddTrader/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/13AddTrader/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/13AddTrader/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/13AddTrader/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/13AddTrader/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/13AddTrader/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/13AddTrader/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/13AddTrader/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/13AddTrader/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/13AddTrader/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/13AddTrader/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/13AddTrader/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/13AddTrader/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/13AddTrader/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/13AddTrader/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/13AddTrader/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/13AddTrader/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/13AddTrader/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/13AddTrader/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/13AddTrader/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/13AddTrader/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/13AddTrader/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/13AddTrader/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/13AddTrader/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/13AddTrader/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/13AddTrader/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/13AddTrader/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/13AddTrader/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/13AddTrader/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/13AddTrader/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/13AddTrader/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/13AddTrader/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/13AddTrader/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/13AddTrader/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/13AddTrader/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/13AddTrader/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/13AddTrader/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/13AddTrader/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/13AddTrader/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/13AddTrader/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/13AddTrader/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/13AddTrader/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/13AddTrader/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/13AddTrader/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/13AddTrader/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/13AddTrader/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/13AddTrader/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/13AddTrader/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/13AddTrader/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/13AddTrader/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/13AddTrader/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/13AddTrader/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/13AddTrader/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/13AddTrader/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/13AddTrader/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/13AddTrader/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/13AddTrader/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/13AddTrader/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/13AddTrader/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/13AddTrader/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/BotStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/13AddTrader/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/13AddTrader/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/13AddTrader/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/13AddTrader/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/13AddTrader/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/DataStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/13AddTrader/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/13AddTrader/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/GameStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/13AddTrader/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/13AddTrader/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/13AddTrader/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/13AddTrader/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/13AddTrader/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/13AddTrader/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/13AddTrader/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/13AddTrader/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/13AddTrader/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/13AddTrader/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/13AddTrader/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/13AddTrader/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/13AddTrader/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/13AddTrader/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/13AddTrader/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/13AddTrader/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/13AddTrader/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/13AddTrader/types/servers/ConfigServer.d.ts b/TypeScript/13AddTrader/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/13AddTrader/types/servers/ConfigServer.d.ts +++ b/TypeScript/13AddTrader/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/13AddTrader/types/servers/DatabaseServer.d.ts b/TypeScript/13AddTrader/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/13AddTrader/types/servers/DatabaseServer.d.ts +++ b/TypeScript/13AddTrader/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/13AddTrader/types/servers/HttpServer.d.ts b/TypeScript/13AddTrader/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/13AddTrader/types/servers/HttpServer.d.ts +++ b/TypeScript/13AddTrader/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/13AddTrader/types/servers/RagfairServer.d.ts b/TypeScript/13AddTrader/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/13AddTrader/types/servers/RagfairServer.d.ts +++ b/TypeScript/13AddTrader/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/13AddTrader/types/servers/SaveServer.d.ts b/TypeScript/13AddTrader/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/13AddTrader/types/servers/SaveServer.d.ts +++ b/TypeScript/13AddTrader/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/13AddTrader/types/servers/WebSocketServer.d.ts b/TypeScript/13AddTrader/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/13AddTrader/types/servers/WebSocketServer.d.ts +++ b/TypeScript/13AddTrader/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/13AddTrader/types/servers/http/AkiHttpListener.d.ts b/TypeScript/13AddTrader/types/servers/http/SptHttpListener.d.ts similarity index 74% rename from TypeScript/13AddTrader/types/servers/http/AkiHttpListener.d.ts rename to TypeScript/13AddTrader/types/servers/http/SptHttpListener.d.ts index 4ccdcf6..ef68143 100644 --- a/TypeScript/13AddTrader/types/servers/http/AkiHttpListener.d.ts +++ b/TypeScript/13AddTrader/types/servers/http/SptHttpListener.d.ts @@ -1,14 +1,14 @@ /// /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { protected httpRouter: HttpRouter; protected serializers: Serializer[]; protected logger: ILogger; diff --git a/TypeScript/11BundleLoadingSample/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/13AddTrader/types/servers/ws/SptWebSocketConnectionHandler.d.ts similarity index 55% rename from TypeScript/11BundleLoadingSample/types/servers/ws/AkiWebSocketConnectionHandler.d.ts rename to TypeScript/13AddTrader/types/servers/ws/SptWebSocketConnectionHandler.d.ts index b0b354a..10c8a74 100644 --- a/TypeScript/11BundleLoadingSample/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ b/TypeScript/13AddTrader/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -1,27 +1,27 @@ /// import { IncomingMessage } from "http"; import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { protected logger: ILogger; protected profileHelper: ProfileHelper; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; protected httpConfig: IHttpConfig; protected webSockets: Map; protected defaultNotification: IWsNotificationEvent; protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); getSocketId(): string; getHookUrl(): string; onConnection(ws: WebSocket, req: IncomingMessage): void; diff --git a/TypeScript/13AddTrader/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/13AddTrader/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/13AddTrader/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/13AddTrader/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/13AddTrader/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/13AddTrader/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/13AddTrader/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/13AddTrader/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/13AddTrader/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/13AddTrader/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/13AddTrader/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/13AddTrader/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/13AddTrader/types/services/BotEquipmentFilterService.d.ts b/TypeScript/13AddTrader/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/13AddTrader/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/13AddTrader/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/13AddTrader/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/13AddTrader/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/13AddTrader/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/13AddTrader/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/13AddTrader/types/services/BotGenerationCacheService.d.ts b/TypeScript/13AddTrader/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/13AddTrader/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/13AddTrader/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/13AddTrader/types/services/BotLootCacheService.d.ts b/TypeScript/13AddTrader/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/13AddTrader/types/services/BotLootCacheService.d.ts +++ b/TypeScript/13AddTrader/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/13AddTrader/types/services/BotWeaponModLimitService.d.ts b/TypeScript/13AddTrader/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/13AddTrader/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/13AddTrader/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/13AddTrader/types/services/CustomLocationWaveService.d.ts b/TypeScript/13AddTrader/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/13AddTrader/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/13AddTrader/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/13AddTrader/types/services/FenceService.d.ts b/TypeScript/13AddTrader/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/13AddTrader/types/services/FenceService.d.ts +++ b/TypeScript/13AddTrader/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/13AddTrader/types/services/GiftService.d.ts b/TypeScript/13AddTrader/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/13AddTrader/types/services/GiftService.d.ts +++ b/TypeScript/13AddTrader/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/13AddTrader/types/services/InsuranceService.d.ts b/TypeScript/13AddTrader/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/13AddTrader/types/services/InsuranceService.d.ts +++ b/TypeScript/13AddTrader/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/13AddTrader/types/services/ItemBaseClassService.d.ts b/TypeScript/13AddTrader/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/13AddTrader/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/13AddTrader/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/13AddTrader/types/services/ItemFilterService.d.ts b/TypeScript/13AddTrader/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/13AddTrader/types/services/ItemFilterService.d.ts +++ b/TypeScript/13AddTrader/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/13AddTrader/types/services/LocaleService.d.ts b/TypeScript/13AddTrader/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/13AddTrader/types/services/LocaleService.d.ts +++ b/TypeScript/13AddTrader/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/13AddTrader/types/services/LocalisationService.d.ts b/TypeScript/13AddTrader/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/13AddTrader/types/services/LocalisationService.d.ts +++ b/TypeScript/13AddTrader/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/13AddTrader/types/services/MailSendService.d.ts b/TypeScript/13AddTrader/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/13AddTrader/types/services/MailSendService.d.ts +++ b/TypeScript/13AddTrader/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/13AddTrader/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/13AddTrader/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/13AddTrader/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/13AddTrader/types/services/MatchLocationService.d.ts b/TypeScript/13AddTrader/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/13AddTrader/types/services/MatchLocationService.d.ts +++ b/TypeScript/13AddTrader/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/13AddTrader/types/services/ModCompilerService.d.ts b/TypeScript/13AddTrader/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/13AddTrader/types/services/ModCompilerService.d.ts +++ b/TypeScript/13AddTrader/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/13AddTrader/types/services/NotificationService.d.ts b/TypeScript/13AddTrader/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/13AddTrader/types/services/NotificationService.d.ts +++ b/TypeScript/13AddTrader/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/13AddTrader/types/services/OpenZoneService.d.ts b/TypeScript/13AddTrader/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/13AddTrader/types/services/OpenZoneService.d.ts +++ b/TypeScript/13AddTrader/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/13AddTrader/types/services/PaymentService.d.ts b/TypeScript/13AddTrader/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/13AddTrader/types/services/PaymentService.d.ts +++ b/TypeScript/13AddTrader/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/services/PlayerService.d.ts b/TypeScript/13AddTrader/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/13AddTrader/types/services/PlayerService.d.ts +++ b/TypeScript/13AddTrader/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/13AddTrader/types/services/PmcChatResponseService.d.ts b/TypeScript/13AddTrader/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/13AddTrader/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/13AddTrader/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/services/ProfileFixerService.d.ts b/TypeScript/13AddTrader/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/13AddTrader/types/services/ProfileFixerService.d.ts +++ b/TypeScript/13AddTrader/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/13AddTrader/types/services/ProfileSnapshotService.d.ts b/TypeScript/13AddTrader/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/13AddTrader/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/13AddTrader/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/13AddTrader/types/services/RagfairCategoriesService.d.ts b/TypeScript/13AddTrader/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/13AddTrader/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/13AddTrader/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/13AddTrader/types/services/RagfairLinkedItemService.d.ts b/TypeScript/13AddTrader/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/13AddTrader/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/13AddTrader/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/13AddTrader/types/services/RagfairOfferService.d.ts b/TypeScript/13AddTrader/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/13AddTrader/types/services/RagfairOfferService.d.ts +++ b/TypeScript/13AddTrader/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/13AddTrader/types/services/RagfairPriceService.d.ts b/TypeScript/13AddTrader/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/13AddTrader/types/services/RagfairPriceService.d.ts +++ b/TypeScript/13AddTrader/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/13AddTrader/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/13AddTrader/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/13AddTrader/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/13AddTrader/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/13AddTrader/types/services/RagfairTaxService.d.ts b/TypeScript/13AddTrader/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/13AddTrader/types/services/RagfairTaxService.d.ts +++ b/TypeScript/13AddTrader/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/13AddTrader/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/13AddTrader/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/13AddTrader/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/13AddTrader/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/13AddTrader/types/services/RepairService.d.ts b/TypeScript/13AddTrader/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/13AddTrader/types/services/RepairService.d.ts +++ b/TypeScript/13AddTrader/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/13AddTrader/types/services/SeasonalEventService.d.ts b/TypeScript/13AddTrader/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/13AddTrader/types/services/SeasonalEventService.d.ts +++ b/TypeScript/13AddTrader/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/13AddTrader/types/services/TraderAssortService.d.ts b/TypeScript/13AddTrader/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/13AddTrader/types/services/TraderAssortService.d.ts +++ b/TypeScript/13AddTrader/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/13AddTrader/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/13AddTrader/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/13AddTrader/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/13AddTrader/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/13AddTrader/types/services/TraderServicesService.d.ts b/TypeScript/13AddTrader/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/13AddTrader/types/services/TraderServicesService.d.ts +++ b/TypeScript/13AddTrader/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/13AddTrader/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/13AddTrader/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/13AddTrader/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/13AddTrader/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/services/cache/ModHashCacheService.d.ts b/TypeScript/13AddTrader/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/13AddTrader/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/13AddTrader/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/services/mod/CustomItemService.d.ts b/TypeScript/13AddTrader/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/13AddTrader/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/13AddTrader/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/13AddTrader/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/13AddTrader/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/13AddTrader/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/13AddTrader/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/13AddTrader/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/13AddTrader/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/13AddTrader/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/13AddTrader/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/13AddTrader/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/13AddTrader/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/13AddTrader/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/13AddTrader/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/13AddTrader/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/13AddTrader/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/13AddTrader/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/13AddTrader/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/13AddTrader/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/13AddTrader/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/13AddTrader/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/13AddTrader/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/13AddTrader/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/13AddTrader/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/13AddTrader/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/13AddTrader/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/13AddTrader/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/13AddTrader/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/13AddTrader/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/13AddTrader/types/utils/App.d.ts b/TypeScript/13AddTrader/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/13AddTrader/types/utils/App.d.ts +++ b/TypeScript/13AddTrader/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/13AddTrader/types/utils/AsyncQueue.d.ts b/TypeScript/13AddTrader/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/13AddTrader/types/utils/AsyncQueue.d.ts +++ b/TypeScript/13AddTrader/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/13AddTrader/types/utils/DatabaseImporter.d.ts b/TypeScript/13AddTrader/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/13AddTrader/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/13AddTrader/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/13AddTrader/types/utils/HashUtil.d.ts b/TypeScript/13AddTrader/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/13AddTrader/types/utils/HashUtil.d.ts +++ b/TypeScript/13AddTrader/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/13AddTrader/types/utils/HttpFileUtil.d.ts b/TypeScript/13AddTrader/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/13AddTrader/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/13AddTrader/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/13AddTrader/types/utils/HttpResponseUtil.d.ts b/TypeScript/13AddTrader/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/13AddTrader/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/13AddTrader/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/13AddTrader/types/utils/ImporterUtil.d.ts b/TypeScript/13AddTrader/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/13AddTrader/types/utils/ImporterUtil.d.ts +++ b/TypeScript/13AddTrader/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/13AddTrader/types/utils/JsonUtil.d.ts b/TypeScript/13AddTrader/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/13AddTrader/types/utils/JsonUtil.d.ts +++ b/TypeScript/13AddTrader/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/13AddTrader/types/utils/ObjectId.d.ts b/TypeScript/13AddTrader/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/13AddTrader/types/utils/ObjectId.d.ts +++ b/TypeScript/13AddTrader/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/13AddTrader/types/utils/RagfairOfferHolder.d.ts b/TypeScript/13AddTrader/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/13AddTrader/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/13AddTrader/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/13AddTrader/types/utils/RandomUtil.d.ts b/TypeScript/13AddTrader/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/13AddTrader/types/utils/RandomUtil.d.ts +++ b/TypeScript/13AddTrader/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/13AddTrader/types/utils/VFS.d.ts b/TypeScript/13AddTrader/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/13AddTrader/types/utils/VFS.d.ts +++ b/TypeScript/13AddTrader/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/13AddTrader/types/utils/Watermark.d.ts b/TypeScript/13AddTrader/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/13AddTrader/types/utils/Watermark.d.ts +++ b/TypeScript/13AddTrader/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/13AddTrader/types/utils/cloners/JsonCloner.d.ts b/TypeScript/13AddTrader/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/13AddTrader/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/13AddTrader/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/13AddTrader/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/13AddTrader/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/13AddTrader/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/13AddTrader/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/13AddTrader/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/13AddTrader/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/13AddTrader/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/13AddTrader/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/13AddTrader/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/13AddTrader/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/13AddTrader/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/13AddTrader/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/13AddTrader/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/13AddTrader/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/13AddTrader/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/13AddTrader/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/13AddTrader/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/13AddTrader/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/13AddTrader/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/13AddTrader/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/14AfterDBLoadHook/README.md b/TypeScript/14AfterDBLoadHook/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/14AfterDBLoadHook/README.md +++ b/TypeScript/14AfterDBLoadHook/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/14AfterDBLoadHook/package.json b/TypeScript/14AfterDBLoadHook/package.json index 8152217..54ee2cf 100644 --- a/TypeScript/14AfterDBLoadHook/package.json +++ b/TypeScript/14AfterDBLoadHook/package.json @@ -1,7 +1,7 @@ { "name": "AfterDBLoadHook", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/14AfterDBLoadHook/src/mod.ts b/TypeScript/14AfterDBLoadHook/src/mod.ts index 1f4ee95..4db8b04 100644 --- a/TypeScript/14AfterDBLoadHook/src/mod.ts +++ b/TypeScript/14AfterDBLoadHook/src/mod.ts @@ -1,17 +1,17 @@ import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; -class Mod implements IPreAkiLoadMod, IPostAkiLoadMod, IPostDBLoadMod +class Mod implements IPreSptLoadMod, IPostSptLoadMod, IPostDBLoadMod { - public preAkiLoad(container: DependencyContainer): void { + public preSptLoad(container: DependencyContainer): void { // Database will be empty in here const databaseServer = container.resolve("DatabaseServer"); const logger = container.resolve("WinstonLogger"); @@ -19,12 +19,12 @@ class Mod implements IPreAkiLoadMod, IPostAkiLoadMod, IPostDBLoadMod } public postDBLoad(container: DependencyContainer): void { - // Database will be loaded, this is the fresh state of the DB so NOTHING from the AKI + // Database will be loaded, this is the fresh state of the DB so NOTHING from the SPT // logic has modified anything yet. This is the DB loaded straight from the JSON files const databaseServer = container.resolve("DatabaseServer"); const logger = container.resolve("WinstonLogger"); logger.logWithColor(`Database item size: ${Object.entries(databaseServer.getTables().templates.items).length}`, LogTextColor.RED, LogBackgroundColor.YELLOW); - // lets do a quick modification and see how this reflect later on, on the postAkiLoad() + // lets do a quick modification and see how this reflect later on, on the postSptLoad() // find the nvgs item by its Id const nvgs = databaseServer.getTables().templates.items["5c0558060db834001b735271"]; @@ -34,9 +34,9 @@ class Mod implements IPreAkiLoadMod, IPostAkiLoadMod, IPostDBLoadMod nvgs._props.CanSellOnRagfair = true; } - public postAkiLoad(container: DependencyContainer): void { - // The modification we made above would have been processed by now by AKI, so any values we changed had - // already been passed through the initial lifecycles (OnLoad) of AKI. + public postSptLoad(container: DependencyContainer): void { + // The modification we made above would have been processed by now by SPT, so any values we changed had + // already been passed through the initial lifecycles (OnLoad) of SPT. const databaseServer = container.resolve("DatabaseServer"); const logger = container.resolve("WinstonLogger"); diff --git a/TypeScript/14AfterDBLoadHook/tsconfig.json b/TypeScript/14AfterDBLoadHook/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/14AfterDBLoadHook/tsconfig.json +++ b/TypeScript/14AfterDBLoadHook/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/BotCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/BundleCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/DataCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/GameCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/HealthCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/HttpCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/InraidCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/LocationCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/MatchCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/ModCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/NoteCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/PresetCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/QuestCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/RepairCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/SaveCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/TradeCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/TraderCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/14AfterDBLoadHook/types/context/ApplicationContext.d.ts b/TypeScript/14AfterDBLoadHook/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/14AfterDBLoadHook/types/context/ApplicationContext.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/14AfterDBLoadHook/types/context/ContextVariable.d.ts b/TypeScript/14AfterDBLoadHook/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/14AfterDBLoadHook/types/context/ContextVariable.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/AchievementController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/AchievementController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/BotController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/BotController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/BuildController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/BuildController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/ClientLogController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/ClientLogController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/CustomizationController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/CustomizationController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/DialogueController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/DialogueController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/GameController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/GameController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/HandbookController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/HandbookController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/HealthController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/HealthController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/HideoutController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/HideoutController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/InraidController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/InraidController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/InsuranceController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/InsuranceController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/InventoryController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/InventoryController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/LauncherController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/LauncherController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/LocationController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/LocationController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/MatchController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/MatchController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/NoteController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/NoteController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/NotifierController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/NotifierController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/PresetController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/PresetController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/ProfileController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/ProfileController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/QuestController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/QuestController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/RagfairController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/RagfairController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/RepairController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/RepairController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/RepeatableQuestController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/TradeController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/TradeController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/TraderController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/TraderController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/WeatherController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/WeatherController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/WishlistController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/WishlistController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/14AfterDBLoadHook/types/di/Router.d.ts b/TypeScript/14AfterDBLoadHook/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/14AfterDBLoadHook/types/di/Router.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/14AfterDBLoadHook/types/generators/BotGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/BotGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/BotInventoryGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/BotLevelGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/BotLootGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/BotWeaponGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/14AfterDBLoadHook/types/generators/LocationGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/LocationGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/LootGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/LootGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/PMCLootGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/14AfterDBLoadHook/types/generators/PlayerScavGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/14AfterDBLoadHook/types/generators/WeatherGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/AssortHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/AssortHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/BotHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/BotHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/DialogueHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/GameEventHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/HandbookHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/HealthHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/HealthHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/HideoutHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/HttpServerHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/InRaidHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/InventoryHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/ItemHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/ItemHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/NotificationSendHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/NotifierHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/PaymentHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/PresetHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/PresetHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/ProbabilityHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/ProfileHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/QuestConditionHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/QuestHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/QuestHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/RagfairHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/RagfairSellHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/RagfairServerHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/RagfairSortHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/RepairHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/RepairHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/SecureContainerHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/TradeHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/TradeHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/TraderAssortHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/TraderHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/TraderHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/14AfterDBLoadHook/types/loaders/BundleLoader.d.ts b/TypeScript/14AfterDBLoadHook/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/14AfterDBLoadHook/types/loaders/BundleLoader.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/14AfterDBLoadHook/types/loaders/ModLoadOrder.d.ts b/TypeScript/14AfterDBLoadHook/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/14AfterDBLoadHook/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/14AfterDBLoadHook/types/loaders/ModTypeCheck.d.ts b/TypeScript/14AfterDBLoadHook/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/14AfterDBLoadHook/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/14AfterDBLoadHook/types/loaders/PostAkiModLoader.d.ts b/TypeScript/14AfterDBLoadHook/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/14AfterDBLoadHook/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/14AfterDBLoadHook/types/loaders/PostDBModLoader.d.ts b/TypeScript/14AfterDBLoadHook/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/14AfterDBLoadHook/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/14AfterDBLoadHook/types/loaders/PostSptModLoader.d.ts b/TypeScript/14AfterDBLoadHook/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/14AfterDBLoadHook/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/14AfterDBLoadHook/types/loaders/PreAkiModLoader.d.ts b/TypeScript/14AfterDBLoadHook/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/14AfterDBLoadHook/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/14AfterDBLoadHook/types/loaders/PreSptModLoader.d.ts b/TypeScript/14AfterDBLoadHook/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/14AfterDBLoadHook/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/common/IGlobals.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILocation.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILocationBase.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/common/IPmcData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/hideout/IQteData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsAid.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsPing.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/enums/ConfigTypes.d.ts b/TypeScript/14AfterDBLoadHook/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/14AfterDBLoadHook/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/14AfterDBLoadHook/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/14AfterDBLoadHook/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/14AfterDBLoadHook/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/14AfterDBLoadHook/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/14AfterDBLoadHook/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/14AfterDBLoadHook/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/14AfterDBLoadHook/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/14AfterDBLoadHook/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/14AfterDBLoadHook/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/14AfterDBLoadHook/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/14AfterDBLoadHook/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/14AfterDBLoadHook/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/14AfterDBLoadHook/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/14AfterDBLoadHook/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/14AfterDBLoadHook/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/14AfterDBLoadHook/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/14AfterDBLoadHook/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/14AfterDBLoadHook/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/14AfterDBLoadHook/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/14AfterDBLoadHook/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/14AfterDBLoadHook/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/14AfterDBLoadHook/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/14AfterDBLoadHook/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/bindings/Route.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IBotConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IItemConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILootConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/controllers/IBotController.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/14AfterDBLoadHook/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/server/ILocations.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/services/CustomPreset.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/services/LootRequest.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/utils/ILogger.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/14AfterDBLoadHook/types/routers/EventOutputHolder.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/routers/HttpRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/HttpRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/14AfterDBLoadHook/types/routers/ImageRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/ImageRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/14AfterDBLoadHook/types/routers/ItemEventRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/14AfterDBLoadHook/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/14AfterDBLoadHook/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/14AfterDBLoadHook/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/14AfterDBLoadHook/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/14AfterDBLoadHook/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/14AfterDBLoadHook/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/14AfterDBLoadHook/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/BotStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/DataStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/GameStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/14AfterDBLoadHook/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/14AfterDBLoadHook/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/14AfterDBLoadHook/types/servers/ConfigServer.d.ts b/TypeScript/14AfterDBLoadHook/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/14AfterDBLoadHook/types/servers/ConfigServer.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/14AfterDBLoadHook/types/servers/DatabaseServer.d.ts b/TypeScript/14AfterDBLoadHook/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/14AfterDBLoadHook/types/servers/DatabaseServer.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/14AfterDBLoadHook/types/servers/HttpServer.d.ts b/TypeScript/14AfterDBLoadHook/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/14AfterDBLoadHook/types/servers/HttpServer.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/14AfterDBLoadHook/types/servers/RagfairServer.d.ts b/TypeScript/14AfterDBLoadHook/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/14AfterDBLoadHook/types/servers/RagfairServer.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/14AfterDBLoadHook/types/servers/SaveServer.d.ts b/TypeScript/14AfterDBLoadHook/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/14AfterDBLoadHook/types/servers/SaveServer.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/14AfterDBLoadHook/types/servers/WebSocketServer.d.ts b/TypeScript/14AfterDBLoadHook/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/14AfterDBLoadHook/types/servers/WebSocketServer.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/14AfterDBLoadHook/types/servers/http/AkiHttpListener.d.ts b/TypeScript/14AfterDBLoadHook/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/14AfterDBLoadHook/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/14AfterDBLoadHook/types/servers/http/SptHttpListener.d.ts b/TypeScript/14AfterDBLoadHook/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/14AfterDBLoadHook/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/14AfterDBLoadHook/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/14AfterDBLoadHook/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/14AfterDBLoadHook/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/14AfterDBLoadHook/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/14AfterDBLoadHook/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/14AfterDBLoadHook/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/14AfterDBLoadHook/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/14AfterDBLoadHook/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/14AfterDBLoadHook/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/14AfterDBLoadHook/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/14AfterDBLoadHook/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/14AfterDBLoadHook/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/14AfterDBLoadHook/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/14AfterDBLoadHook/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/14AfterDBLoadHook/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/14AfterDBLoadHook/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/14AfterDBLoadHook/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/14AfterDBLoadHook/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/14AfterDBLoadHook/types/services/BotEquipmentFilterService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/14AfterDBLoadHook/types/services/BotGenerationCacheService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/services/BotLootCacheService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/BotLootCacheService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/services/BotWeaponModLimitService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/14AfterDBLoadHook/types/services/CustomLocationWaveService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/services/FenceService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/FenceService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/14AfterDBLoadHook/types/services/GiftService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/GiftService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/14AfterDBLoadHook/types/services/InsuranceService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/InsuranceService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/14AfterDBLoadHook/types/services/ItemBaseClassService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/14AfterDBLoadHook/types/services/ItemFilterService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/ItemFilterService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/14AfterDBLoadHook/types/services/LocaleService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/LocaleService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/14AfterDBLoadHook/types/services/LocalisationService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/LocalisationService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/14AfterDBLoadHook/types/services/MailSendService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/MailSendService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/14AfterDBLoadHook/types/services/MatchLocationService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/MatchLocationService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/14AfterDBLoadHook/types/services/ModCompilerService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/ModCompilerService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/14AfterDBLoadHook/types/services/NotificationService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/NotificationService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/14AfterDBLoadHook/types/services/OpenZoneService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/OpenZoneService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/14AfterDBLoadHook/types/services/PaymentService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/PaymentService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/services/PlayerService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/PlayerService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/services/PmcChatResponseService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/services/ProfileFixerService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/ProfileFixerService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/14AfterDBLoadHook/types/services/ProfileSnapshotService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/14AfterDBLoadHook/types/services/RagfairCategoriesService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/services/RagfairLinkedItemService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/services/RagfairOfferService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/RagfairOfferService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/services/RagfairPriceService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/RagfairPriceService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/14AfterDBLoadHook/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/services/RagfairTaxService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/RagfairTaxService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/14AfterDBLoadHook/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/14AfterDBLoadHook/types/services/RepairService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/RepairService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/14AfterDBLoadHook/types/services/SeasonalEventService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/SeasonalEventService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/14AfterDBLoadHook/types/services/TraderAssortService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/TraderAssortService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/14AfterDBLoadHook/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/14AfterDBLoadHook/types/services/TraderServicesService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/TraderServicesService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/14AfterDBLoadHook/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/services/cache/ModHashCacheService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/services/mod/CustomItemService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/14AfterDBLoadHook/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/14AfterDBLoadHook/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/14AfterDBLoadHook/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/14AfterDBLoadHook/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/14AfterDBLoadHook/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/14AfterDBLoadHook/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/14AfterDBLoadHook/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/14AfterDBLoadHook/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/14AfterDBLoadHook/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/14AfterDBLoadHook/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/14AfterDBLoadHook/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/14AfterDBLoadHook/types/utils/App.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/App.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/utils/AsyncQueue.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/AsyncQueue.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/14AfterDBLoadHook/types/utils/DatabaseImporter.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/14AfterDBLoadHook/types/utils/HashUtil.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/HashUtil.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/14AfterDBLoadHook/types/utils/HttpFileUtil.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/14AfterDBLoadHook/types/utils/HttpResponseUtil.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/14AfterDBLoadHook/types/utils/ImporterUtil.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/ImporterUtil.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/utils/JsonUtil.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/JsonUtil.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/14AfterDBLoadHook/types/utils/ObjectId.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/ObjectId.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/14AfterDBLoadHook/types/utils/RagfairOfferHolder.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/14AfterDBLoadHook/types/utils/RandomUtil.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/RandomUtil.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/14AfterDBLoadHook/types/utils/VFS.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/VFS.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/14AfterDBLoadHook/types/utils/Watermark.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/Watermark.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/14AfterDBLoadHook/types/utils/cloners/JsonCloner.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/14AfterDBLoadHook/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/14AfterDBLoadHook/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/14AfterDBLoadHook/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/14AfterDBLoadHook/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/14AfterDBLoadHook/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/14AfterDBLoadHook/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/14AfterDBLoadHook/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/15HttpListenerExample/README.md b/TypeScript/15HttpListenerExample/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/15HttpListenerExample/README.md +++ b/TypeScript/15HttpListenerExample/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/15HttpListenerExample/package.json b/TypeScript/15HttpListenerExample/package.json index 00b9272..dd250e7 100644 --- a/TypeScript/15HttpListenerExample/package.json +++ b/TypeScript/15HttpListenerExample/package.json @@ -1,7 +1,7 @@ { "name": "HttpListenerExample", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/15HttpListenerExample/src/Type2HttpListener.ts b/TypeScript/15HttpListenerExample/src/Type2HttpListener.ts index d87d66c..aa8d929 100644 --- a/TypeScript/15HttpListenerExample/src/Type2HttpListener.ts +++ b/TypeScript/15HttpListenerExample/src/Type2HttpListener.ts @@ -1,6 +1,6 @@ import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export class Type2HttpListener implements IHttpListener { diff --git a/TypeScript/15HttpListenerExample/src/mod.ts b/TypeScript/15HttpListenerExample/src/mod.ts index 3158494..1383f48 100644 --- a/TypeScript/15HttpListenerExample/src/mod.ts +++ b/TypeScript/15HttpListenerExample/src/mod.ts @@ -1,14 +1,14 @@ import { IncomingMessage, ServerResponse } from "node:http"; import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { HttpListenerModService } from "@spt-aki/services/mod/httpListener/HttpListenerModService"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { HttpListenerModService } from "@spt/services/mod/httpListener/HttpListenerModService"; import { Type2HttpListener } from "./Type2HttpListener"; -class Mod implements IPreAkiLoadMod +class Mod implements IPreSptLoadMod { // Code added here will load BEFORE the server has started loading - public preAkiLoad(container: DependencyContainer): void + public preSptLoad(container: DependencyContainer): void { const httpListenerService = container.resolve("HttpListenerModService"); httpListenerService.registerHttpListener("Type1HttpListener", this.canHandleOverride, this.handleOverride) diff --git a/TypeScript/15HttpListenerExample/tsconfig.json b/TypeScript/15HttpListenerExample/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/15HttpListenerExample/tsconfig.json +++ b/TypeScript/15HttpListenerExample/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/15HttpListenerExample/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/BotCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/BundleCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/DataCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/15HttpListenerExample/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/GameCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/15HttpListenerExample/types/callbacks/HealthCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/15HttpListenerExample/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/HttpCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/15HttpListenerExample/types/callbacks/InraidCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/15HttpListenerExample/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/LocationCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/MatchCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/ModCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/15HttpListenerExample/types/callbacks/NoteCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/15HttpListenerExample/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/PresetCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/15HttpListenerExample/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/QuestCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/15HttpListenerExample/types/callbacks/RepairCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/15HttpListenerExample/types/callbacks/SaveCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/TradeCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/15HttpListenerExample/types/callbacks/TraderCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/15HttpListenerExample/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/15HttpListenerExample/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/15HttpListenerExample/types/context/ApplicationContext.d.ts b/TypeScript/15HttpListenerExample/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/15HttpListenerExample/types/context/ApplicationContext.d.ts +++ b/TypeScript/15HttpListenerExample/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/15HttpListenerExample/types/context/ContextVariable.d.ts b/TypeScript/15HttpListenerExample/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/15HttpListenerExample/types/context/ContextVariable.d.ts +++ b/TypeScript/15HttpListenerExample/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/15HttpListenerExample/types/controllers/AchievementController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/AchievementController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/15HttpListenerExample/types/controllers/BotController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/BotController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/15HttpListenerExample/types/controllers/BuildController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/BuildController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/15HttpListenerExample/types/controllers/ClientLogController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/ClientLogController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/15HttpListenerExample/types/controllers/CustomizationController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/CustomizationController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/15HttpListenerExample/types/controllers/DialogueController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/DialogueController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/15HttpListenerExample/types/controllers/GameController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/GameController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/15HttpListenerExample/types/controllers/HandbookController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/HandbookController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/15HttpListenerExample/types/controllers/HealthController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/HealthController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/15HttpListenerExample/types/controllers/HideoutController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/HideoutController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/controllers/InraidController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/InraidController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/15HttpListenerExample/types/controllers/InsuranceController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/InsuranceController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/15HttpListenerExample/types/controllers/InventoryController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/InventoryController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/15HttpListenerExample/types/controllers/LauncherController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/LauncherController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/15HttpListenerExample/types/controllers/LocationController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/LocationController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/15HttpListenerExample/types/controllers/MatchController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/MatchController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/15HttpListenerExample/types/controllers/NoteController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/NoteController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/15HttpListenerExample/types/controllers/NotifierController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/NotifierController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/15HttpListenerExample/types/controllers/PresetController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/PresetController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/15HttpListenerExample/types/controllers/ProfileController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/ProfileController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/15HttpListenerExample/types/controllers/QuestController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/QuestController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/15HttpListenerExample/types/controllers/RagfairController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/RagfairController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/15HttpListenerExample/types/controllers/RepairController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/RepairController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/15HttpListenerExample/types/controllers/RepeatableQuestController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/15HttpListenerExample/types/controllers/TradeController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/TradeController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/15HttpListenerExample/types/controllers/TraderController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/TraderController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/15HttpListenerExample/types/controllers/WeatherController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/WeatherController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/15HttpListenerExample/types/controllers/WishlistController.d.ts b/TypeScript/15HttpListenerExample/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/15HttpListenerExample/types/controllers/WishlistController.d.ts +++ b/TypeScript/15HttpListenerExample/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/15HttpListenerExample/types/di/Router.d.ts b/TypeScript/15HttpListenerExample/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/15HttpListenerExample/types/di/Router.d.ts +++ b/TypeScript/15HttpListenerExample/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/15HttpListenerExample/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/15HttpListenerExample/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/15HttpListenerExample/types/generators/BotGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/15HttpListenerExample/types/generators/BotGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/generators/BotInventoryGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/15HttpListenerExample/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/generators/BotLevelGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/15HttpListenerExample/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/15HttpListenerExample/types/generators/BotLootGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/15HttpListenerExample/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/generators/BotWeaponGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/15HttpListenerExample/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/15HttpListenerExample/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/15HttpListenerExample/types/generators/LocationGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/15HttpListenerExample/types/generators/LocationGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/15HttpListenerExample/types/generators/LootGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/15HttpListenerExample/types/generators/LootGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/15HttpListenerExample/types/generators/PMCLootGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/15HttpListenerExample/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/15HttpListenerExample/types/generators/PlayerScavGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/15HttpListenerExample/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/15HttpListenerExample/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/15HttpListenerExample/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/15HttpListenerExample/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/15HttpListenerExample/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/15HttpListenerExample/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/15HttpListenerExample/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/15HttpListenerExample/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/15HttpListenerExample/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/15HttpListenerExample/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/15HttpListenerExample/types/generators/WeatherGenerator.d.ts b/TypeScript/15HttpListenerExample/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/15HttpListenerExample/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/15HttpListenerExample/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/15HttpListenerExample/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/15HttpListenerExample/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/15HttpListenerExample/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/15HttpListenerExample/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/15HttpListenerExample/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/15HttpListenerExample/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/15HttpListenerExample/types/helpers/AssortHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/AssortHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/15HttpListenerExample/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/15HttpListenerExample/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/15HttpListenerExample/types/helpers/BotHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/BotHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/15HttpListenerExample/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/15HttpListenerExample/types/helpers/DialogueHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/15HttpListenerExample/types/helpers/GameEventHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/15HttpListenerExample/types/helpers/HandbookHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/15HttpListenerExample/types/helpers/HealthHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/HealthHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/15HttpListenerExample/types/helpers/HideoutHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/helpers/HttpServerHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/15HttpListenerExample/types/helpers/InRaidHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/15HttpListenerExample/types/helpers/InventoryHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/15HttpListenerExample/types/helpers/ItemHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/ItemHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/helpers/NotificationSendHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/15HttpListenerExample/types/helpers/NotifierHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/15HttpListenerExample/types/helpers/PaymentHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/15HttpListenerExample/types/helpers/PresetHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/PresetHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/15HttpListenerExample/types/helpers/ProbabilityHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/15HttpListenerExample/types/helpers/ProfileHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/15HttpListenerExample/types/helpers/QuestConditionHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/15HttpListenerExample/types/helpers/QuestHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/QuestHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/15HttpListenerExample/types/helpers/RagfairHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/15HttpListenerExample/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/15HttpListenerExample/types/helpers/RagfairSellHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/15HttpListenerExample/types/helpers/RagfairServerHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/15HttpListenerExample/types/helpers/RagfairSortHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/15HttpListenerExample/types/helpers/RepairHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/RepairHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/15HttpListenerExample/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/15HttpListenerExample/types/helpers/SecureContainerHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/15HttpListenerExample/types/helpers/TradeHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/TradeHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/15HttpListenerExample/types/helpers/TraderAssortHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/15HttpListenerExample/types/helpers/TraderHelper.d.ts b/TypeScript/15HttpListenerExample/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/15HttpListenerExample/types/helpers/TraderHelper.d.ts +++ b/TypeScript/15HttpListenerExample/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/15HttpListenerExample/types/loaders/BundleLoader.d.ts b/TypeScript/15HttpListenerExample/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/15HttpListenerExample/types/loaders/BundleLoader.d.ts +++ b/TypeScript/15HttpListenerExample/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/15HttpListenerExample/types/loaders/ModLoadOrder.d.ts b/TypeScript/15HttpListenerExample/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/15HttpListenerExample/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/15HttpListenerExample/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/15HttpListenerExample/types/loaders/ModTypeCheck.d.ts b/TypeScript/15HttpListenerExample/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/15HttpListenerExample/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/15HttpListenerExample/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/15HttpListenerExample/types/loaders/PostAkiModLoader.d.ts b/TypeScript/15HttpListenerExample/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/15HttpListenerExample/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/15HttpListenerExample/types/loaders/PostDBModLoader.d.ts b/TypeScript/15HttpListenerExample/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/15HttpListenerExample/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/15HttpListenerExample/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/15HttpListenerExample/types/loaders/PostSptModLoader.d.ts b/TypeScript/15HttpListenerExample/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/15HttpListenerExample/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/15HttpListenerExample/types/loaders/PreAkiModLoader.d.ts b/TypeScript/15HttpListenerExample/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/15HttpListenerExample/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/15HttpListenerExample/types/loaders/PreSptModLoader.d.ts b/TypeScript/15HttpListenerExample/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/15HttpListenerExample/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/15HttpListenerExample/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/common/IGlobals.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/common/ILocation.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/15HttpListenerExample/types/models/eft/common/ILocationBase.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/common/IPmcData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/15HttpListenerExample/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/hideout/IQteData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/15HttpListenerExample/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/15HttpListenerExample/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/15HttpListenerExample/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/15HttpListenerExample/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/15HttpListenerExample/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/15HttpListenerExample/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/15HttpListenerExample/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/15HttpListenerExample/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/15HttpListenerExample/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsAid.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsPing.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/15HttpListenerExample/types/models/enums/ConfigTypes.d.ts b/TypeScript/15HttpListenerExample/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/15HttpListenerExample/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/15HttpListenerExample/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/15HttpListenerExample/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/15HttpListenerExample/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/15HttpListenerExample/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/15HttpListenerExample/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/15HttpListenerExample/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/15HttpListenerExample/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/15HttpListenerExample/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/15HttpListenerExample/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/15HttpListenerExample/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/15HttpListenerExample/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/15HttpListenerExample/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/15HttpListenerExample/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/15HttpListenerExample/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/15HttpListenerExample/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/15HttpListenerExample/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/15HttpListenerExample/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/15HttpListenerExample/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/15HttpListenerExample/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/15HttpListenerExample/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/15HttpListenerExample/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/15HttpListenerExample/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/15HttpListenerExample/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/15HttpListenerExample/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/15HttpListenerExample/types/models/spt/bindings/Route.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/15HttpListenerExample/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IBotConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IItemConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/ILootConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/15HttpListenerExample/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/controllers/IBotController.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/15HttpListenerExample/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/15HttpListenerExample/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/15HttpListenerExample/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/15HttpListenerExample/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/server/ILocations.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/services/CustomPreset.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/15HttpListenerExample/types/models/spt/services/LootRequest.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/15HttpListenerExample/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/15HttpListenerExample/types/models/spt/utils/ILogger.d.ts b/TypeScript/15HttpListenerExample/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/15HttpListenerExample/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/15HttpListenerExample/types/routers/EventOutputHolder.d.ts b/TypeScript/15HttpListenerExample/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/15HttpListenerExample/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/15HttpListenerExample/types/routers/HttpRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/15HttpListenerExample/types/routers/HttpRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/15HttpListenerExample/types/routers/ImageRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/15HttpListenerExample/types/routers/ImageRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/15HttpListenerExample/types/routers/ItemEventRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/15HttpListenerExample/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/15HttpListenerExample/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/15HttpListenerExample/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/15HttpListenerExample/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/15HttpListenerExample/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/15HttpListenerExample/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/15HttpListenerExample/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/15HttpListenerExample/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/15HttpListenerExample/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/15HttpListenerExample/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/15HttpListenerExample/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/15HttpListenerExample/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/15HttpListenerExample/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/15HttpListenerExample/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/15HttpListenerExample/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/15HttpListenerExample/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/15HttpListenerExample/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/15HttpListenerExample/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/15HttpListenerExample/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/15HttpListenerExample/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/15HttpListenerExample/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/15HttpListenerExample/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/15HttpListenerExample/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/15HttpListenerExample/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/15HttpListenerExample/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/15HttpListenerExample/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/15HttpListenerExample/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/15HttpListenerExample/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/15HttpListenerExample/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/15HttpListenerExample/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/15HttpListenerExample/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/15HttpListenerExample/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/15HttpListenerExample/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/15HttpListenerExample/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/15HttpListenerExample/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/15HttpListenerExample/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/15HttpListenerExample/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/15HttpListenerExample/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/15HttpListenerExample/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/15HttpListenerExample/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/15HttpListenerExample/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/15HttpListenerExample/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/BotStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/DataStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/GameStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/15HttpListenerExample/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/15HttpListenerExample/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/15HttpListenerExample/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/15HttpListenerExample/types/servers/ConfigServer.d.ts b/TypeScript/15HttpListenerExample/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/15HttpListenerExample/types/servers/ConfigServer.d.ts +++ b/TypeScript/15HttpListenerExample/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/15HttpListenerExample/types/servers/DatabaseServer.d.ts b/TypeScript/15HttpListenerExample/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/15HttpListenerExample/types/servers/DatabaseServer.d.ts +++ b/TypeScript/15HttpListenerExample/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/15HttpListenerExample/types/servers/HttpServer.d.ts b/TypeScript/15HttpListenerExample/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/15HttpListenerExample/types/servers/HttpServer.d.ts +++ b/TypeScript/15HttpListenerExample/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/15HttpListenerExample/types/servers/RagfairServer.d.ts b/TypeScript/15HttpListenerExample/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/15HttpListenerExample/types/servers/RagfairServer.d.ts +++ b/TypeScript/15HttpListenerExample/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/15HttpListenerExample/types/servers/SaveServer.d.ts b/TypeScript/15HttpListenerExample/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/15HttpListenerExample/types/servers/SaveServer.d.ts +++ b/TypeScript/15HttpListenerExample/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/15HttpListenerExample/types/servers/WebSocketServer.d.ts b/TypeScript/15HttpListenerExample/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/15HttpListenerExample/types/servers/WebSocketServer.d.ts +++ b/TypeScript/15HttpListenerExample/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/15HttpListenerExample/types/servers/http/AkiHttpListener.d.ts b/TypeScript/15HttpListenerExample/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/15HttpListenerExample/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/15HttpListenerExample/types/servers/http/SptHttpListener.d.ts b/TypeScript/15HttpListenerExample/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/15HttpListenerExample/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/15HttpListenerExample/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/15HttpListenerExample/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/15HttpListenerExample/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/15HttpListenerExample/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/15HttpListenerExample/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/15HttpListenerExample/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/15HttpListenerExample/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/15HttpListenerExample/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/15HttpListenerExample/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/15HttpListenerExample/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/15HttpListenerExample/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/15HttpListenerExample/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/15HttpListenerExample/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/15HttpListenerExample/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/15HttpListenerExample/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/15HttpListenerExample/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/15HttpListenerExample/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/15HttpListenerExample/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/15HttpListenerExample/types/services/BotEquipmentFilterService.d.ts b/TypeScript/15HttpListenerExample/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/15HttpListenerExample/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/15HttpListenerExample/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/15HttpListenerExample/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/15HttpListenerExample/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/15HttpListenerExample/types/services/BotGenerationCacheService.d.ts b/TypeScript/15HttpListenerExample/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/15HttpListenerExample/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/15HttpListenerExample/types/services/BotLootCacheService.d.ts b/TypeScript/15HttpListenerExample/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/15HttpListenerExample/types/services/BotLootCacheService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/15HttpListenerExample/types/services/BotWeaponModLimitService.d.ts b/TypeScript/15HttpListenerExample/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/15HttpListenerExample/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/15HttpListenerExample/types/services/CustomLocationWaveService.d.ts b/TypeScript/15HttpListenerExample/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/15HttpListenerExample/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/15HttpListenerExample/types/services/FenceService.d.ts b/TypeScript/15HttpListenerExample/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/15HttpListenerExample/types/services/FenceService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/15HttpListenerExample/types/services/GiftService.d.ts b/TypeScript/15HttpListenerExample/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/15HttpListenerExample/types/services/GiftService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/15HttpListenerExample/types/services/InsuranceService.d.ts b/TypeScript/15HttpListenerExample/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/15HttpListenerExample/types/services/InsuranceService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/15HttpListenerExample/types/services/ItemBaseClassService.d.ts b/TypeScript/15HttpListenerExample/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/15HttpListenerExample/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/15HttpListenerExample/types/services/ItemFilterService.d.ts b/TypeScript/15HttpListenerExample/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/15HttpListenerExample/types/services/ItemFilterService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/15HttpListenerExample/types/services/LocaleService.d.ts b/TypeScript/15HttpListenerExample/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/15HttpListenerExample/types/services/LocaleService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/15HttpListenerExample/types/services/LocalisationService.d.ts b/TypeScript/15HttpListenerExample/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/15HttpListenerExample/types/services/LocalisationService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/15HttpListenerExample/types/services/MailSendService.d.ts b/TypeScript/15HttpListenerExample/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/15HttpListenerExample/types/services/MailSendService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/15HttpListenerExample/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/15HttpListenerExample/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/15HttpListenerExample/types/services/MatchLocationService.d.ts b/TypeScript/15HttpListenerExample/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/15HttpListenerExample/types/services/MatchLocationService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/15HttpListenerExample/types/services/ModCompilerService.d.ts b/TypeScript/15HttpListenerExample/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/15HttpListenerExample/types/services/ModCompilerService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/15HttpListenerExample/types/services/NotificationService.d.ts b/TypeScript/15HttpListenerExample/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/15HttpListenerExample/types/services/NotificationService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/15HttpListenerExample/types/services/OpenZoneService.d.ts b/TypeScript/15HttpListenerExample/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/15HttpListenerExample/types/services/OpenZoneService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/15HttpListenerExample/types/services/PaymentService.d.ts b/TypeScript/15HttpListenerExample/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/15HttpListenerExample/types/services/PaymentService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/services/PlayerService.d.ts b/TypeScript/15HttpListenerExample/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/15HttpListenerExample/types/services/PlayerService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/15HttpListenerExample/types/services/PmcChatResponseService.d.ts b/TypeScript/15HttpListenerExample/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/15HttpListenerExample/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/services/ProfileFixerService.d.ts b/TypeScript/15HttpListenerExample/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/15HttpListenerExample/types/services/ProfileFixerService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/15HttpListenerExample/types/services/ProfileSnapshotService.d.ts b/TypeScript/15HttpListenerExample/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/15HttpListenerExample/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/15HttpListenerExample/types/services/RagfairCategoriesService.d.ts b/TypeScript/15HttpListenerExample/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/15HttpListenerExample/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/15HttpListenerExample/types/services/RagfairLinkedItemService.d.ts b/TypeScript/15HttpListenerExample/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/15HttpListenerExample/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/15HttpListenerExample/types/services/RagfairOfferService.d.ts b/TypeScript/15HttpListenerExample/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/15HttpListenerExample/types/services/RagfairOfferService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/15HttpListenerExample/types/services/RagfairPriceService.d.ts b/TypeScript/15HttpListenerExample/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/15HttpListenerExample/types/services/RagfairPriceService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/15HttpListenerExample/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/15HttpListenerExample/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/15HttpListenerExample/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/15HttpListenerExample/types/services/RagfairTaxService.d.ts b/TypeScript/15HttpListenerExample/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/15HttpListenerExample/types/services/RagfairTaxService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/15HttpListenerExample/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/15HttpListenerExample/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/15HttpListenerExample/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/15HttpListenerExample/types/services/RepairService.d.ts b/TypeScript/15HttpListenerExample/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/15HttpListenerExample/types/services/RepairService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/15HttpListenerExample/types/services/SeasonalEventService.d.ts b/TypeScript/15HttpListenerExample/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/15HttpListenerExample/types/services/SeasonalEventService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/15HttpListenerExample/types/services/TraderAssortService.d.ts b/TypeScript/15HttpListenerExample/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/15HttpListenerExample/types/services/TraderAssortService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/15HttpListenerExample/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/15HttpListenerExample/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/15HttpListenerExample/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/15HttpListenerExample/types/services/TraderServicesService.d.ts b/TypeScript/15HttpListenerExample/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/15HttpListenerExample/types/services/TraderServicesService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/15HttpListenerExample/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/15HttpListenerExample/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/15HttpListenerExample/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/services/cache/ModHashCacheService.d.ts b/TypeScript/15HttpListenerExample/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/15HttpListenerExample/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/services/mod/CustomItemService.d.ts b/TypeScript/15HttpListenerExample/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/15HttpListenerExample/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/15HttpListenerExample/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/15HttpListenerExample/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/15HttpListenerExample/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/15HttpListenerExample/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/15HttpListenerExample/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/15HttpListenerExample/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/15HttpListenerExample/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/15HttpListenerExample/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/15HttpListenerExample/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/15HttpListenerExample/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/15HttpListenerExample/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/15HttpListenerExample/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/15HttpListenerExample/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/15HttpListenerExample/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/15HttpListenerExample/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/15HttpListenerExample/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/15HttpListenerExample/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/15HttpListenerExample/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/15HttpListenerExample/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/15HttpListenerExample/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/15HttpListenerExample/types/utils/App.d.ts b/TypeScript/15HttpListenerExample/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/15HttpListenerExample/types/utils/App.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/15HttpListenerExample/types/utils/AsyncQueue.d.ts b/TypeScript/15HttpListenerExample/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/15HttpListenerExample/types/utils/AsyncQueue.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/15HttpListenerExample/types/utils/DatabaseImporter.d.ts b/TypeScript/15HttpListenerExample/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/15HttpListenerExample/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/15HttpListenerExample/types/utils/HashUtil.d.ts b/TypeScript/15HttpListenerExample/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/15HttpListenerExample/types/utils/HashUtil.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/15HttpListenerExample/types/utils/HttpFileUtil.d.ts b/TypeScript/15HttpListenerExample/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/15HttpListenerExample/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/15HttpListenerExample/types/utils/HttpResponseUtil.d.ts b/TypeScript/15HttpListenerExample/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/15HttpListenerExample/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/15HttpListenerExample/types/utils/ImporterUtil.d.ts b/TypeScript/15HttpListenerExample/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/15HttpListenerExample/types/utils/ImporterUtil.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/15HttpListenerExample/types/utils/JsonUtil.d.ts b/TypeScript/15HttpListenerExample/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/15HttpListenerExample/types/utils/JsonUtil.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/15HttpListenerExample/types/utils/ObjectId.d.ts b/TypeScript/15HttpListenerExample/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/15HttpListenerExample/types/utils/ObjectId.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/15HttpListenerExample/types/utils/RagfairOfferHolder.d.ts b/TypeScript/15HttpListenerExample/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/15HttpListenerExample/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/15HttpListenerExample/types/utils/RandomUtil.d.ts b/TypeScript/15HttpListenerExample/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/15HttpListenerExample/types/utils/RandomUtil.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/15HttpListenerExample/types/utils/VFS.d.ts b/TypeScript/15HttpListenerExample/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/15HttpListenerExample/types/utils/VFS.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/15HttpListenerExample/types/utils/Watermark.d.ts b/TypeScript/15HttpListenerExample/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/15HttpListenerExample/types/utils/Watermark.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/15HttpListenerExample/types/utils/cloners/JsonCloner.d.ts b/TypeScript/15HttpListenerExample/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/15HttpListenerExample/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/15HttpListenerExample/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/15HttpListenerExample/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/15HttpListenerExample/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/15HttpListenerExample/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/15HttpListenerExample/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/15HttpListenerExample/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/15HttpListenerExample/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/15HttpListenerExample/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/15HttpListenerExample/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/15HttpListenerExample/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/15HttpListenerExample/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/15HttpListenerExample/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/15HttpListenerExample/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/15HttpListenerExample/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/15HttpListenerExample/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/15HttpListenerExample/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/16ImporterUtil/README.md b/TypeScript/16ImporterUtil/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/16ImporterUtil/README.md +++ b/TypeScript/16ImporterUtil/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/16ImporterUtil/package.json b/TypeScript/16ImporterUtil/package.json index 97dbd0e..001d66a 100644 --- a/TypeScript/16ImporterUtil/package.json +++ b/TypeScript/16ImporterUtil/package.json @@ -1,7 +1,7 @@ { "name": "ImporterUtil", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/16ImporterUtil/src/mod.ts b/TypeScript/16ImporterUtil/src/mod.ts index 651a43b..f53b02c 100644 --- a/TypeScript/16ImporterUtil/src/mod.ts +++ b/TypeScript/16ImporterUtil/src/mod.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; import { ConfigsModelBase } from "./model/ConfigsModel"; -class Mod implements IPreAkiLoadMod { - public preAkiLoad(container: DependencyContainer): void { +class Mod implements IPreSptLoadMod { + public preSptLoad(container: DependencyContainer): void { // get logger const logger = container.resolve("WinstonLogger"); const importerUtil = container.resolve("ImporterUtil"); - const modImporter = container.resolve("PreAkiModLoader"); + const modImporter = container.resolve("PreSptModLoader"); const path = modImporter.getModPath("16ImporterUtil"); const configPath = `${path}config/`; diff --git a/TypeScript/16ImporterUtil/tsconfig.json b/TypeScript/16ImporterUtil/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/16ImporterUtil/tsconfig.json +++ b/TypeScript/16ImporterUtil/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/16ImporterUtil/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/16ImporterUtil/types/callbacks/BotCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/16ImporterUtil/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/16ImporterUtil/types/callbacks/BundleCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/16ImporterUtil/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/16ImporterUtil/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/16ImporterUtil/types/callbacks/DataCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/16ImporterUtil/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/16ImporterUtil/types/callbacks/GameCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/16ImporterUtil/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/16ImporterUtil/types/callbacks/HealthCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/16ImporterUtil/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/16ImporterUtil/types/callbacks/HttpCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/16ImporterUtil/types/callbacks/InraidCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/16ImporterUtil/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/16ImporterUtil/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/16ImporterUtil/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/16ImporterUtil/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/16ImporterUtil/types/callbacks/LocationCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/16ImporterUtil/types/callbacks/MatchCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/16ImporterUtil/types/callbacks/ModCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/16ImporterUtil/types/callbacks/NoteCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/16ImporterUtil/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/16ImporterUtil/types/callbacks/PresetCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/16ImporterUtil/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/16ImporterUtil/types/callbacks/QuestCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/16ImporterUtil/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/16ImporterUtil/types/callbacks/RepairCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/16ImporterUtil/types/callbacks/SaveCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/16ImporterUtil/types/callbacks/TradeCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/16ImporterUtil/types/callbacks/TraderCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/16ImporterUtil/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/16ImporterUtil/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/16ImporterUtil/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/16ImporterUtil/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/16ImporterUtil/types/context/ApplicationContext.d.ts b/TypeScript/16ImporterUtil/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/16ImporterUtil/types/context/ApplicationContext.d.ts +++ b/TypeScript/16ImporterUtil/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/16ImporterUtil/types/context/ContextVariable.d.ts b/TypeScript/16ImporterUtil/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/16ImporterUtil/types/context/ContextVariable.d.ts +++ b/TypeScript/16ImporterUtil/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/16ImporterUtil/types/controllers/AchievementController.d.ts b/TypeScript/16ImporterUtil/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/16ImporterUtil/types/controllers/AchievementController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/16ImporterUtil/types/controllers/BotController.d.ts b/TypeScript/16ImporterUtil/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/16ImporterUtil/types/controllers/BotController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/16ImporterUtil/types/controllers/BuildController.d.ts b/TypeScript/16ImporterUtil/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/16ImporterUtil/types/controllers/BuildController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/16ImporterUtil/types/controllers/ClientLogController.d.ts b/TypeScript/16ImporterUtil/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/16ImporterUtil/types/controllers/ClientLogController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/16ImporterUtil/types/controllers/CustomizationController.d.ts b/TypeScript/16ImporterUtil/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/16ImporterUtil/types/controllers/CustomizationController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/16ImporterUtil/types/controllers/DialogueController.d.ts b/TypeScript/16ImporterUtil/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/16ImporterUtil/types/controllers/DialogueController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/16ImporterUtil/types/controllers/GameController.d.ts b/TypeScript/16ImporterUtil/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/16ImporterUtil/types/controllers/GameController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/16ImporterUtil/types/controllers/HandbookController.d.ts b/TypeScript/16ImporterUtil/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/16ImporterUtil/types/controllers/HandbookController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/16ImporterUtil/types/controllers/HealthController.d.ts b/TypeScript/16ImporterUtil/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/16ImporterUtil/types/controllers/HealthController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/16ImporterUtil/types/controllers/HideoutController.d.ts b/TypeScript/16ImporterUtil/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/16ImporterUtil/types/controllers/HideoutController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/controllers/InraidController.d.ts b/TypeScript/16ImporterUtil/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/16ImporterUtil/types/controllers/InraidController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/16ImporterUtil/types/controllers/InsuranceController.d.ts b/TypeScript/16ImporterUtil/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/16ImporterUtil/types/controllers/InsuranceController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/16ImporterUtil/types/controllers/InventoryController.d.ts b/TypeScript/16ImporterUtil/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/16ImporterUtil/types/controllers/InventoryController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/16ImporterUtil/types/controllers/LauncherController.d.ts b/TypeScript/16ImporterUtil/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/16ImporterUtil/types/controllers/LauncherController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/16ImporterUtil/types/controllers/LocationController.d.ts b/TypeScript/16ImporterUtil/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/16ImporterUtil/types/controllers/LocationController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/16ImporterUtil/types/controllers/MatchController.d.ts b/TypeScript/16ImporterUtil/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/16ImporterUtil/types/controllers/MatchController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/16ImporterUtil/types/controllers/NoteController.d.ts b/TypeScript/16ImporterUtil/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/16ImporterUtil/types/controllers/NoteController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/16ImporterUtil/types/controllers/NotifierController.d.ts b/TypeScript/16ImporterUtil/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/16ImporterUtil/types/controllers/NotifierController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/16ImporterUtil/types/controllers/PresetController.d.ts b/TypeScript/16ImporterUtil/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/16ImporterUtil/types/controllers/PresetController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/16ImporterUtil/types/controllers/ProfileController.d.ts b/TypeScript/16ImporterUtil/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/16ImporterUtil/types/controllers/ProfileController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/16ImporterUtil/types/controllers/QuestController.d.ts b/TypeScript/16ImporterUtil/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/16ImporterUtil/types/controllers/QuestController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/16ImporterUtil/types/controllers/RagfairController.d.ts b/TypeScript/16ImporterUtil/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/16ImporterUtil/types/controllers/RagfairController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/16ImporterUtil/types/controllers/RepairController.d.ts b/TypeScript/16ImporterUtil/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/16ImporterUtil/types/controllers/RepairController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/16ImporterUtil/types/controllers/RepeatableQuestController.d.ts b/TypeScript/16ImporterUtil/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/16ImporterUtil/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/16ImporterUtil/types/controllers/TradeController.d.ts b/TypeScript/16ImporterUtil/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/16ImporterUtil/types/controllers/TradeController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/16ImporterUtil/types/controllers/TraderController.d.ts b/TypeScript/16ImporterUtil/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/16ImporterUtil/types/controllers/TraderController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/16ImporterUtil/types/controllers/WeatherController.d.ts b/TypeScript/16ImporterUtil/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/16ImporterUtil/types/controllers/WeatherController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/16ImporterUtil/types/controllers/WishlistController.d.ts b/TypeScript/16ImporterUtil/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/16ImporterUtil/types/controllers/WishlistController.d.ts +++ b/TypeScript/16ImporterUtil/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/16ImporterUtil/types/di/Router.d.ts b/TypeScript/16ImporterUtil/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/16ImporterUtil/types/di/Router.d.ts +++ b/TypeScript/16ImporterUtil/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/16ImporterUtil/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/16ImporterUtil/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/16ImporterUtil/types/generators/BotGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/16ImporterUtil/types/generators/BotGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/generators/BotInventoryGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/16ImporterUtil/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/generators/BotLevelGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/16ImporterUtil/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/16ImporterUtil/types/generators/BotLootGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/16ImporterUtil/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/generators/BotWeaponGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/16ImporterUtil/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/16ImporterUtil/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/16ImporterUtil/types/generators/LocationGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/16ImporterUtil/types/generators/LocationGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/16ImporterUtil/types/generators/LootGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/16ImporterUtil/types/generators/LootGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/16ImporterUtil/types/generators/PMCLootGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/16ImporterUtil/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/16ImporterUtil/types/generators/PlayerScavGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/16ImporterUtil/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/16ImporterUtil/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/16ImporterUtil/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/16ImporterUtil/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/16ImporterUtil/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/16ImporterUtil/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/16ImporterUtil/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/16ImporterUtil/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/16ImporterUtil/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/16ImporterUtil/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/16ImporterUtil/types/generators/WeatherGenerator.d.ts b/TypeScript/16ImporterUtil/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/16ImporterUtil/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/16ImporterUtil/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/16ImporterUtil/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/16ImporterUtil/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/16ImporterUtil/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/16ImporterUtil/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/16ImporterUtil/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/16ImporterUtil/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/16ImporterUtil/types/helpers/AssortHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/16ImporterUtil/types/helpers/AssortHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/16ImporterUtil/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/16ImporterUtil/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/16ImporterUtil/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/16ImporterUtil/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/16ImporterUtil/types/helpers/BotHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/16ImporterUtil/types/helpers/BotHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/16ImporterUtil/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/16ImporterUtil/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/16ImporterUtil/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/16ImporterUtil/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/16ImporterUtil/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/16ImporterUtil/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/16ImporterUtil/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/16ImporterUtil/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/16ImporterUtil/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/16ImporterUtil/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/16ImporterUtil/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/16ImporterUtil/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/16ImporterUtil/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/16ImporterUtil/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/16ImporterUtil/types/helpers/DialogueHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/16ImporterUtil/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/16ImporterUtil/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/16ImporterUtil/types/helpers/GameEventHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/16ImporterUtil/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/16ImporterUtil/types/helpers/HandbookHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/16ImporterUtil/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/16ImporterUtil/types/helpers/HealthHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/16ImporterUtil/types/helpers/HealthHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/16ImporterUtil/types/helpers/HideoutHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/16ImporterUtil/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/helpers/HttpServerHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/16ImporterUtil/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/16ImporterUtil/types/helpers/InRaidHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/16ImporterUtil/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/16ImporterUtil/types/helpers/InventoryHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/16ImporterUtil/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/16ImporterUtil/types/helpers/ItemHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/16ImporterUtil/types/helpers/ItemHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/helpers/NotificationSendHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/16ImporterUtil/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/16ImporterUtil/types/helpers/NotifierHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/16ImporterUtil/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/16ImporterUtil/types/helpers/PaymentHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/16ImporterUtil/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/16ImporterUtil/types/helpers/PresetHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/16ImporterUtil/types/helpers/PresetHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/16ImporterUtil/types/helpers/ProbabilityHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/16ImporterUtil/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/16ImporterUtil/types/helpers/ProfileHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/16ImporterUtil/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/16ImporterUtil/types/helpers/QuestConditionHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/16ImporterUtil/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/16ImporterUtil/types/helpers/QuestHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/16ImporterUtil/types/helpers/QuestHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/16ImporterUtil/types/helpers/RagfairHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/16ImporterUtil/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/16ImporterUtil/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/16ImporterUtil/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/16ImporterUtil/types/helpers/RagfairSellHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/16ImporterUtil/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/16ImporterUtil/types/helpers/RagfairServerHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/16ImporterUtil/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/16ImporterUtil/types/helpers/RagfairSortHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/16ImporterUtil/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/16ImporterUtil/types/helpers/RepairHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/16ImporterUtil/types/helpers/RepairHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/16ImporterUtil/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/16ImporterUtil/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/16ImporterUtil/types/helpers/SecureContainerHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/16ImporterUtil/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/16ImporterUtil/types/helpers/TradeHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/16ImporterUtil/types/helpers/TradeHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/16ImporterUtil/types/helpers/TraderAssortHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/16ImporterUtil/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/16ImporterUtil/types/helpers/TraderHelper.d.ts b/TypeScript/16ImporterUtil/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/16ImporterUtil/types/helpers/TraderHelper.d.ts +++ b/TypeScript/16ImporterUtil/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/16ImporterUtil/types/loaders/BundleLoader.d.ts b/TypeScript/16ImporterUtil/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/16ImporterUtil/types/loaders/BundleLoader.d.ts +++ b/TypeScript/16ImporterUtil/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/16ImporterUtil/types/loaders/ModLoadOrder.d.ts b/TypeScript/16ImporterUtil/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/16ImporterUtil/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/16ImporterUtil/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/16ImporterUtil/types/loaders/ModTypeCheck.d.ts b/TypeScript/16ImporterUtil/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/16ImporterUtil/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/16ImporterUtil/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/16ImporterUtil/types/loaders/PostAkiModLoader.d.ts b/TypeScript/16ImporterUtil/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/16ImporterUtil/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/16ImporterUtil/types/loaders/PostDBModLoader.d.ts b/TypeScript/16ImporterUtil/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/16ImporterUtil/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/16ImporterUtil/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/16ImporterUtil/types/loaders/PostSptModLoader.d.ts b/TypeScript/16ImporterUtil/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/16ImporterUtil/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/16ImporterUtil/types/loaders/PreAkiModLoader.d.ts b/TypeScript/16ImporterUtil/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/16ImporterUtil/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/16ImporterUtil/types/loaders/PreSptModLoader.d.ts b/TypeScript/16ImporterUtil/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/16ImporterUtil/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/16ImporterUtil/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/16ImporterUtil/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/common/IGlobals.d.ts b/TypeScript/16ImporterUtil/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/16ImporterUtil/types/models/eft/common/ILocation.d.ts b/TypeScript/16ImporterUtil/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/16ImporterUtil/types/models/eft/common/ILocationBase.d.ts b/TypeScript/16ImporterUtil/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/16ImporterUtil/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/16ImporterUtil/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/16ImporterUtil/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/16ImporterUtil/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/16ImporterUtil/types/models/eft/common/IPmcData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/16ImporterUtil/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/16ImporterUtil/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/16ImporterUtil/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/16ImporterUtil/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/16ImporterUtil/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/16ImporterUtil/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/16ImporterUtil/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/16ImporterUtil/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/16ImporterUtil/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/16ImporterUtil/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/16ImporterUtil/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/16ImporterUtil/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/16ImporterUtil/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/16ImporterUtil/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/16ImporterUtil/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/16ImporterUtil/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/16ImporterUtil/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/16ImporterUtil/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/16ImporterUtil/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/16ImporterUtil/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/16ImporterUtil/types/models/eft/hideout/IQteData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/16ImporterUtil/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/16ImporterUtil/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/16ImporterUtil/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/16ImporterUtil/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/16ImporterUtil/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/16ImporterUtil/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/16ImporterUtil/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/16ImporterUtil/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/16ImporterUtil/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/16ImporterUtil/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/16ImporterUtil/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/16ImporterUtil/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/16ImporterUtil/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/16ImporterUtil/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/16ImporterUtil/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/16ImporterUtil/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/16ImporterUtil/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/16ImporterUtil/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/16ImporterUtil/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/16ImporterUtil/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/16ImporterUtil/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/16ImporterUtil/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/16ImporterUtil/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/16ImporterUtil/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/16ImporterUtil/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/16ImporterUtil/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/16ImporterUtil/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/16ImporterUtil/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/16ImporterUtil/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/16ImporterUtil/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/16ImporterUtil/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/16ImporterUtil/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/16ImporterUtil/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/16ImporterUtil/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/16ImporterUtil/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/16ImporterUtil/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/16ImporterUtil/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/16ImporterUtil/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/16ImporterUtil/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/16ImporterUtil/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsAid.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsPing.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/16ImporterUtil/types/models/enums/ConfigTypes.d.ts b/TypeScript/16ImporterUtil/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/16ImporterUtil/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/16ImporterUtil/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/16ImporterUtil/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/16ImporterUtil/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/16ImporterUtil/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/16ImporterUtil/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/16ImporterUtil/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/16ImporterUtil/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/16ImporterUtil/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/16ImporterUtil/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/16ImporterUtil/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/16ImporterUtil/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/16ImporterUtil/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/16ImporterUtil/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/16ImporterUtil/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/16ImporterUtil/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/16ImporterUtil/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/16ImporterUtil/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/16ImporterUtil/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/16ImporterUtil/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/16ImporterUtil/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/16ImporterUtil/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/16ImporterUtil/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/16ImporterUtil/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/16ImporterUtil/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/16ImporterUtil/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/16ImporterUtil/types/models/spt/bindings/Route.d.ts b/TypeScript/16ImporterUtil/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/16ImporterUtil/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/16ImporterUtil/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/16ImporterUtil/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/16ImporterUtil/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/16ImporterUtil/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IBotConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IItemConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/ILootConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/16ImporterUtil/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/16ImporterUtil/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/16ImporterUtil/types/models/spt/controllers/IBotController.d.ts b/TypeScript/16ImporterUtil/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/16ImporterUtil/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/16ImporterUtil/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/16ImporterUtil/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/16ImporterUtil/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/16ImporterUtil/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/16ImporterUtil/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/16ImporterUtil/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/16ImporterUtil/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/16ImporterUtil/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/16ImporterUtil/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/16ImporterUtil/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/16ImporterUtil/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/16ImporterUtil/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/16ImporterUtil/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/16ImporterUtil/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/16ImporterUtil/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/16ImporterUtil/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/16ImporterUtil/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/16ImporterUtil/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/16ImporterUtil/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/16ImporterUtil/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/16ImporterUtil/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/16ImporterUtil/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/16ImporterUtil/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/16ImporterUtil/types/models/spt/server/ILocations.d.ts b/TypeScript/16ImporterUtil/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/16ImporterUtil/types/models/spt/services/CustomPreset.d.ts b/TypeScript/16ImporterUtil/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/16ImporterUtil/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/16ImporterUtil/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/16ImporterUtil/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/16ImporterUtil/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/16ImporterUtil/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/16ImporterUtil/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/16ImporterUtil/types/models/spt/services/LootRequest.d.ts b/TypeScript/16ImporterUtil/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/16ImporterUtil/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/16ImporterUtil/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/16ImporterUtil/types/models/spt/utils/ILogger.d.ts b/TypeScript/16ImporterUtil/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/16ImporterUtil/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/16ImporterUtil/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/16ImporterUtil/types/routers/EventOutputHolder.d.ts b/TypeScript/16ImporterUtil/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/16ImporterUtil/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/16ImporterUtil/types/routers/HttpRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/16ImporterUtil/types/routers/HttpRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/16ImporterUtil/types/routers/ImageRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/16ImporterUtil/types/routers/ImageRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/16ImporterUtil/types/routers/ItemEventRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/16ImporterUtil/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/16ImporterUtil/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/16ImporterUtil/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/16ImporterUtil/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/16ImporterUtil/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/16ImporterUtil/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/16ImporterUtil/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/16ImporterUtil/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/16ImporterUtil/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/16ImporterUtil/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/16ImporterUtil/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/16ImporterUtil/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/16ImporterUtil/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/16ImporterUtil/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/16ImporterUtil/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/16ImporterUtil/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/16ImporterUtil/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/16ImporterUtil/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/16ImporterUtil/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/16ImporterUtil/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/16ImporterUtil/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/16ImporterUtil/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/16ImporterUtil/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/16ImporterUtil/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/16ImporterUtil/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/16ImporterUtil/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/16ImporterUtil/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/16ImporterUtil/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/16ImporterUtil/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/16ImporterUtil/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/16ImporterUtil/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/16ImporterUtil/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/16ImporterUtil/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/16ImporterUtil/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/16ImporterUtil/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/16ImporterUtil/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/16ImporterUtil/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/16ImporterUtil/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/16ImporterUtil/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/16ImporterUtil/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/16ImporterUtil/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/16ImporterUtil/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/BotStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/DataStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/GameStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/16ImporterUtil/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/16ImporterUtil/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/16ImporterUtil/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/16ImporterUtil/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/16ImporterUtil/types/servers/ConfigServer.d.ts b/TypeScript/16ImporterUtil/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/16ImporterUtil/types/servers/ConfigServer.d.ts +++ b/TypeScript/16ImporterUtil/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/16ImporterUtil/types/servers/DatabaseServer.d.ts b/TypeScript/16ImporterUtil/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/16ImporterUtil/types/servers/DatabaseServer.d.ts +++ b/TypeScript/16ImporterUtil/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/16ImporterUtil/types/servers/HttpServer.d.ts b/TypeScript/16ImporterUtil/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/16ImporterUtil/types/servers/HttpServer.d.ts +++ b/TypeScript/16ImporterUtil/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/16ImporterUtil/types/servers/RagfairServer.d.ts b/TypeScript/16ImporterUtil/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/16ImporterUtil/types/servers/RagfairServer.d.ts +++ b/TypeScript/16ImporterUtil/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/16ImporterUtil/types/servers/SaveServer.d.ts b/TypeScript/16ImporterUtil/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/16ImporterUtil/types/servers/SaveServer.d.ts +++ b/TypeScript/16ImporterUtil/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/16ImporterUtil/types/servers/WebSocketServer.d.ts b/TypeScript/16ImporterUtil/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/16ImporterUtil/types/servers/WebSocketServer.d.ts +++ b/TypeScript/16ImporterUtil/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/16ImporterUtil/types/servers/http/AkiHttpListener.d.ts b/TypeScript/16ImporterUtil/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/16ImporterUtil/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/16ImporterUtil/types/servers/http/SptHttpListener.d.ts b/TypeScript/16ImporterUtil/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/16ImporterUtil/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/16ImporterUtil/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/16ImporterUtil/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/16ImporterUtil/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/16ImporterUtil/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/16ImporterUtil/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/16ImporterUtil/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/16ImporterUtil/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/16ImporterUtil/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/16ImporterUtil/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/16ImporterUtil/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/16ImporterUtil/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/16ImporterUtil/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/16ImporterUtil/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/16ImporterUtil/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/16ImporterUtil/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/16ImporterUtil/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/16ImporterUtil/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/16ImporterUtil/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/16ImporterUtil/types/services/BotEquipmentFilterService.d.ts b/TypeScript/16ImporterUtil/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/16ImporterUtil/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/16ImporterUtil/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/16ImporterUtil/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/16ImporterUtil/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/16ImporterUtil/types/services/BotGenerationCacheService.d.ts b/TypeScript/16ImporterUtil/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/16ImporterUtil/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/16ImporterUtil/types/services/BotLootCacheService.d.ts b/TypeScript/16ImporterUtil/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/16ImporterUtil/types/services/BotLootCacheService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/16ImporterUtil/types/services/BotWeaponModLimitService.d.ts b/TypeScript/16ImporterUtil/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/16ImporterUtil/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/16ImporterUtil/types/services/CustomLocationWaveService.d.ts b/TypeScript/16ImporterUtil/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/16ImporterUtil/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/16ImporterUtil/types/services/FenceService.d.ts b/TypeScript/16ImporterUtil/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/16ImporterUtil/types/services/FenceService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/16ImporterUtil/types/services/GiftService.d.ts b/TypeScript/16ImporterUtil/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/16ImporterUtil/types/services/GiftService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/16ImporterUtil/types/services/InsuranceService.d.ts b/TypeScript/16ImporterUtil/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/16ImporterUtil/types/services/InsuranceService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/16ImporterUtil/types/services/ItemBaseClassService.d.ts b/TypeScript/16ImporterUtil/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/16ImporterUtil/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/16ImporterUtil/types/services/ItemFilterService.d.ts b/TypeScript/16ImporterUtil/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/16ImporterUtil/types/services/ItemFilterService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/16ImporterUtil/types/services/LocaleService.d.ts b/TypeScript/16ImporterUtil/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/16ImporterUtil/types/services/LocaleService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/16ImporterUtil/types/services/LocalisationService.d.ts b/TypeScript/16ImporterUtil/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/16ImporterUtil/types/services/LocalisationService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/16ImporterUtil/types/services/MailSendService.d.ts b/TypeScript/16ImporterUtil/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/16ImporterUtil/types/services/MailSendService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/16ImporterUtil/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/16ImporterUtil/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/16ImporterUtil/types/services/MatchLocationService.d.ts b/TypeScript/16ImporterUtil/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/16ImporterUtil/types/services/MatchLocationService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/16ImporterUtil/types/services/ModCompilerService.d.ts b/TypeScript/16ImporterUtil/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/16ImporterUtil/types/services/ModCompilerService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/16ImporterUtil/types/services/NotificationService.d.ts b/TypeScript/16ImporterUtil/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/16ImporterUtil/types/services/NotificationService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/16ImporterUtil/types/services/OpenZoneService.d.ts b/TypeScript/16ImporterUtil/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/16ImporterUtil/types/services/OpenZoneService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/16ImporterUtil/types/services/PaymentService.d.ts b/TypeScript/16ImporterUtil/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/16ImporterUtil/types/services/PaymentService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/services/PlayerService.d.ts b/TypeScript/16ImporterUtil/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/16ImporterUtil/types/services/PlayerService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/16ImporterUtil/types/services/PmcChatResponseService.d.ts b/TypeScript/16ImporterUtil/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/16ImporterUtil/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/services/ProfileFixerService.d.ts b/TypeScript/16ImporterUtil/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/16ImporterUtil/types/services/ProfileFixerService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/16ImporterUtil/types/services/ProfileSnapshotService.d.ts b/TypeScript/16ImporterUtil/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/16ImporterUtil/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/16ImporterUtil/types/services/RagfairCategoriesService.d.ts b/TypeScript/16ImporterUtil/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/16ImporterUtil/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/16ImporterUtil/types/services/RagfairLinkedItemService.d.ts b/TypeScript/16ImporterUtil/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/16ImporterUtil/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/16ImporterUtil/types/services/RagfairOfferService.d.ts b/TypeScript/16ImporterUtil/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/16ImporterUtil/types/services/RagfairOfferService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/16ImporterUtil/types/services/RagfairPriceService.d.ts b/TypeScript/16ImporterUtil/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/16ImporterUtil/types/services/RagfairPriceService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/16ImporterUtil/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/16ImporterUtil/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/16ImporterUtil/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/16ImporterUtil/types/services/RagfairTaxService.d.ts b/TypeScript/16ImporterUtil/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/16ImporterUtil/types/services/RagfairTaxService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/16ImporterUtil/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/16ImporterUtil/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/16ImporterUtil/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/16ImporterUtil/types/services/RepairService.d.ts b/TypeScript/16ImporterUtil/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/16ImporterUtil/types/services/RepairService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/16ImporterUtil/types/services/SeasonalEventService.d.ts b/TypeScript/16ImporterUtil/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/16ImporterUtil/types/services/SeasonalEventService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/16ImporterUtil/types/services/TraderAssortService.d.ts b/TypeScript/16ImporterUtil/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/16ImporterUtil/types/services/TraderAssortService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/16ImporterUtil/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/16ImporterUtil/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/16ImporterUtil/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/16ImporterUtil/types/services/TraderServicesService.d.ts b/TypeScript/16ImporterUtil/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/16ImporterUtil/types/services/TraderServicesService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/16ImporterUtil/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/16ImporterUtil/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/16ImporterUtil/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/services/cache/ModHashCacheService.d.ts b/TypeScript/16ImporterUtil/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/16ImporterUtil/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/services/mod/CustomItemService.d.ts b/TypeScript/16ImporterUtil/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/16ImporterUtil/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/16ImporterUtil/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/16ImporterUtil/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/16ImporterUtil/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/16ImporterUtil/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/16ImporterUtil/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/16ImporterUtil/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/16ImporterUtil/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/16ImporterUtil/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/16ImporterUtil/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/16ImporterUtil/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/16ImporterUtil/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/16ImporterUtil/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/16ImporterUtil/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/16ImporterUtil/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/16ImporterUtil/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/16ImporterUtil/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/16ImporterUtil/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/16ImporterUtil/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/16ImporterUtil/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/16ImporterUtil/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/16ImporterUtil/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/16ImporterUtil/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/16ImporterUtil/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/16ImporterUtil/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/16ImporterUtil/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/16ImporterUtil/types/utils/App.d.ts b/TypeScript/16ImporterUtil/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/16ImporterUtil/types/utils/App.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/16ImporterUtil/types/utils/AsyncQueue.d.ts b/TypeScript/16ImporterUtil/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/16ImporterUtil/types/utils/AsyncQueue.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/16ImporterUtil/types/utils/DatabaseImporter.d.ts b/TypeScript/16ImporterUtil/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/16ImporterUtil/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/16ImporterUtil/types/utils/HashUtil.d.ts b/TypeScript/16ImporterUtil/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/16ImporterUtil/types/utils/HashUtil.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/16ImporterUtil/types/utils/HttpFileUtil.d.ts b/TypeScript/16ImporterUtil/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/16ImporterUtil/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/16ImporterUtil/types/utils/HttpResponseUtil.d.ts b/TypeScript/16ImporterUtil/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/16ImporterUtil/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/16ImporterUtil/types/utils/ImporterUtil.d.ts b/TypeScript/16ImporterUtil/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/16ImporterUtil/types/utils/ImporterUtil.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/16ImporterUtil/types/utils/JsonUtil.d.ts b/TypeScript/16ImporterUtil/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/16ImporterUtil/types/utils/JsonUtil.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/16ImporterUtil/types/utils/ObjectId.d.ts b/TypeScript/16ImporterUtil/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/16ImporterUtil/types/utils/ObjectId.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/16ImporterUtil/types/utils/RagfairOfferHolder.d.ts b/TypeScript/16ImporterUtil/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/16ImporterUtil/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/16ImporterUtil/types/utils/RandomUtil.d.ts b/TypeScript/16ImporterUtil/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/16ImporterUtil/types/utils/RandomUtil.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/16ImporterUtil/types/utils/VFS.d.ts b/TypeScript/16ImporterUtil/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/16ImporterUtil/types/utils/VFS.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/16ImporterUtil/types/utils/Watermark.d.ts b/TypeScript/16ImporterUtil/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/16ImporterUtil/types/utils/Watermark.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/16ImporterUtil/types/utils/cloners/JsonCloner.d.ts b/TypeScript/16ImporterUtil/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/16ImporterUtil/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/16ImporterUtil/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/16ImporterUtil/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/16ImporterUtil/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/16ImporterUtil/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/16ImporterUtil/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/16ImporterUtil/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/16ImporterUtil/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/16ImporterUtil/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/16ImporterUtil/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/16ImporterUtil/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/16ImporterUtil/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/16ImporterUtil/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/16ImporterUtil/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/16ImporterUtil/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/16ImporterUtil/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/16ImporterUtil/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/17AsyncImporterWithDependency1/README.md b/TypeScript/17AsyncImporterWithDependency1/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/17AsyncImporterWithDependency1/README.md +++ b/TypeScript/17AsyncImporterWithDependency1/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/17AsyncImporterWithDependency1/package.json b/TypeScript/17AsyncImporterWithDependency1/package.json index 99e2af1..579b4b7 100644 --- a/TypeScript/17AsyncImporterWithDependency1/package.json +++ b/TypeScript/17AsyncImporterWithDependency1/package.json @@ -1,7 +1,7 @@ { "name": "AsyncWithDependency1", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/17AsyncImporterWithDependency1/src/mod.ts b/TypeScript/17AsyncImporterWithDependency1/src/mod.ts index a34a004..4137858 100644 --- a/TypeScript/17AsyncImporterWithDependency1/src/mod.ts +++ b/TypeScript/17AsyncImporterWithDependency1/src/mod.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; import { ConfigsModelBase } from "./model/ConfigsModel"; -class Mod implements IPreAkiLoadModAsync { - public async preAkiLoadAsync(container: DependencyContainer): Promise { +class Mod implements IPreSptLoadModAsync { + public async preSptLoadAsync(container: DependencyContainer): Promise { // get logger const logger = container.resolve("WinstonLogger"); const importerUtil = container.resolve("ImporterUtil"); - const modImporter = container.resolve("PreAkiModLoader"); + const modImporter = container.resolve("PreSptModLoader"); const path = modImporter.getModPath("16ImporterUtil"); const configPath = `${path}config/`; diff --git a/TypeScript/17AsyncImporterWithDependency1/tsconfig.json b/TypeScript/17AsyncImporterWithDependency1/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/tsconfig.json +++ b/TypeScript/17AsyncImporterWithDependency1/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/BotCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/BundleCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/DataCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/GameCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HealthCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HttpCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/InraidCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/LocationCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/MatchCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ModCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/NoteCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/PresetCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/QuestCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/RepairCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/SaveCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/TradeCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/TraderCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/context/ApplicationContext.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/context/ApplicationContext.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/context/ContextVariable.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/context/ContextVariable.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/AchievementController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/AchievementController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/BotController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/BotController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/BuildController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/BuildController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/ClientLogController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/ClientLogController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/CustomizationController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/CustomizationController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/DialogueController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/DialogueController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/GameController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/GameController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/HandbookController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/HandbookController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/HealthController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/HealthController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/HideoutController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/HideoutController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/InraidController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/InraidController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/InsuranceController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/InsuranceController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/InventoryController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/InventoryController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/LauncherController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/LauncherController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/LocationController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/LocationController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/MatchController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/MatchController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/NoteController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/NoteController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/NotifierController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/NotifierController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/PresetController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/PresetController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/ProfileController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/ProfileController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/QuestController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/QuestController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/RagfairController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/RagfairController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/RepairController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/RepairController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/RepeatableQuestController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/TradeController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/TradeController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/TraderController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/TraderController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/WeatherController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/WeatherController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/controllers/WishlistController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/controllers/WishlistController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/di/Router.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/di/Router.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/BotGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/BotGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/BotInventoryGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/BotLevelGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/BotLootGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/BotWeaponGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/LocationGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/LocationGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/LootGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/LootGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/PMCLootGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/PlayerScavGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/WeatherGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/AssortHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/AssortHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/DialogueHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/GameEventHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/HandbookHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/HealthHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/HealthHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/HideoutHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/HttpServerHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/InRaidHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/InventoryHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/ItemHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/ItemHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/NotificationSendHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/NotifierHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/PaymentHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/PresetHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/PresetHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/ProbabilityHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/ProfileHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/QuestConditionHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/QuestHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/QuestHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairSellHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairServerHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairSortHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/RepairHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/RepairHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/SecureContainerHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/TradeHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/TradeHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/TraderAssortHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/helpers/TraderHelper.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/helpers/TraderHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/loaders/BundleLoader.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/loaders/BundleLoader.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/loaders/ModLoadOrder.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/loaders/ModTypeCheck.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/17AsyncImporterWithDependency1/types/loaders/PostAkiModLoader.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/17AsyncImporterWithDependency1/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/loaders/PostDBModLoader.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/loaders/PostSptModLoader.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency1/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/loaders/PreAkiModLoader.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/17AsyncImporterWithDependency1/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/loaders/PreSptModLoader.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency1/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/IGlobals.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILocation.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILocationBase.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/IPmcData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/hideout/IQteData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsAid.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsPing.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/enums/ConfigTypes.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/bindings/Route.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IBotConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IItemConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILootConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/controllers/IBotController.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/server/ILocations.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/CustomPreset.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/LootRequest.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/utils/ILogger.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/EventOutputHolder.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/HttpRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/HttpRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/ImageRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/ImageRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/ItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/BotStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/DataStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/GameStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/servers/ConfigServer.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/servers/ConfigServer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/servers/DatabaseServer.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/servers/DatabaseServer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/servers/HttpServer.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/servers/HttpServer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/servers/RagfairServer.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/servers/RagfairServer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/servers/SaveServer.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/servers/SaveServer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/17AsyncImporterWithDependency1/types/servers/WebSocketServer.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/servers/WebSocketServer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/servers/http/AkiHttpListener.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/17AsyncImporterWithDependency1/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/servers/http/SptHttpListener.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency1/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency1/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/BotEquipmentFilterService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/BotGenerationCacheService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/BotLootCacheService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/BotLootCacheService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/BotWeaponModLimitService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/CustomLocationWaveService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/FenceService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/FenceService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/GiftService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/GiftService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/InsuranceService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/InsuranceService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/ItemBaseClassService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/ItemFilterService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/ItemFilterService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/LocaleService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/LocaleService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/LocalisationService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/LocalisationService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/MailSendService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/MailSendService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/MatchLocationService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/MatchLocationService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/ModCompilerService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/ModCompilerService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/NotificationService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/NotificationService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/OpenZoneService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/OpenZoneService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/PaymentService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/PaymentService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/PlayerService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/PlayerService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/PmcChatResponseService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/ProfileFixerService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/ProfileFixerService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/ProfileSnapshotService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairCategoriesService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairLinkedItemService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairOfferService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairOfferService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairPriceService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairPriceService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairTaxService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairTaxService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/RepairService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/RepairService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/SeasonalEventService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/SeasonalEventService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/TraderAssortService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/TraderAssortService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/TraderServicesService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/TraderServicesService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/cache/ModHashCacheService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/CustomItemService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/App.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/App.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/AsyncQueue.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/AsyncQueue.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/DatabaseImporter.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/HashUtil.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/HashUtil.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/HttpFileUtil.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/HttpResponseUtil.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/ImporterUtil.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/ImporterUtil.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/JsonUtil.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/JsonUtil.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/ObjectId.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/ObjectId.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/RagfairOfferHolder.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/RandomUtil.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/RandomUtil.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/VFS.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/VFS.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/Watermark.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/Watermark.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/cloners/JsonCloner.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/17AsyncImporterWithDependency1/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/17AsyncImporterWithDependency2/README.md b/TypeScript/17AsyncImporterWithDependency2/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/17AsyncImporterWithDependency2/README.md +++ b/TypeScript/17AsyncImporterWithDependency2/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/17AsyncImporterWithDependency2/package.json b/TypeScript/17AsyncImporterWithDependency2/package.json index 6614a4d..4598d13 100644 --- a/TypeScript/17AsyncImporterWithDependency2/package.json +++ b/TypeScript/17AsyncImporterWithDependency2/package.json @@ -1,7 +1,7 @@ { "name": "AsyncWithDependency2", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/17AsyncImporterWithDependency2/src/mod.ts b/TypeScript/17AsyncImporterWithDependency2/src/mod.ts index 815a944..36808e8 100644 --- a/TypeScript/17AsyncImporterWithDependency2/src/mod.ts +++ b/TypeScript/17AsyncImporterWithDependency2/src/mod.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; import { ConfigsModelBase } from "./model/ConfigsModel"; -class Mod implements IPreAkiLoadModAsync { - public async preAkiLoadAsync(container: DependencyContainer): Promise { +class Mod implements IPreSptLoadModAsync { + public async preSptLoadAsync(container: DependencyContainer): Promise { // get logger const logger = container.resolve("WinstonLogger"); const importerUtil = container.resolve("ImporterUtil"); - const modImporter = container.resolve("PreAkiModLoader"); + const modImporter = container.resolve("PreSptModLoader"); const path = modImporter.getModPath("16ImporterUtil"); const configPath = `${path}config/`; diff --git a/TypeScript/17AsyncImporterWithDependency2/tsconfig.json b/TypeScript/17AsyncImporterWithDependency2/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/tsconfig.json +++ b/TypeScript/17AsyncImporterWithDependency2/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/BotCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/BundleCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/DataCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/GameCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HealthCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HttpCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/InraidCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/LocationCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/MatchCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ModCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/NoteCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/PresetCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/QuestCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/RepairCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/SaveCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/TradeCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/TraderCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/context/ApplicationContext.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/context/ApplicationContext.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/context/ContextVariable.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/context/ContextVariable.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/AchievementController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/AchievementController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/BotController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/BotController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/BuildController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/BuildController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/ClientLogController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/ClientLogController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/CustomizationController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/CustomizationController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/DialogueController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/DialogueController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/GameController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/GameController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/HandbookController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/HandbookController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/HealthController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/HealthController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/HideoutController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/HideoutController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/InraidController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/InraidController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/InsuranceController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/InsuranceController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/InventoryController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/InventoryController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/LauncherController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/LauncherController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/LocationController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/LocationController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/MatchController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/MatchController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/NoteController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/NoteController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/NotifierController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/NotifierController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/PresetController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/PresetController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/ProfileController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/ProfileController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/QuestController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/QuestController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/RagfairController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/RagfairController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/RepairController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/RepairController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/RepeatableQuestController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/TradeController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/TradeController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/TraderController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/TraderController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/WeatherController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/WeatherController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/controllers/WishlistController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/controllers/WishlistController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/di/Router.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/di/Router.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/BotGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/BotGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/BotInventoryGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/BotLevelGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/BotLootGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/BotWeaponGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/LocationGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/LocationGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/LootGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/LootGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/PMCLootGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/PlayerScavGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/WeatherGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/AssortHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/AssortHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/DialogueHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/GameEventHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/HandbookHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/HealthHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/HealthHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/HideoutHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/HttpServerHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/InRaidHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/InventoryHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/ItemHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/ItemHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/NotificationSendHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/NotifierHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/PaymentHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/PresetHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/PresetHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/ProbabilityHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/ProfileHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/QuestConditionHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/QuestHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/QuestHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairSellHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairServerHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairSortHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/RepairHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/RepairHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/SecureContainerHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/TradeHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/TradeHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/TraderAssortHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/helpers/TraderHelper.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/helpers/TraderHelper.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/loaders/BundleLoader.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/loaders/BundleLoader.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/loaders/ModLoadOrder.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/loaders/ModTypeCheck.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/17AsyncImporterWithDependency2/types/loaders/PostAkiModLoader.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/17AsyncImporterWithDependency2/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/loaders/PostDBModLoader.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/loaders/PostSptModLoader.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency2/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/loaders/PreAkiModLoader.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/17AsyncImporterWithDependency2/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/loaders/PreSptModLoader.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency2/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/IGlobals.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILocation.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILocationBase.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/IPmcData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/hideout/IQteData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsAid.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsPing.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/enums/ConfigTypes.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/bindings/Route.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IBotConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IItemConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILootConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/controllers/IBotController.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/server/ILocations.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/CustomPreset.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/LootRequest.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/utils/ILogger.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/EventOutputHolder.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/HttpRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/HttpRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/ImageRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/ImageRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/ItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/BotStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/DataStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/GameStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/servers/ConfigServer.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/servers/ConfigServer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/servers/DatabaseServer.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/servers/DatabaseServer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/servers/HttpServer.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/servers/HttpServer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/servers/RagfairServer.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/servers/RagfairServer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/servers/SaveServer.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/servers/SaveServer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/17AsyncImporterWithDependency2/types/servers/WebSocketServer.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/servers/WebSocketServer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/servers/http/AkiHttpListener.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/17AsyncImporterWithDependency2/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/servers/http/SptHttpListener.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency2/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/17AsyncImporterWithDependency2/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/BotEquipmentFilterService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/BotGenerationCacheService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/BotLootCacheService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/BotLootCacheService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/BotWeaponModLimitService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/CustomLocationWaveService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/FenceService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/FenceService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/GiftService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/GiftService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/InsuranceService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/InsuranceService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/ItemBaseClassService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/ItemFilterService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/ItemFilterService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/LocaleService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/LocaleService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/LocalisationService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/LocalisationService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/MailSendService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/MailSendService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/MatchLocationService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/MatchLocationService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/ModCompilerService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/ModCompilerService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/NotificationService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/NotificationService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/OpenZoneService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/OpenZoneService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/PaymentService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/PaymentService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/PlayerService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/PlayerService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/PmcChatResponseService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/ProfileFixerService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/ProfileFixerService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/ProfileSnapshotService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairCategoriesService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairLinkedItemService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairOfferService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairOfferService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairPriceService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairPriceService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairTaxService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairTaxService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/RepairService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/RepairService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/SeasonalEventService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/SeasonalEventService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/TraderAssortService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/TraderAssortService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/TraderServicesService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/TraderServicesService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/cache/ModHashCacheService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/CustomItemService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/App.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/App.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/AsyncQueue.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/AsyncQueue.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/DatabaseImporter.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/HashUtil.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/HashUtil.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/HttpFileUtil.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/HttpResponseUtil.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/ImporterUtil.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/ImporterUtil.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/JsonUtil.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/JsonUtil.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/ObjectId.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/ObjectId.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/RagfairOfferHolder.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/RandomUtil.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/RandomUtil.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/VFS.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/VFS.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/Watermark.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/Watermark.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/cloners/JsonCloner.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/17AsyncImporterWithDependency2/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/18CustomItemService/README.md b/TypeScript/18CustomItemService/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/18CustomItemService/README.md +++ b/TypeScript/18CustomItemService/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/18CustomItemService/package.json b/TypeScript/18CustomItemService/package.json index f9854d3..568afe5 100644 --- a/TypeScript/18CustomItemService/package.json +++ b/TypeScript/18CustomItemService/package.json @@ -1,7 +1,7 @@ { "name": "CustomItemService", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/18CustomItemService/src/mod.ts b/TypeScript/18CustomItemService/src/mod.ts index 100d342..9f3083b 100644 --- a/TypeScript/18CustomItemService/src/mod.ts +++ b/TypeScript/18CustomItemService/src/mod.ts @@ -1,12 +1,12 @@ import { DependencyContainer } from "tsyringe"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { CustomItemService } from "@spt-aki/services/mod/CustomItemService"; -import { NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { CustomItemService } from "@spt/services/mod/CustomItemService"; +import { NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; -class Mod implements IPostDBLoadMod, IPostAkiLoadMod +class Mod implements IPostDBLoadMod, IPostSptLoadMod { public postDBLoad(container: DependencyContainer): void { @@ -57,7 +57,7 @@ class Mod implements IPostDBLoadMod, IPostAkiLoadMod fleaPriceRoubles: 50000, //Self explanatary handbookPriceRoubles: 42500, handbookParentId: "5b5f78e986f77447ed5636b1", //Handbook Parent Id refers to the category the gun will be under - //you see those side box tab thing that only select gun under specific icon? Handbook parent can be found in Aki_Data\Server\database\templates. + //you see those side box tab thing that only select gun under specific icon? Handbook parent can be found in SPT_Data\Server\database\templates. locales: { en: { name: "MP-18 12g", @@ -71,7 +71,7 @@ class Mod implements IPostDBLoadMod, IPostAkiLoadMod } //Check if our item is in the server or not - public postAkiLoad(container: DependencyContainer): void { + public postSptLoad(container: DependencyContainer): void { const db = container.resolve("DatabaseServer"); const item = db.getTables().templates.items; diff --git a/TypeScript/18CustomItemService/tsconfig.json b/TypeScript/18CustomItemService/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/18CustomItemService/tsconfig.json +++ b/TypeScript/18CustomItemService/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/18CustomItemService/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/18CustomItemService/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/18CustomItemService/types/callbacks/BotCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/18CustomItemService/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/18CustomItemService/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/18CustomItemService/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/18CustomItemService/types/callbacks/BundleCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/18CustomItemService/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/18CustomItemService/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/18CustomItemService/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/18CustomItemService/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/18CustomItemService/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/18CustomItemService/types/callbacks/DataCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/18CustomItemService/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/18CustomItemService/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/18CustomItemService/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/18CustomItemService/types/callbacks/GameCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/18CustomItemService/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/18CustomItemService/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/18CustomItemService/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/18CustomItemService/types/callbacks/HealthCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/18CustomItemService/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/18CustomItemService/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/18CustomItemService/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/18CustomItemService/types/callbacks/HttpCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/18CustomItemService/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/18CustomItemService/types/callbacks/InraidCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/18CustomItemService/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/18CustomItemService/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/18CustomItemService/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/18CustomItemService/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/18CustomItemService/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/18CustomItemService/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/18CustomItemService/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/18CustomItemService/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/18CustomItemService/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/18CustomItemService/types/callbacks/LocationCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/18CustomItemService/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/18CustomItemService/types/callbacks/MatchCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/18CustomItemService/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/18CustomItemService/types/callbacks/ModCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/18CustomItemService/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/18CustomItemService/types/callbacks/NoteCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/18CustomItemService/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/18CustomItemService/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/18CustomItemService/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/18CustomItemService/types/callbacks/PresetCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/18CustomItemService/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/18CustomItemService/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/18CustomItemService/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/18CustomItemService/types/callbacks/QuestCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/18CustomItemService/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/18CustomItemService/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/18CustomItemService/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/18CustomItemService/types/callbacks/RepairCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/18CustomItemService/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/18CustomItemService/types/callbacks/SaveCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/18CustomItemService/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/18CustomItemService/types/callbacks/TradeCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/18CustomItemService/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/18CustomItemService/types/callbacks/TraderCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/18CustomItemService/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/18CustomItemService/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/18CustomItemService/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/18CustomItemService/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/18CustomItemService/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/18CustomItemService/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/18CustomItemService/types/context/ApplicationContext.d.ts b/TypeScript/18CustomItemService/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/18CustomItemService/types/context/ApplicationContext.d.ts +++ b/TypeScript/18CustomItemService/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/18CustomItemService/types/context/ContextVariable.d.ts b/TypeScript/18CustomItemService/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/18CustomItemService/types/context/ContextVariable.d.ts +++ b/TypeScript/18CustomItemService/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/18CustomItemService/types/controllers/AchievementController.d.ts b/TypeScript/18CustomItemService/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/18CustomItemService/types/controllers/AchievementController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/18CustomItemService/types/controllers/BotController.d.ts b/TypeScript/18CustomItemService/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/18CustomItemService/types/controllers/BotController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/18CustomItemService/types/controllers/BuildController.d.ts b/TypeScript/18CustomItemService/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/18CustomItemService/types/controllers/BuildController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/18CustomItemService/types/controllers/ClientLogController.d.ts b/TypeScript/18CustomItemService/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/18CustomItemService/types/controllers/ClientLogController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/18CustomItemService/types/controllers/CustomizationController.d.ts b/TypeScript/18CustomItemService/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/18CustomItemService/types/controllers/CustomizationController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/18CustomItemService/types/controllers/DialogueController.d.ts b/TypeScript/18CustomItemService/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/18CustomItemService/types/controllers/DialogueController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/18CustomItemService/types/controllers/GameController.d.ts b/TypeScript/18CustomItemService/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/18CustomItemService/types/controllers/GameController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/18CustomItemService/types/controllers/HandbookController.d.ts b/TypeScript/18CustomItemService/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/18CustomItemService/types/controllers/HandbookController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/18CustomItemService/types/controllers/HealthController.d.ts b/TypeScript/18CustomItemService/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/18CustomItemService/types/controllers/HealthController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/18CustomItemService/types/controllers/HideoutController.d.ts b/TypeScript/18CustomItemService/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/18CustomItemService/types/controllers/HideoutController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/controllers/InraidController.d.ts b/TypeScript/18CustomItemService/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/18CustomItemService/types/controllers/InraidController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/18CustomItemService/types/controllers/InsuranceController.d.ts b/TypeScript/18CustomItemService/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/18CustomItemService/types/controllers/InsuranceController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/18CustomItemService/types/controllers/InventoryController.d.ts b/TypeScript/18CustomItemService/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/18CustomItemService/types/controllers/InventoryController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/18CustomItemService/types/controllers/LauncherController.d.ts b/TypeScript/18CustomItemService/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/18CustomItemService/types/controllers/LauncherController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/18CustomItemService/types/controllers/LocationController.d.ts b/TypeScript/18CustomItemService/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/18CustomItemService/types/controllers/LocationController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/18CustomItemService/types/controllers/MatchController.d.ts b/TypeScript/18CustomItemService/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/18CustomItemService/types/controllers/MatchController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/18CustomItemService/types/controllers/NoteController.d.ts b/TypeScript/18CustomItemService/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/18CustomItemService/types/controllers/NoteController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/18CustomItemService/types/controllers/NotifierController.d.ts b/TypeScript/18CustomItemService/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/18CustomItemService/types/controllers/NotifierController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/18CustomItemService/types/controllers/PresetController.d.ts b/TypeScript/18CustomItemService/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/18CustomItemService/types/controllers/PresetController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/18CustomItemService/types/controllers/ProfileController.d.ts b/TypeScript/18CustomItemService/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/18CustomItemService/types/controllers/ProfileController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/18CustomItemService/types/controllers/QuestController.d.ts b/TypeScript/18CustomItemService/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/18CustomItemService/types/controllers/QuestController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/18CustomItemService/types/controllers/RagfairController.d.ts b/TypeScript/18CustomItemService/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/18CustomItemService/types/controllers/RagfairController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/18CustomItemService/types/controllers/RepairController.d.ts b/TypeScript/18CustomItemService/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/18CustomItemService/types/controllers/RepairController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/18CustomItemService/types/controllers/RepeatableQuestController.d.ts b/TypeScript/18CustomItemService/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/18CustomItemService/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/18CustomItemService/types/controllers/TradeController.d.ts b/TypeScript/18CustomItemService/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/18CustomItemService/types/controllers/TradeController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/18CustomItemService/types/controllers/TraderController.d.ts b/TypeScript/18CustomItemService/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/18CustomItemService/types/controllers/TraderController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/18CustomItemService/types/controllers/WeatherController.d.ts b/TypeScript/18CustomItemService/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/18CustomItemService/types/controllers/WeatherController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/18CustomItemService/types/controllers/WishlistController.d.ts b/TypeScript/18CustomItemService/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/18CustomItemService/types/controllers/WishlistController.d.ts +++ b/TypeScript/18CustomItemService/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/18CustomItemService/types/di/Router.d.ts b/TypeScript/18CustomItemService/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/18CustomItemService/types/di/Router.d.ts +++ b/TypeScript/18CustomItemService/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/18CustomItemService/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/18CustomItemService/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/18CustomItemService/types/generators/BotGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/18CustomItemService/types/generators/BotGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/generators/BotInventoryGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/18CustomItemService/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/generators/BotLevelGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/18CustomItemService/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/18CustomItemService/types/generators/BotLootGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/18CustomItemService/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/generators/BotWeaponGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/18CustomItemService/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/18CustomItemService/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/18CustomItemService/types/generators/LocationGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/18CustomItemService/types/generators/LocationGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/18CustomItemService/types/generators/LootGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/18CustomItemService/types/generators/LootGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/18CustomItemService/types/generators/PMCLootGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/18CustomItemService/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/18CustomItemService/types/generators/PlayerScavGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/18CustomItemService/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/18CustomItemService/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/18CustomItemService/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/18CustomItemService/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/18CustomItemService/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/18CustomItemService/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/18CustomItemService/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/18CustomItemService/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/18CustomItemService/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/18CustomItemService/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/18CustomItemService/types/generators/WeatherGenerator.d.ts b/TypeScript/18CustomItemService/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/18CustomItemService/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/18CustomItemService/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/18CustomItemService/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/18CustomItemService/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/18CustomItemService/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/18CustomItemService/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/18CustomItemService/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/18CustomItemService/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/18CustomItemService/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/18CustomItemService/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/18CustomItemService/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/18CustomItemService/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/18CustomItemService/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/18CustomItemService/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/18CustomItemService/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/18CustomItemService/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/18CustomItemService/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/18CustomItemService/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/18CustomItemService/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/18CustomItemService/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/18CustomItemService/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/18CustomItemService/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/18CustomItemService/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/18CustomItemService/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/18CustomItemService/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/18CustomItemService/types/helpers/AssortHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/18CustomItemService/types/helpers/AssortHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/18CustomItemService/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/18CustomItemService/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/18CustomItemService/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/18CustomItemService/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/18CustomItemService/types/helpers/BotHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/18CustomItemService/types/helpers/BotHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/18CustomItemService/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/18CustomItemService/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/18CustomItemService/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/18CustomItemService/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/18CustomItemService/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/18CustomItemService/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/18CustomItemService/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/18CustomItemService/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/18CustomItemService/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/18CustomItemService/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/18CustomItemService/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/18CustomItemService/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/18CustomItemService/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/18CustomItemService/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/18CustomItemService/types/helpers/DialogueHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/18CustomItemService/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/18CustomItemService/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/18CustomItemService/types/helpers/GameEventHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/18CustomItemService/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/18CustomItemService/types/helpers/HandbookHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/18CustomItemService/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/18CustomItemService/types/helpers/HealthHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/18CustomItemService/types/helpers/HealthHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/18CustomItemService/types/helpers/HideoutHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/18CustomItemService/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/helpers/HttpServerHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/18CustomItemService/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/18CustomItemService/types/helpers/InRaidHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/18CustomItemService/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/18CustomItemService/types/helpers/InventoryHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/18CustomItemService/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/18CustomItemService/types/helpers/ItemHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/18CustomItemService/types/helpers/ItemHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/helpers/NotificationSendHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/18CustomItemService/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/18CustomItemService/types/helpers/NotifierHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/18CustomItemService/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/18CustomItemService/types/helpers/PaymentHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/18CustomItemService/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/18CustomItemService/types/helpers/PresetHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/18CustomItemService/types/helpers/PresetHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/18CustomItemService/types/helpers/ProbabilityHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/18CustomItemService/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/18CustomItemService/types/helpers/ProfileHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/18CustomItemService/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/18CustomItemService/types/helpers/QuestConditionHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/18CustomItemService/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/18CustomItemService/types/helpers/QuestHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/18CustomItemService/types/helpers/QuestHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/18CustomItemService/types/helpers/RagfairHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/18CustomItemService/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/18CustomItemService/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/18CustomItemService/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/18CustomItemService/types/helpers/RagfairSellHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/18CustomItemService/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/18CustomItemService/types/helpers/RagfairServerHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/18CustomItemService/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/18CustomItemService/types/helpers/RagfairSortHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/18CustomItemService/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/18CustomItemService/types/helpers/RepairHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/18CustomItemService/types/helpers/RepairHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/18CustomItemService/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/18CustomItemService/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/18CustomItemService/types/helpers/SecureContainerHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/18CustomItemService/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/18CustomItemService/types/helpers/TradeHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/18CustomItemService/types/helpers/TradeHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/18CustomItemService/types/helpers/TraderAssortHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/18CustomItemService/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/18CustomItemService/types/helpers/TraderHelper.d.ts b/TypeScript/18CustomItemService/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/18CustomItemService/types/helpers/TraderHelper.d.ts +++ b/TypeScript/18CustomItemService/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/18CustomItemService/types/loaders/BundleLoader.d.ts b/TypeScript/18CustomItemService/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/18CustomItemService/types/loaders/BundleLoader.d.ts +++ b/TypeScript/18CustomItemService/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/18CustomItemService/types/loaders/ModLoadOrder.d.ts b/TypeScript/18CustomItemService/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/18CustomItemService/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/18CustomItemService/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/18CustomItemService/types/loaders/ModTypeCheck.d.ts b/TypeScript/18CustomItemService/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/18CustomItemService/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/18CustomItemService/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/18CustomItemService/types/loaders/PostAkiModLoader.d.ts b/TypeScript/18CustomItemService/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/18CustomItemService/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/18CustomItemService/types/loaders/PostDBModLoader.d.ts b/TypeScript/18CustomItemService/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/18CustomItemService/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/18CustomItemService/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/18CustomItemService/types/loaders/PostSptModLoader.d.ts b/TypeScript/18CustomItemService/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/18CustomItemService/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/18CustomItemService/types/loaders/PreAkiModLoader.d.ts b/TypeScript/18CustomItemService/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/18CustomItemService/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/18CustomItemService/types/loaders/PreSptModLoader.d.ts b/TypeScript/18CustomItemService/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/18CustomItemService/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/18CustomItemService/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/18CustomItemService/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/18CustomItemService/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/common/IGlobals.d.ts b/TypeScript/18CustomItemService/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/18CustomItemService/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/18CustomItemService/types/models/eft/common/ILocation.d.ts b/TypeScript/18CustomItemService/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/18CustomItemService/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/18CustomItemService/types/models/eft/common/ILocationBase.d.ts b/TypeScript/18CustomItemService/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/18CustomItemService/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/18CustomItemService/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/18CustomItemService/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/18CustomItemService/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/18CustomItemService/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/18CustomItemService/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/18CustomItemService/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/18CustomItemService/types/models/eft/common/IPmcData.d.ts b/TypeScript/18CustomItemService/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/18CustomItemService/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/18CustomItemService/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/18CustomItemService/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/18CustomItemService/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/18CustomItemService/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/18CustomItemService/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/18CustomItemService/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/18CustomItemService/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/18CustomItemService/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/18CustomItemService/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/18CustomItemService/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/18CustomItemService/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/18CustomItemService/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/18CustomItemService/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/18CustomItemService/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/18CustomItemService/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/18CustomItemService/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/18CustomItemService/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/18CustomItemService/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/18CustomItemService/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/18CustomItemService/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/18CustomItemService/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/18CustomItemService/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/18CustomItemService/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/18CustomItemService/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/18CustomItemService/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/18CustomItemService/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/18CustomItemService/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/18CustomItemService/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/18CustomItemService/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/18CustomItemService/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/18CustomItemService/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/18CustomItemService/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/18CustomItemService/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/18CustomItemService/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/18CustomItemService/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/18CustomItemService/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/18CustomItemService/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/18CustomItemService/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/18CustomItemService/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/18CustomItemService/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/18CustomItemService/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/18CustomItemService/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/18CustomItemService/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/18CustomItemService/types/models/eft/hideout/IQteData.d.ts b/TypeScript/18CustomItemService/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/18CustomItemService/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/18CustomItemService/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/18CustomItemService/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/18CustomItemService/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/18CustomItemService/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/18CustomItemService/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/18CustomItemService/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/18CustomItemService/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/18CustomItemService/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/18CustomItemService/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/18CustomItemService/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/18CustomItemService/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/18CustomItemService/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/18CustomItemService/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/18CustomItemService/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/18CustomItemService/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/18CustomItemService/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/18CustomItemService/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/18CustomItemService/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/18CustomItemService/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/18CustomItemService/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/18CustomItemService/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/18CustomItemService/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/18CustomItemService/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/18CustomItemService/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/18CustomItemService/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/18CustomItemService/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/18CustomItemService/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/18CustomItemService/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/18CustomItemService/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/18CustomItemService/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/18CustomItemService/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/18CustomItemService/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/18CustomItemService/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/18CustomItemService/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/18CustomItemService/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/18CustomItemService/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/18CustomItemService/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/18CustomItemService/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/18CustomItemService/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/18CustomItemService/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/18CustomItemService/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/18CustomItemService/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/18CustomItemService/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/18CustomItemService/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/18CustomItemService/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/18CustomItemService/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/18CustomItemService/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/18CustomItemService/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/18CustomItemService/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/18CustomItemService/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/18CustomItemService/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/18CustomItemService/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/18CustomItemService/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/18CustomItemService/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/18CustomItemService/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/18CustomItemService/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/18CustomItemService/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/18CustomItemService/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/18CustomItemService/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/18CustomItemService/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/18CustomItemService/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/18CustomItemService/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/18CustomItemService/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/18CustomItemService/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/18CustomItemService/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/18CustomItemService/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/18CustomItemService/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/18CustomItemService/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/18CustomItemService/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/18CustomItemService/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/18CustomItemService/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/18CustomItemService/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/ws/IWsAid.d.ts b/TypeScript/18CustomItemService/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/18CustomItemService/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/18CustomItemService/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/18CustomItemService/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/18CustomItemService/types/models/eft/ws/IWsPing.d.ts b/TypeScript/18CustomItemService/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/18CustomItemService/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/18CustomItemService/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/18CustomItemService/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/18CustomItemService/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/18CustomItemService/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/18CustomItemService/types/models/enums/ConfigTypes.d.ts b/TypeScript/18CustomItemService/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/18CustomItemService/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/18CustomItemService/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/18CustomItemService/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/18CustomItemService/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/18CustomItemService/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/18CustomItemService/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/18CustomItemService/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/18CustomItemService/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/18CustomItemService/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/18CustomItemService/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/18CustomItemService/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/18CustomItemService/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/18CustomItemService/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/18CustomItemService/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/18CustomItemService/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/18CustomItemService/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/18CustomItemService/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/18CustomItemService/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/18CustomItemService/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/18CustomItemService/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/18CustomItemService/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/18CustomItemService/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/18CustomItemService/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/18CustomItemService/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/18CustomItemService/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/18CustomItemService/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/18CustomItemService/types/models/spt/bindings/Route.d.ts b/TypeScript/18CustomItemService/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/18CustomItemService/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/18CustomItemService/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/18CustomItemService/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/18CustomItemService/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/18CustomItemService/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/18CustomItemService/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/18CustomItemService/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/18CustomItemService/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/18CustomItemService/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/18CustomItemService/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/18CustomItemService/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IBotConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/18CustomItemService/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IItemConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/18CustomItemService/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/18CustomItemService/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/18CustomItemService/types/models/spt/config/ILootConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/18CustomItemService/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/18CustomItemService/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/18CustomItemService/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/18CustomItemService/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/18CustomItemService/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/18CustomItemService/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/18CustomItemService/types/models/spt/controllers/IBotController.d.ts b/TypeScript/18CustomItemService/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/18CustomItemService/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/18CustomItemService/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/18CustomItemService/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/18CustomItemService/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/18CustomItemService/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/18CustomItemService/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/18CustomItemService/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/18CustomItemService/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/18CustomItemService/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/18CustomItemService/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/18CustomItemService/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/18CustomItemService/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/18CustomItemService/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/18CustomItemService/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/18CustomItemService/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/18CustomItemService/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/18CustomItemService/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/18CustomItemService/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/18CustomItemService/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/18CustomItemService/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/18CustomItemService/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/18CustomItemService/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/18CustomItemService/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/18CustomItemService/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/18CustomItemService/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/18CustomItemService/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/18CustomItemService/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/18CustomItemService/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/18CustomItemService/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/18CustomItemService/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/18CustomItemService/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/18CustomItemService/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/18CustomItemService/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/18CustomItemService/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/18CustomItemService/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/18CustomItemService/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/18CustomItemService/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/18CustomItemService/types/models/spt/server/ILocations.d.ts b/TypeScript/18CustomItemService/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/18CustomItemService/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/18CustomItemService/types/models/spt/services/CustomPreset.d.ts b/TypeScript/18CustomItemService/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/18CustomItemService/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/18CustomItemService/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/18CustomItemService/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/18CustomItemService/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/18CustomItemService/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/18CustomItemService/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/18CustomItemService/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/18CustomItemService/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/18CustomItemService/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/18CustomItemService/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/18CustomItemService/types/models/spt/services/LootRequest.d.ts b/TypeScript/18CustomItemService/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/18CustomItemService/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/18CustomItemService/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/18CustomItemService/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/18CustomItemService/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/18CustomItemService/types/models/spt/utils/ILogger.d.ts b/TypeScript/18CustomItemService/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/18CustomItemService/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/18CustomItemService/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/18CustomItemService/types/routers/EventOutputHolder.d.ts b/TypeScript/18CustomItemService/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/18CustomItemService/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/18CustomItemService/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/18CustomItemService/types/routers/HttpRouter.d.ts b/TypeScript/18CustomItemService/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/18CustomItemService/types/routers/HttpRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/18CustomItemService/types/routers/ImageRouter.d.ts b/TypeScript/18CustomItemService/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/18CustomItemService/types/routers/ImageRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/18CustomItemService/types/routers/ItemEventRouter.d.ts b/TypeScript/18CustomItemService/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/18CustomItemService/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/18CustomItemService/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/18CustomItemService/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/18CustomItemService/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/18CustomItemService/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/18CustomItemService/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/18CustomItemService/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/18CustomItemService/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/18CustomItemService/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/18CustomItemService/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/18CustomItemService/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/18CustomItemService/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/18CustomItemService/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/18CustomItemService/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/18CustomItemService/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/18CustomItemService/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/18CustomItemService/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/18CustomItemService/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/18CustomItemService/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/18CustomItemService/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/18CustomItemService/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/18CustomItemService/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/18CustomItemService/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/18CustomItemService/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/18CustomItemService/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/18CustomItemService/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/18CustomItemService/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/18CustomItemService/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/18CustomItemService/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/18CustomItemService/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/18CustomItemService/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/18CustomItemService/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/18CustomItemService/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/18CustomItemService/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/18CustomItemService/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/18CustomItemService/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/18CustomItemService/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/18CustomItemService/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/18CustomItemService/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/18CustomItemService/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/18CustomItemService/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/18CustomItemService/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/18CustomItemService/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/18CustomItemService/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/18CustomItemService/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/18CustomItemService/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/18CustomItemService/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/18CustomItemService/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/18CustomItemService/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/18CustomItemService/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/18CustomItemService/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/18CustomItemService/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/18CustomItemService/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/18CustomItemService/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/18CustomItemService/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/18CustomItemService/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/18CustomItemService/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/18CustomItemService/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/18CustomItemService/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/18CustomItemService/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/18CustomItemService/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/18CustomItemService/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/18CustomItemService/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/18CustomItemService/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/18CustomItemService/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/18CustomItemService/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/18CustomItemService/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/18CustomItemService/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/18CustomItemService/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/18CustomItemService/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/BotStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/18CustomItemService/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/18CustomItemService/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/18CustomItemService/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/18CustomItemService/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/18CustomItemService/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/DataStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/18CustomItemService/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/18CustomItemService/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/GameStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/18CustomItemService/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/18CustomItemService/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/18CustomItemService/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/18CustomItemService/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/18CustomItemService/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/18CustomItemService/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/18CustomItemService/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/18CustomItemService/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/18CustomItemService/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/18CustomItemService/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/18CustomItemService/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/18CustomItemService/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/18CustomItemService/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/18CustomItemService/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/18CustomItemService/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/18CustomItemService/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/18CustomItemService/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/18CustomItemService/types/servers/ConfigServer.d.ts b/TypeScript/18CustomItemService/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/18CustomItemService/types/servers/ConfigServer.d.ts +++ b/TypeScript/18CustomItemService/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/18CustomItemService/types/servers/DatabaseServer.d.ts b/TypeScript/18CustomItemService/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/18CustomItemService/types/servers/DatabaseServer.d.ts +++ b/TypeScript/18CustomItemService/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/18CustomItemService/types/servers/HttpServer.d.ts b/TypeScript/18CustomItemService/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/18CustomItemService/types/servers/HttpServer.d.ts +++ b/TypeScript/18CustomItemService/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/18CustomItemService/types/servers/RagfairServer.d.ts b/TypeScript/18CustomItemService/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/18CustomItemService/types/servers/RagfairServer.d.ts +++ b/TypeScript/18CustomItemService/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/18CustomItemService/types/servers/SaveServer.d.ts b/TypeScript/18CustomItemService/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/18CustomItemService/types/servers/SaveServer.d.ts +++ b/TypeScript/18CustomItemService/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/18CustomItemService/types/servers/WebSocketServer.d.ts b/TypeScript/18CustomItemService/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/18CustomItemService/types/servers/WebSocketServer.d.ts +++ b/TypeScript/18CustomItemService/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/18CustomItemService/types/servers/http/AkiHttpListener.d.ts b/TypeScript/18CustomItemService/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/18CustomItemService/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/18CustomItemService/types/servers/http/SptHttpListener.d.ts b/TypeScript/18CustomItemService/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/18CustomItemService/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/18CustomItemService/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/18CustomItemService/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/18CustomItemService/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/18CustomItemService/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/18CustomItemService/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/18CustomItemService/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/18CustomItemService/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/18CustomItemService/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/18CustomItemService/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/18CustomItemService/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/18CustomItemService/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/18CustomItemService/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/18CustomItemService/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/18CustomItemService/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/18CustomItemService/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/18CustomItemService/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/18CustomItemService/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/18CustomItemService/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/18CustomItemService/types/services/BotEquipmentFilterService.d.ts b/TypeScript/18CustomItemService/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/18CustomItemService/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/18CustomItemService/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/18CustomItemService/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/18CustomItemService/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/18CustomItemService/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/18CustomItemService/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/18CustomItemService/types/services/BotGenerationCacheService.d.ts b/TypeScript/18CustomItemService/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/18CustomItemService/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/18CustomItemService/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/18CustomItemService/types/services/BotLootCacheService.d.ts b/TypeScript/18CustomItemService/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/18CustomItemService/types/services/BotLootCacheService.d.ts +++ b/TypeScript/18CustomItemService/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/18CustomItemService/types/services/BotWeaponModLimitService.d.ts b/TypeScript/18CustomItemService/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/18CustomItemService/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/18CustomItemService/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/18CustomItemService/types/services/CustomLocationWaveService.d.ts b/TypeScript/18CustomItemService/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/18CustomItemService/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/18CustomItemService/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/18CustomItemService/types/services/FenceService.d.ts b/TypeScript/18CustomItemService/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/18CustomItemService/types/services/FenceService.d.ts +++ b/TypeScript/18CustomItemService/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/18CustomItemService/types/services/GiftService.d.ts b/TypeScript/18CustomItemService/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/18CustomItemService/types/services/GiftService.d.ts +++ b/TypeScript/18CustomItemService/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/18CustomItemService/types/services/InsuranceService.d.ts b/TypeScript/18CustomItemService/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/18CustomItemService/types/services/InsuranceService.d.ts +++ b/TypeScript/18CustomItemService/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/18CustomItemService/types/services/ItemBaseClassService.d.ts b/TypeScript/18CustomItemService/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/18CustomItemService/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/18CustomItemService/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/18CustomItemService/types/services/ItemFilterService.d.ts b/TypeScript/18CustomItemService/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/18CustomItemService/types/services/ItemFilterService.d.ts +++ b/TypeScript/18CustomItemService/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/18CustomItemService/types/services/LocaleService.d.ts b/TypeScript/18CustomItemService/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/18CustomItemService/types/services/LocaleService.d.ts +++ b/TypeScript/18CustomItemService/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/18CustomItemService/types/services/LocalisationService.d.ts b/TypeScript/18CustomItemService/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/18CustomItemService/types/services/LocalisationService.d.ts +++ b/TypeScript/18CustomItemService/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/18CustomItemService/types/services/MailSendService.d.ts b/TypeScript/18CustomItemService/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/18CustomItemService/types/services/MailSendService.d.ts +++ b/TypeScript/18CustomItemService/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/18CustomItemService/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/18CustomItemService/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/18CustomItemService/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/18CustomItemService/types/services/MatchLocationService.d.ts b/TypeScript/18CustomItemService/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/18CustomItemService/types/services/MatchLocationService.d.ts +++ b/TypeScript/18CustomItemService/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/18CustomItemService/types/services/ModCompilerService.d.ts b/TypeScript/18CustomItemService/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/18CustomItemService/types/services/ModCompilerService.d.ts +++ b/TypeScript/18CustomItemService/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/18CustomItemService/types/services/NotificationService.d.ts b/TypeScript/18CustomItemService/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/18CustomItemService/types/services/NotificationService.d.ts +++ b/TypeScript/18CustomItemService/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/18CustomItemService/types/services/OpenZoneService.d.ts b/TypeScript/18CustomItemService/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/18CustomItemService/types/services/OpenZoneService.d.ts +++ b/TypeScript/18CustomItemService/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/18CustomItemService/types/services/PaymentService.d.ts b/TypeScript/18CustomItemService/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/18CustomItemService/types/services/PaymentService.d.ts +++ b/TypeScript/18CustomItemService/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/services/PlayerService.d.ts b/TypeScript/18CustomItemService/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/18CustomItemService/types/services/PlayerService.d.ts +++ b/TypeScript/18CustomItemService/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/18CustomItemService/types/services/PmcChatResponseService.d.ts b/TypeScript/18CustomItemService/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/18CustomItemService/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/18CustomItemService/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/services/ProfileFixerService.d.ts b/TypeScript/18CustomItemService/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/18CustomItemService/types/services/ProfileFixerService.d.ts +++ b/TypeScript/18CustomItemService/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/18CustomItemService/types/services/ProfileSnapshotService.d.ts b/TypeScript/18CustomItemService/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/18CustomItemService/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/18CustomItemService/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/18CustomItemService/types/services/RagfairCategoriesService.d.ts b/TypeScript/18CustomItemService/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/18CustomItemService/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/18CustomItemService/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/18CustomItemService/types/services/RagfairLinkedItemService.d.ts b/TypeScript/18CustomItemService/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/18CustomItemService/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/18CustomItemService/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/18CustomItemService/types/services/RagfairOfferService.d.ts b/TypeScript/18CustomItemService/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/18CustomItemService/types/services/RagfairOfferService.d.ts +++ b/TypeScript/18CustomItemService/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/18CustomItemService/types/services/RagfairPriceService.d.ts b/TypeScript/18CustomItemService/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/18CustomItemService/types/services/RagfairPriceService.d.ts +++ b/TypeScript/18CustomItemService/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/18CustomItemService/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/18CustomItemService/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/18CustomItemService/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/18CustomItemService/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/18CustomItemService/types/services/RagfairTaxService.d.ts b/TypeScript/18CustomItemService/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/18CustomItemService/types/services/RagfairTaxService.d.ts +++ b/TypeScript/18CustomItemService/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/18CustomItemService/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/18CustomItemService/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/18CustomItemService/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/18CustomItemService/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/18CustomItemService/types/services/RepairService.d.ts b/TypeScript/18CustomItemService/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/18CustomItemService/types/services/RepairService.d.ts +++ b/TypeScript/18CustomItemService/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/18CustomItemService/types/services/SeasonalEventService.d.ts b/TypeScript/18CustomItemService/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/18CustomItemService/types/services/SeasonalEventService.d.ts +++ b/TypeScript/18CustomItemService/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/18CustomItemService/types/services/TraderAssortService.d.ts b/TypeScript/18CustomItemService/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/18CustomItemService/types/services/TraderAssortService.d.ts +++ b/TypeScript/18CustomItemService/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/18CustomItemService/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/18CustomItemService/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/18CustomItemService/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/18CustomItemService/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/18CustomItemService/types/services/TraderServicesService.d.ts b/TypeScript/18CustomItemService/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/18CustomItemService/types/services/TraderServicesService.d.ts +++ b/TypeScript/18CustomItemService/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/18CustomItemService/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/18CustomItemService/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/18CustomItemService/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/18CustomItemService/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/services/cache/ModHashCacheService.d.ts b/TypeScript/18CustomItemService/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/18CustomItemService/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/18CustomItemService/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/services/mod/CustomItemService.d.ts b/TypeScript/18CustomItemService/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/18CustomItemService/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/18CustomItemService/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/18CustomItemService/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/18CustomItemService/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/18CustomItemService/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/18CustomItemService/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/18CustomItemService/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/18CustomItemService/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/18CustomItemService/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/18CustomItemService/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/18CustomItemService/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/18CustomItemService/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/18CustomItemService/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/18CustomItemService/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/18CustomItemService/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/18CustomItemService/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/18CustomItemService/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/18CustomItemService/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/18CustomItemService/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/18CustomItemService/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/18CustomItemService/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/18CustomItemService/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/18CustomItemService/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/18CustomItemService/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/18CustomItemService/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/18CustomItemService/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/18CustomItemService/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/18CustomItemService/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/18CustomItemService/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/18CustomItemService/types/utils/App.d.ts b/TypeScript/18CustomItemService/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/18CustomItemService/types/utils/App.d.ts +++ b/TypeScript/18CustomItemService/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/18CustomItemService/types/utils/AsyncQueue.d.ts b/TypeScript/18CustomItemService/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/18CustomItemService/types/utils/AsyncQueue.d.ts +++ b/TypeScript/18CustomItemService/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/18CustomItemService/types/utils/DatabaseImporter.d.ts b/TypeScript/18CustomItemService/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/18CustomItemService/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/18CustomItemService/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/18CustomItemService/types/utils/HashUtil.d.ts b/TypeScript/18CustomItemService/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/18CustomItemService/types/utils/HashUtil.d.ts +++ b/TypeScript/18CustomItemService/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/18CustomItemService/types/utils/HttpFileUtil.d.ts b/TypeScript/18CustomItemService/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/18CustomItemService/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/18CustomItemService/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/18CustomItemService/types/utils/HttpResponseUtil.d.ts b/TypeScript/18CustomItemService/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/18CustomItemService/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/18CustomItemService/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/18CustomItemService/types/utils/ImporterUtil.d.ts b/TypeScript/18CustomItemService/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/18CustomItemService/types/utils/ImporterUtil.d.ts +++ b/TypeScript/18CustomItemService/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/18CustomItemService/types/utils/JsonUtil.d.ts b/TypeScript/18CustomItemService/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/18CustomItemService/types/utils/JsonUtil.d.ts +++ b/TypeScript/18CustomItemService/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/18CustomItemService/types/utils/ObjectId.d.ts b/TypeScript/18CustomItemService/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/18CustomItemService/types/utils/ObjectId.d.ts +++ b/TypeScript/18CustomItemService/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/18CustomItemService/types/utils/RagfairOfferHolder.d.ts b/TypeScript/18CustomItemService/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/18CustomItemService/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/18CustomItemService/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/18CustomItemService/types/utils/RandomUtil.d.ts b/TypeScript/18CustomItemService/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/18CustomItemService/types/utils/RandomUtil.d.ts +++ b/TypeScript/18CustomItemService/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/18CustomItemService/types/utils/VFS.d.ts b/TypeScript/18CustomItemService/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/18CustomItemService/types/utils/VFS.d.ts +++ b/TypeScript/18CustomItemService/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/18CustomItemService/types/utils/Watermark.d.ts b/TypeScript/18CustomItemService/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/18CustomItemService/types/utils/Watermark.d.ts +++ b/TypeScript/18CustomItemService/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/18CustomItemService/types/utils/cloners/JsonCloner.d.ts b/TypeScript/18CustomItemService/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/18CustomItemService/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/18CustomItemService/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/18CustomItemService/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/18CustomItemService/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/18CustomItemService/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/18CustomItemService/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/18CustomItemService/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/18CustomItemService/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/18CustomItemService/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/18CustomItemService/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/18CustomItemService/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/18CustomItemService/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/18CustomItemService/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/18CustomItemService/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/18CustomItemService/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/18CustomItemService/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/18CustomItemService/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/18CustomItemService/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/18CustomItemService/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/18CustomItemService/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/18CustomItemService/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/18CustomItemService/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/19UseExternalLibraries/README.md b/TypeScript/19UseExternalLibraries/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/19UseExternalLibraries/README.md +++ b/TypeScript/19UseExternalLibraries/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/19UseExternalLibraries/package.json b/TypeScript/19UseExternalLibraries/package.json index 4b54b64..2c2ee30 100644 --- a/TypeScript/19UseExternalLibraries/package.json +++ b/TypeScript/19UseExternalLibraries/package.json @@ -1,7 +1,7 @@ { "name": "UseExternalLibraries", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/19UseExternalLibraries/src/mod.ts b/TypeScript/19UseExternalLibraries/src/mod.ts index 13bd96b..efe5e5e 100644 --- a/TypeScript/19UseExternalLibraries/src/mod.ts +++ b/TypeScript/19UseExternalLibraries/src/mod.ts @@ -1,17 +1,17 @@ import path from "node:path"; import { DependencyContainer } from "tsyringe"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { VFS } from "@spt-aki/utils/VFS"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { VFS } from "@spt/utils/VFS"; import { jsonc } from "jsonc"; // Our dynamically imported package (via pnpm) not bundled into the server import ora from "ora-classic"; -class Mod implements IPreAkiLoadMod, IPostAkiLoadMod { - public preAkiLoad(container: DependencyContainer): void { +class Mod implements IPreSptLoadMod, IPostSptLoadMod { + public preSptLoad(container: DependencyContainer): void { const vfs = container.resolve("VFS"); const logger = container.resolve("WinstonLogger"); @@ -20,7 +20,7 @@ class Mod implements IPreAkiLoadMod, IPostAkiLoadMod { logger.success(jsonc.stringify(parsedJsonC, null, "\t")); // you could use the built in JSON api here if you really wanted too aswell, i used jsonc to really drive home the point that it works } - public postAkiLoad(container: DependencyContainer): void { + public postSptLoad(container: DependencyContainer): void { // this first timeout is just to prevent a weird formatting problem on the console, you can ignore it, you don't really need it anyways, it's just so that it looks right on the console setTimeout(() => { const spinner = ora({ diff --git a/TypeScript/19UseExternalLibraries/tsconfig.json b/TypeScript/19UseExternalLibraries/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/19UseExternalLibraries/tsconfig.json +++ b/TypeScript/19UseExternalLibraries/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/BotCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/BundleCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/DataCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/GameCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/HealthCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/HttpCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/InraidCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/LocationCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/MatchCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/ModCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/NoteCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/PresetCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/QuestCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/RepairCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/SaveCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/TradeCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/TraderCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/19UseExternalLibraries/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/19UseExternalLibraries/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/19UseExternalLibraries/types/context/ApplicationContext.d.ts b/TypeScript/19UseExternalLibraries/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/19UseExternalLibraries/types/context/ApplicationContext.d.ts +++ b/TypeScript/19UseExternalLibraries/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/19UseExternalLibraries/types/context/ContextVariable.d.ts b/TypeScript/19UseExternalLibraries/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/19UseExternalLibraries/types/context/ContextVariable.d.ts +++ b/TypeScript/19UseExternalLibraries/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/AchievementController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/AchievementController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/19UseExternalLibraries/types/controllers/BotController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/BotController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/BuildController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/BuildController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/19UseExternalLibraries/types/controllers/ClientLogController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/ClientLogController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/19UseExternalLibraries/types/controllers/CustomizationController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/CustomizationController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/DialogueController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/DialogueController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/19UseExternalLibraries/types/controllers/GameController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/GameController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/19UseExternalLibraries/types/controllers/HandbookController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/HandbookController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/HealthController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/HealthController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/HideoutController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/HideoutController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/InraidController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/InraidController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/19UseExternalLibraries/types/controllers/InsuranceController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/InsuranceController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/InventoryController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/InventoryController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/19UseExternalLibraries/types/controllers/LauncherController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/LauncherController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/19UseExternalLibraries/types/controllers/LocationController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/LocationController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/MatchController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/MatchController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/NoteController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/NoteController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/19UseExternalLibraries/types/controllers/NotifierController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/NotifierController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/PresetController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/PresetController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/ProfileController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/ProfileController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/19UseExternalLibraries/types/controllers/QuestController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/QuestController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/RagfairController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/RagfairController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/19UseExternalLibraries/types/controllers/RepairController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/RepairController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/RepeatableQuestController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/TradeController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/TradeController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/TraderController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/TraderController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/WeatherController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/WeatherController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/19UseExternalLibraries/types/controllers/WishlistController.d.ts b/TypeScript/19UseExternalLibraries/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/19UseExternalLibraries/types/controllers/WishlistController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/19UseExternalLibraries/types/di/Router.d.ts b/TypeScript/19UseExternalLibraries/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/19UseExternalLibraries/types/di/Router.d.ts +++ b/TypeScript/19UseExternalLibraries/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/19UseExternalLibraries/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/19UseExternalLibraries/types/generators/BotGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/BotGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/generators/BotInventoryGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/generators/BotLevelGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/19UseExternalLibraries/types/generators/BotLootGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/generators/BotWeaponGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/19UseExternalLibraries/types/generators/LocationGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/LocationGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/19UseExternalLibraries/types/generators/LootGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/LootGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/19UseExternalLibraries/types/generators/PMCLootGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/19UseExternalLibraries/types/generators/PlayerScavGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/19UseExternalLibraries/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/19UseExternalLibraries/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/19UseExternalLibraries/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/19UseExternalLibraries/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/19UseExternalLibraries/types/generators/WeatherGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/19UseExternalLibraries/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/19UseExternalLibraries/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/19UseExternalLibraries/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/19UseExternalLibraries/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/19UseExternalLibraries/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/19UseExternalLibraries/types/helpers/AssortHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/AssortHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/BotHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/BotHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/DialogueHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/GameEventHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/HandbookHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/19UseExternalLibraries/types/helpers/HealthHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/HealthHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/19UseExternalLibraries/types/helpers/HideoutHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/HttpServerHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/InRaidHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/InventoryHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/ItemHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/ItemHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/NotificationSendHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/19UseExternalLibraries/types/helpers/NotifierHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/19UseExternalLibraries/types/helpers/PaymentHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/PresetHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/PresetHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/ProbabilityHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/ProfileHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/19UseExternalLibraries/types/helpers/QuestConditionHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/QuestHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/QuestHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/19UseExternalLibraries/types/helpers/RagfairHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/19UseExternalLibraries/types/helpers/RagfairSellHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/RagfairServerHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/19UseExternalLibraries/types/helpers/RagfairSortHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/RepairHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/RepairHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/SecureContainerHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/TradeHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/TradeHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/TraderAssortHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/19UseExternalLibraries/types/helpers/TraderHelper.d.ts b/TypeScript/19UseExternalLibraries/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/19UseExternalLibraries/types/helpers/TraderHelper.d.ts +++ b/TypeScript/19UseExternalLibraries/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/19UseExternalLibraries/types/loaders/BundleLoader.d.ts b/TypeScript/19UseExternalLibraries/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/19UseExternalLibraries/types/loaders/BundleLoader.d.ts +++ b/TypeScript/19UseExternalLibraries/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/19UseExternalLibraries/types/loaders/ModLoadOrder.d.ts b/TypeScript/19UseExternalLibraries/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/19UseExternalLibraries/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/19UseExternalLibraries/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/19UseExternalLibraries/types/loaders/ModTypeCheck.d.ts b/TypeScript/19UseExternalLibraries/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/19UseExternalLibraries/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/19UseExternalLibraries/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/19UseExternalLibraries/types/loaders/PostAkiModLoader.d.ts b/TypeScript/19UseExternalLibraries/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/19UseExternalLibraries/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/19UseExternalLibraries/types/loaders/PostDBModLoader.d.ts b/TypeScript/19UseExternalLibraries/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/19UseExternalLibraries/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/19UseExternalLibraries/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/19UseExternalLibraries/types/loaders/PostSptModLoader.d.ts b/TypeScript/19UseExternalLibraries/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/19UseExternalLibraries/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/19UseExternalLibraries/types/loaders/PreAkiModLoader.d.ts b/TypeScript/19UseExternalLibraries/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/19UseExternalLibraries/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/19UseExternalLibraries/types/loaders/PreSptModLoader.d.ts b/TypeScript/19UseExternalLibraries/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/19UseExternalLibraries/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/common/IGlobals.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/common/ILocation.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/common/ILocationBase.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/common/IPmcData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/hideout/IQteData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/19UseExternalLibraries/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/19UseExternalLibraries/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsAid.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsPing.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/enums/ConfigTypes.d.ts b/TypeScript/19UseExternalLibraries/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/19UseExternalLibraries/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/19UseExternalLibraries/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/19UseExternalLibraries/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/19UseExternalLibraries/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/19UseExternalLibraries/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/19UseExternalLibraries/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/19UseExternalLibraries/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/19UseExternalLibraries/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/19UseExternalLibraries/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/19UseExternalLibraries/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/19UseExternalLibraries/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/19UseExternalLibraries/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/19UseExternalLibraries/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/19UseExternalLibraries/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/19UseExternalLibraries/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/19UseExternalLibraries/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/19UseExternalLibraries/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/19UseExternalLibraries/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/19UseExternalLibraries/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/19UseExternalLibraries/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/19UseExternalLibraries/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/19UseExternalLibraries/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/19UseExternalLibraries/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/19UseExternalLibraries/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/19UseExternalLibraries/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/bindings/Route.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IBotConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IItemConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/ILootConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/controllers/IBotController.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/19UseExternalLibraries/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/server/ILocations.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/services/CustomPreset.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/services/LootRequest.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/19UseExternalLibraries/types/models/spt/utils/ILogger.d.ts b/TypeScript/19UseExternalLibraries/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/19UseExternalLibraries/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/19UseExternalLibraries/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/19UseExternalLibraries/types/routers/EventOutputHolder.d.ts b/TypeScript/19UseExternalLibraries/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/19UseExternalLibraries/types/routers/HttpRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/HttpRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/19UseExternalLibraries/types/routers/ImageRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/ImageRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/19UseExternalLibraries/types/routers/ItemEventRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/19UseExternalLibraries/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/19UseExternalLibraries/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/19UseExternalLibraries/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/19UseExternalLibraries/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/19UseExternalLibraries/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/19UseExternalLibraries/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/19UseExternalLibraries/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/19UseExternalLibraries/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/19UseExternalLibraries/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/19UseExternalLibraries/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/19UseExternalLibraries/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/19UseExternalLibraries/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/19UseExternalLibraries/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/BotStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/DataStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/GameStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/19UseExternalLibraries/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/19UseExternalLibraries/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/19UseExternalLibraries/types/servers/ConfigServer.d.ts b/TypeScript/19UseExternalLibraries/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/19UseExternalLibraries/types/servers/ConfigServer.d.ts +++ b/TypeScript/19UseExternalLibraries/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/19UseExternalLibraries/types/servers/DatabaseServer.d.ts b/TypeScript/19UseExternalLibraries/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/19UseExternalLibraries/types/servers/DatabaseServer.d.ts +++ b/TypeScript/19UseExternalLibraries/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/19UseExternalLibraries/types/servers/HttpServer.d.ts b/TypeScript/19UseExternalLibraries/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/19UseExternalLibraries/types/servers/HttpServer.d.ts +++ b/TypeScript/19UseExternalLibraries/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/19UseExternalLibraries/types/servers/RagfairServer.d.ts b/TypeScript/19UseExternalLibraries/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/19UseExternalLibraries/types/servers/RagfairServer.d.ts +++ b/TypeScript/19UseExternalLibraries/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/19UseExternalLibraries/types/servers/SaveServer.d.ts b/TypeScript/19UseExternalLibraries/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/19UseExternalLibraries/types/servers/SaveServer.d.ts +++ b/TypeScript/19UseExternalLibraries/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/19UseExternalLibraries/types/servers/WebSocketServer.d.ts b/TypeScript/19UseExternalLibraries/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/19UseExternalLibraries/types/servers/WebSocketServer.d.ts +++ b/TypeScript/19UseExternalLibraries/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/19UseExternalLibraries/types/servers/http/AkiHttpListener.d.ts b/TypeScript/19UseExternalLibraries/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/19UseExternalLibraries/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/19UseExternalLibraries/types/servers/http/SptHttpListener.d.ts b/TypeScript/19UseExternalLibraries/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/19UseExternalLibraries/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/19UseExternalLibraries/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/19UseExternalLibraries/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/19UseExternalLibraries/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/19UseExternalLibraries/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/19UseExternalLibraries/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/19UseExternalLibraries/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/19UseExternalLibraries/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/19UseExternalLibraries/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/19UseExternalLibraries/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/19UseExternalLibraries/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/19UseExternalLibraries/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/19UseExternalLibraries/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/19UseExternalLibraries/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/19UseExternalLibraries/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/19UseExternalLibraries/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/19UseExternalLibraries/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/19UseExternalLibraries/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/19UseExternalLibraries/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/19UseExternalLibraries/types/services/BotEquipmentFilterService.d.ts b/TypeScript/19UseExternalLibraries/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/19UseExternalLibraries/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/19UseExternalLibraries/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/19UseExternalLibraries/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/19UseExternalLibraries/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/19UseExternalLibraries/types/services/BotGenerationCacheService.d.ts b/TypeScript/19UseExternalLibraries/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/19UseExternalLibraries/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/19UseExternalLibraries/types/services/BotLootCacheService.d.ts b/TypeScript/19UseExternalLibraries/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/19UseExternalLibraries/types/services/BotLootCacheService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/19UseExternalLibraries/types/services/BotWeaponModLimitService.d.ts b/TypeScript/19UseExternalLibraries/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/19UseExternalLibraries/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/19UseExternalLibraries/types/services/CustomLocationWaveService.d.ts b/TypeScript/19UseExternalLibraries/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/19UseExternalLibraries/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/19UseExternalLibraries/types/services/FenceService.d.ts b/TypeScript/19UseExternalLibraries/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/19UseExternalLibraries/types/services/FenceService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/19UseExternalLibraries/types/services/GiftService.d.ts b/TypeScript/19UseExternalLibraries/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/19UseExternalLibraries/types/services/GiftService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/19UseExternalLibraries/types/services/InsuranceService.d.ts b/TypeScript/19UseExternalLibraries/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/19UseExternalLibraries/types/services/InsuranceService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/19UseExternalLibraries/types/services/ItemBaseClassService.d.ts b/TypeScript/19UseExternalLibraries/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/19UseExternalLibraries/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/19UseExternalLibraries/types/services/ItemFilterService.d.ts b/TypeScript/19UseExternalLibraries/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/19UseExternalLibraries/types/services/ItemFilterService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/19UseExternalLibraries/types/services/LocaleService.d.ts b/TypeScript/19UseExternalLibraries/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/19UseExternalLibraries/types/services/LocaleService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/19UseExternalLibraries/types/services/LocalisationService.d.ts b/TypeScript/19UseExternalLibraries/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/19UseExternalLibraries/types/services/LocalisationService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/19UseExternalLibraries/types/services/MailSendService.d.ts b/TypeScript/19UseExternalLibraries/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/19UseExternalLibraries/types/services/MailSendService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/19UseExternalLibraries/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/19UseExternalLibraries/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/19UseExternalLibraries/types/services/MatchLocationService.d.ts b/TypeScript/19UseExternalLibraries/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/19UseExternalLibraries/types/services/MatchLocationService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/19UseExternalLibraries/types/services/ModCompilerService.d.ts b/TypeScript/19UseExternalLibraries/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/19UseExternalLibraries/types/services/ModCompilerService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/19UseExternalLibraries/types/services/NotificationService.d.ts b/TypeScript/19UseExternalLibraries/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/19UseExternalLibraries/types/services/NotificationService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/19UseExternalLibraries/types/services/OpenZoneService.d.ts b/TypeScript/19UseExternalLibraries/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/19UseExternalLibraries/types/services/OpenZoneService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/19UseExternalLibraries/types/services/PaymentService.d.ts b/TypeScript/19UseExternalLibraries/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/19UseExternalLibraries/types/services/PaymentService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/services/PlayerService.d.ts b/TypeScript/19UseExternalLibraries/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/19UseExternalLibraries/types/services/PlayerService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/19UseExternalLibraries/types/services/PmcChatResponseService.d.ts b/TypeScript/19UseExternalLibraries/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/19UseExternalLibraries/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/services/ProfileFixerService.d.ts b/TypeScript/19UseExternalLibraries/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/19UseExternalLibraries/types/services/ProfileFixerService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/19UseExternalLibraries/types/services/ProfileSnapshotService.d.ts b/TypeScript/19UseExternalLibraries/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/19UseExternalLibraries/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/19UseExternalLibraries/types/services/RagfairCategoriesService.d.ts b/TypeScript/19UseExternalLibraries/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/19UseExternalLibraries/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/19UseExternalLibraries/types/services/RagfairLinkedItemService.d.ts b/TypeScript/19UseExternalLibraries/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/19UseExternalLibraries/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/19UseExternalLibraries/types/services/RagfairOfferService.d.ts b/TypeScript/19UseExternalLibraries/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/19UseExternalLibraries/types/services/RagfairOfferService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/19UseExternalLibraries/types/services/RagfairPriceService.d.ts b/TypeScript/19UseExternalLibraries/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/19UseExternalLibraries/types/services/RagfairPriceService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/19UseExternalLibraries/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/19UseExternalLibraries/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/19UseExternalLibraries/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/19UseExternalLibraries/types/services/RagfairTaxService.d.ts b/TypeScript/19UseExternalLibraries/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/19UseExternalLibraries/types/services/RagfairTaxService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/19UseExternalLibraries/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/19UseExternalLibraries/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/19UseExternalLibraries/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/19UseExternalLibraries/types/services/RepairService.d.ts b/TypeScript/19UseExternalLibraries/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/19UseExternalLibraries/types/services/RepairService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/19UseExternalLibraries/types/services/SeasonalEventService.d.ts b/TypeScript/19UseExternalLibraries/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/19UseExternalLibraries/types/services/SeasonalEventService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/19UseExternalLibraries/types/services/TraderAssortService.d.ts b/TypeScript/19UseExternalLibraries/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/19UseExternalLibraries/types/services/TraderAssortService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/19UseExternalLibraries/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/19UseExternalLibraries/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/19UseExternalLibraries/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/19UseExternalLibraries/types/services/TraderServicesService.d.ts b/TypeScript/19UseExternalLibraries/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/19UseExternalLibraries/types/services/TraderServicesService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/19UseExternalLibraries/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/19UseExternalLibraries/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/19UseExternalLibraries/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/services/cache/ModHashCacheService.d.ts b/TypeScript/19UseExternalLibraries/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/19UseExternalLibraries/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/services/mod/CustomItemService.d.ts b/TypeScript/19UseExternalLibraries/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/19UseExternalLibraries/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/19UseExternalLibraries/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/19UseExternalLibraries/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/19UseExternalLibraries/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/19UseExternalLibraries/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/19UseExternalLibraries/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/19UseExternalLibraries/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/19UseExternalLibraries/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/19UseExternalLibraries/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/19UseExternalLibraries/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/19UseExternalLibraries/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/19UseExternalLibraries/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/19UseExternalLibraries/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/19UseExternalLibraries/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/19UseExternalLibraries/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/19UseExternalLibraries/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/19UseExternalLibraries/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/19UseExternalLibraries/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/19UseExternalLibraries/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/19UseExternalLibraries/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/19UseExternalLibraries/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/19UseExternalLibraries/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/19UseExternalLibraries/types/utils/App.d.ts b/TypeScript/19UseExternalLibraries/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/App.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/19UseExternalLibraries/types/utils/AsyncQueue.d.ts b/TypeScript/19UseExternalLibraries/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/AsyncQueue.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/19UseExternalLibraries/types/utils/DatabaseImporter.d.ts b/TypeScript/19UseExternalLibraries/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/19UseExternalLibraries/types/utils/HashUtil.d.ts b/TypeScript/19UseExternalLibraries/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/HashUtil.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/19UseExternalLibraries/types/utils/HttpFileUtil.d.ts b/TypeScript/19UseExternalLibraries/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/19UseExternalLibraries/types/utils/HttpResponseUtil.d.ts b/TypeScript/19UseExternalLibraries/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/19UseExternalLibraries/types/utils/ImporterUtil.d.ts b/TypeScript/19UseExternalLibraries/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/ImporterUtil.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/19UseExternalLibraries/types/utils/JsonUtil.d.ts b/TypeScript/19UseExternalLibraries/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/JsonUtil.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/19UseExternalLibraries/types/utils/ObjectId.d.ts b/TypeScript/19UseExternalLibraries/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/ObjectId.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/19UseExternalLibraries/types/utils/RagfairOfferHolder.d.ts b/TypeScript/19UseExternalLibraries/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/19UseExternalLibraries/types/utils/RandomUtil.d.ts b/TypeScript/19UseExternalLibraries/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/RandomUtil.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/19UseExternalLibraries/types/utils/VFS.d.ts b/TypeScript/19UseExternalLibraries/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/VFS.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/19UseExternalLibraries/types/utils/Watermark.d.ts b/TypeScript/19UseExternalLibraries/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/Watermark.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/19UseExternalLibraries/types/utils/cloners/JsonCloner.d.ts b/TypeScript/19UseExternalLibraries/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/19UseExternalLibraries/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/19UseExternalLibraries/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/19UseExternalLibraries/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/19UseExternalLibraries/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/19UseExternalLibraries/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/19UseExternalLibraries/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/19UseExternalLibraries/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/19UseExternalLibraries/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/19UseExternalLibraries/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/19UseExternalLibraries/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/19UseExternalLibraries/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/19UseExternalLibraries/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/1LogToConsole/README.md b/TypeScript/1LogToConsole/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/1LogToConsole/README.md +++ b/TypeScript/1LogToConsole/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/1LogToConsole/package.json b/TypeScript/1LogToConsole/package.json index 642d0d4..7f13aff 100644 --- a/TypeScript/1LogToConsole/package.json +++ b/TypeScript/1LogToConsole/package.json @@ -1,7 +1,7 @@ { "name": "LogToConsole", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/1LogToConsole/src/mod.ts b/TypeScript/1LogToConsole/src/mod.ts index ccbb988..4d54e46 100644 --- a/TypeScript/1LogToConsole/src/mod.ts +++ b/TypeScript/1LogToConsole/src/mod.ts @@ -1,14 +1,14 @@ import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; -class Mod implements IPreAkiLoadMod +class Mod implements IPreSptLoadMod { // Code added here will load BEFORE the server has started loading - public preAkiLoad(container: DependencyContainer): void + public preSptLoad(container: DependencyContainer): void { // get the logger from the server container const logger = container.resolve("WinstonLogger"); diff --git a/TypeScript/1LogToConsole/tsconfig.json b/TypeScript/1LogToConsole/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/1LogToConsole/tsconfig.json +++ b/TypeScript/1LogToConsole/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/1LogToConsole/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/1LogToConsole/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/1LogToConsole/types/callbacks/BotCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/1LogToConsole/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/1LogToConsole/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/1LogToConsole/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/1LogToConsole/types/callbacks/BundleCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/1LogToConsole/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/1LogToConsole/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/1LogToConsole/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/1LogToConsole/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/1LogToConsole/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/1LogToConsole/types/callbacks/DataCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/1LogToConsole/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/1LogToConsole/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/1LogToConsole/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/1LogToConsole/types/callbacks/GameCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/1LogToConsole/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/1LogToConsole/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/1LogToConsole/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/1LogToConsole/types/callbacks/HealthCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/1LogToConsole/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/1LogToConsole/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/1LogToConsole/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/1LogToConsole/types/callbacks/HttpCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/1LogToConsole/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/1LogToConsole/types/callbacks/InraidCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/1LogToConsole/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/1LogToConsole/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/1LogToConsole/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/1LogToConsole/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/1LogToConsole/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/1LogToConsole/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/1LogToConsole/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/1LogToConsole/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/1LogToConsole/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/1LogToConsole/types/callbacks/LocationCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/1LogToConsole/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/1LogToConsole/types/callbacks/MatchCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/1LogToConsole/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/1LogToConsole/types/callbacks/ModCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/1LogToConsole/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/1LogToConsole/types/callbacks/NoteCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/1LogToConsole/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/1LogToConsole/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/1LogToConsole/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/1LogToConsole/types/callbacks/PresetCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/1LogToConsole/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/1LogToConsole/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/1LogToConsole/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/1LogToConsole/types/callbacks/QuestCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/1LogToConsole/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/1LogToConsole/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/1LogToConsole/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/1LogToConsole/types/callbacks/RepairCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/1LogToConsole/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/1LogToConsole/types/callbacks/SaveCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/1LogToConsole/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/1LogToConsole/types/callbacks/TradeCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/1LogToConsole/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/1LogToConsole/types/callbacks/TraderCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/1LogToConsole/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/1LogToConsole/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/1LogToConsole/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/1LogToConsole/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/1LogToConsole/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/1LogToConsole/types/context/ApplicationContext.d.ts b/TypeScript/1LogToConsole/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/1LogToConsole/types/context/ApplicationContext.d.ts +++ b/TypeScript/1LogToConsole/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/1LogToConsole/types/context/ContextVariable.d.ts b/TypeScript/1LogToConsole/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/1LogToConsole/types/context/ContextVariable.d.ts +++ b/TypeScript/1LogToConsole/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/1LogToConsole/types/controllers/AchievementController.d.ts b/TypeScript/1LogToConsole/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/1LogToConsole/types/controllers/AchievementController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/1LogToConsole/types/controllers/BotController.d.ts b/TypeScript/1LogToConsole/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/1LogToConsole/types/controllers/BotController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/1LogToConsole/types/controllers/BuildController.d.ts b/TypeScript/1LogToConsole/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/1LogToConsole/types/controllers/BuildController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/1LogToConsole/types/controllers/ClientLogController.d.ts b/TypeScript/1LogToConsole/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/1LogToConsole/types/controllers/ClientLogController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/1LogToConsole/types/controllers/CustomizationController.d.ts b/TypeScript/1LogToConsole/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/1LogToConsole/types/controllers/CustomizationController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/1LogToConsole/types/controllers/DialogueController.d.ts b/TypeScript/1LogToConsole/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/1LogToConsole/types/controllers/DialogueController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/1LogToConsole/types/controllers/GameController.d.ts b/TypeScript/1LogToConsole/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/1LogToConsole/types/controllers/GameController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/1LogToConsole/types/controllers/HandbookController.d.ts b/TypeScript/1LogToConsole/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/1LogToConsole/types/controllers/HandbookController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/1LogToConsole/types/controllers/HealthController.d.ts b/TypeScript/1LogToConsole/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/1LogToConsole/types/controllers/HealthController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/1LogToConsole/types/controllers/HideoutController.d.ts b/TypeScript/1LogToConsole/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/1LogToConsole/types/controllers/HideoutController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/controllers/InraidController.d.ts b/TypeScript/1LogToConsole/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/1LogToConsole/types/controllers/InraidController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/1LogToConsole/types/controllers/InsuranceController.d.ts b/TypeScript/1LogToConsole/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/1LogToConsole/types/controllers/InsuranceController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/1LogToConsole/types/controllers/InventoryController.d.ts b/TypeScript/1LogToConsole/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/1LogToConsole/types/controllers/InventoryController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/1LogToConsole/types/controllers/LauncherController.d.ts b/TypeScript/1LogToConsole/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/1LogToConsole/types/controllers/LauncherController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/1LogToConsole/types/controllers/LocationController.d.ts b/TypeScript/1LogToConsole/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/1LogToConsole/types/controllers/LocationController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/1LogToConsole/types/controllers/MatchController.d.ts b/TypeScript/1LogToConsole/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/1LogToConsole/types/controllers/MatchController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/1LogToConsole/types/controllers/NoteController.d.ts b/TypeScript/1LogToConsole/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/1LogToConsole/types/controllers/NoteController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/1LogToConsole/types/controllers/NotifierController.d.ts b/TypeScript/1LogToConsole/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/1LogToConsole/types/controllers/NotifierController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/1LogToConsole/types/controllers/PresetController.d.ts b/TypeScript/1LogToConsole/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/1LogToConsole/types/controllers/PresetController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/1LogToConsole/types/controllers/ProfileController.d.ts b/TypeScript/1LogToConsole/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/1LogToConsole/types/controllers/ProfileController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/1LogToConsole/types/controllers/QuestController.d.ts b/TypeScript/1LogToConsole/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/1LogToConsole/types/controllers/QuestController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/1LogToConsole/types/controllers/RagfairController.d.ts b/TypeScript/1LogToConsole/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/1LogToConsole/types/controllers/RagfairController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/1LogToConsole/types/controllers/RepairController.d.ts b/TypeScript/1LogToConsole/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/1LogToConsole/types/controllers/RepairController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/1LogToConsole/types/controllers/RepeatableQuestController.d.ts b/TypeScript/1LogToConsole/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/1LogToConsole/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/1LogToConsole/types/controllers/TradeController.d.ts b/TypeScript/1LogToConsole/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/1LogToConsole/types/controllers/TradeController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/1LogToConsole/types/controllers/TraderController.d.ts b/TypeScript/1LogToConsole/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/1LogToConsole/types/controllers/TraderController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/1LogToConsole/types/controllers/WeatherController.d.ts b/TypeScript/1LogToConsole/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/1LogToConsole/types/controllers/WeatherController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/1LogToConsole/types/controllers/WishlistController.d.ts b/TypeScript/1LogToConsole/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/1LogToConsole/types/controllers/WishlistController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/1LogToConsole/types/di/Router.d.ts b/TypeScript/1LogToConsole/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/1LogToConsole/types/di/Router.d.ts +++ b/TypeScript/1LogToConsole/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/1LogToConsole/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/1LogToConsole/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/1LogToConsole/types/generators/BotGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/1LogToConsole/types/generators/BotGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/generators/BotInventoryGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/1LogToConsole/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/generators/BotLevelGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/1LogToConsole/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/1LogToConsole/types/generators/BotLootGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/1LogToConsole/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/generators/BotWeaponGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/1LogToConsole/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/1LogToConsole/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/1LogToConsole/types/generators/LocationGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/1LogToConsole/types/generators/LocationGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/1LogToConsole/types/generators/LootGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/1LogToConsole/types/generators/LootGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/1LogToConsole/types/generators/PMCLootGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/1LogToConsole/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/1LogToConsole/types/generators/PlayerScavGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/1LogToConsole/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/1LogToConsole/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/1LogToConsole/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/1LogToConsole/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/1LogToConsole/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/1LogToConsole/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/1LogToConsole/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/1LogToConsole/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/1LogToConsole/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/1LogToConsole/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/1LogToConsole/types/generators/WeatherGenerator.d.ts b/TypeScript/1LogToConsole/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/1LogToConsole/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/1LogToConsole/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/1LogToConsole/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/1LogToConsole/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/1LogToConsole/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/1LogToConsole/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/1LogToConsole/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/1LogToConsole/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/1LogToConsole/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/1LogToConsole/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/1LogToConsole/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/1LogToConsole/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/1LogToConsole/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/1LogToConsole/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/1LogToConsole/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/1LogToConsole/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/1LogToConsole/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/1LogToConsole/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/1LogToConsole/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/1LogToConsole/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/1LogToConsole/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/1LogToConsole/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/1LogToConsole/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/1LogToConsole/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/1LogToConsole/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/1LogToConsole/types/helpers/AssortHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/1LogToConsole/types/helpers/AssortHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/1LogToConsole/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/1LogToConsole/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/1LogToConsole/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/1LogToConsole/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/1LogToConsole/types/helpers/BotHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/1LogToConsole/types/helpers/BotHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/1LogToConsole/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/1LogToConsole/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/1LogToConsole/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/1LogToConsole/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/1LogToConsole/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/1LogToConsole/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/1LogToConsole/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/1LogToConsole/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/1LogToConsole/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/1LogToConsole/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/1LogToConsole/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/1LogToConsole/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/1LogToConsole/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/1LogToConsole/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/1LogToConsole/types/helpers/DialogueHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/1LogToConsole/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/1LogToConsole/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/1LogToConsole/types/helpers/GameEventHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/1LogToConsole/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/1LogToConsole/types/helpers/HandbookHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/1LogToConsole/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/1LogToConsole/types/helpers/HealthHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/1LogToConsole/types/helpers/HealthHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/1LogToConsole/types/helpers/HideoutHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/1LogToConsole/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/helpers/HttpServerHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/1LogToConsole/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/1LogToConsole/types/helpers/InRaidHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/1LogToConsole/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/1LogToConsole/types/helpers/InventoryHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/1LogToConsole/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/1LogToConsole/types/helpers/ItemHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/1LogToConsole/types/helpers/ItemHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/helpers/NotificationSendHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/1LogToConsole/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/1LogToConsole/types/helpers/NotifierHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/1LogToConsole/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/1LogToConsole/types/helpers/PaymentHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/1LogToConsole/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/1LogToConsole/types/helpers/PresetHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/1LogToConsole/types/helpers/PresetHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/1LogToConsole/types/helpers/ProbabilityHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/1LogToConsole/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/1LogToConsole/types/helpers/ProfileHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/1LogToConsole/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/1LogToConsole/types/helpers/QuestConditionHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/1LogToConsole/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/1LogToConsole/types/helpers/QuestHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/1LogToConsole/types/helpers/QuestHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/1LogToConsole/types/helpers/RagfairHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/1LogToConsole/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/1LogToConsole/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/1LogToConsole/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/1LogToConsole/types/helpers/RagfairSellHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/1LogToConsole/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/1LogToConsole/types/helpers/RagfairServerHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/1LogToConsole/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/1LogToConsole/types/helpers/RagfairSortHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/1LogToConsole/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/1LogToConsole/types/helpers/RepairHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/1LogToConsole/types/helpers/RepairHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/1LogToConsole/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/1LogToConsole/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/1LogToConsole/types/helpers/SecureContainerHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/1LogToConsole/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/1LogToConsole/types/helpers/TradeHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/1LogToConsole/types/helpers/TradeHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/1LogToConsole/types/helpers/TraderAssortHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/1LogToConsole/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/1LogToConsole/types/helpers/TraderHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/1LogToConsole/types/helpers/TraderHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/1LogToConsole/types/loaders/BundleLoader.d.ts b/TypeScript/1LogToConsole/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/1LogToConsole/types/loaders/BundleLoader.d.ts +++ b/TypeScript/1LogToConsole/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/1LogToConsole/types/loaders/ModLoadOrder.d.ts b/TypeScript/1LogToConsole/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/1LogToConsole/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/1LogToConsole/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/1LogToConsole/types/loaders/ModTypeCheck.d.ts b/TypeScript/1LogToConsole/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/1LogToConsole/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/1LogToConsole/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/1LogToConsole/types/loaders/PostAkiModLoader.d.ts b/TypeScript/1LogToConsole/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/1LogToConsole/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/1LogToConsole/types/loaders/PostDBModLoader.d.ts b/TypeScript/1LogToConsole/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/1LogToConsole/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/1LogToConsole/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/1LogToConsole/types/loaders/PostSptModLoader.d.ts b/TypeScript/1LogToConsole/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/1LogToConsole/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/1LogToConsole/types/loaders/PreAkiModLoader.d.ts b/TypeScript/1LogToConsole/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/1LogToConsole/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/1LogToConsole/types/loaders/PreSptModLoader.d.ts b/TypeScript/1LogToConsole/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/1LogToConsole/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/1LogToConsole/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/1LogToConsole/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/1LogToConsole/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/common/IGlobals.d.ts b/TypeScript/1LogToConsole/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/1LogToConsole/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/1LogToConsole/types/models/eft/common/ILocation.d.ts b/TypeScript/1LogToConsole/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/1LogToConsole/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/1LogToConsole/types/models/eft/common/ILocationBase.d.ts b/TypeScript/1LogToConsole/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/1LogToConsole/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/1LogToConsole/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/1LogToConsole/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/1LogToConsole/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/1LogToConsole/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/1LogToConsole/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/1LogToConsole/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/1LogToConsole/types/models/eft/common/IPmcData.d.ts b/TypeScript/1LogToConsole/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/1LogToConsole/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/1LogToConsole/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/1LogToConsole/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/1LogToConsole/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/1LogToConsole/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/1LogToConsole/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/1LogToConsole/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/1LogToConsole/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/1LogToConsole/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/1LogToConsole/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/1LogToConsole/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/1LogToConsole/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/1LogToConsole/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/1LogToConsole/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/1LogToConsole/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/1LogToConsole/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/1LogToConsole/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/1LogToConsole/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/1LogToConsole/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/1LogToConsole/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/1LogToConsole/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/1LogToConsole/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/1LogToConsole/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/1LogToConsole/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/1LogToConsole/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/1LogToConsole/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/1LogToConsole/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/1LogToConsole/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/1LogToConsole/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/1LogToConsole/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/1LogToConsole/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/1LogToConsole/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/1LogToConsole/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/1LogToConsole/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/1LogToConsole/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/1LogToConsole/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/1LogToConsole/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/1LogToConsole/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/1LogToConsole/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/1LogToConsole/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/1LogToConsole/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/1LogToConsole/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/1LogToConsole/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/1LogToConsole/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/1LogToConsole/types/models/eft/hideout/IQteData.d.ts b/TypeScript/1LogToConsole/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/1LogToConsole/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/1LogToConsole/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/1LogToConsole/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/1LogToConsole/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/1LogToConsole/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/1LogToConsole/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/1LogToConsole/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/1LogToConsole/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/1LogToConsole/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/1LogToConsole/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/1LogToConsole/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/1LogToConsole/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/1LogToConsole/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/1LogToConsole/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/1LogToConsole/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/1LogToConsole/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/1LogToConsole/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/1LogToConsole/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/1LogToConsole/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/1LogToConsole/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/1LogToConsole/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/1LogToConsole/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/1LogToConsole/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/1LogToConsole/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/1LogToConsole/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/1LogToConsole/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/1LogToConsole/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/1LogToConsole/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/1LogToConsole/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/1LogToConsole/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/1LogToConsole/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/1LogToConsole/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/1LogToConsole/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/1LogToConsole/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/1LogToConsole/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/1LogToConsole/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/1LogToConsole/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/1LogToConsole/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/1LogToConsole/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/1LogToConsole/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/1LogToConsole/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/1LogToConsole/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/1LogToConsole/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/1LogToConsole/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/1LogToConsole/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/1LogToConsole/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/1LogToConsole/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/1LogToConsole/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/1LogToConsole/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/1LogToConsole/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/1LogToConsole/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/1LogToConsole/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/1LogToConsole/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/1LogToConsole/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/1LogToConsole/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/1LogToConsole/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/1LogToConsole/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/1LogToConsole/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/1LogToConsole/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/1LogToConsole/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/1LogToConsole/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/1LogToConsole/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/1LogToConsole/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/1LogToConsole/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/1LogToConsole/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/1LogToConsole/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/1LogToConsole/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/1LogToConsole/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/1LogToConsole/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/1LogToConsole/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/1LogToConsole/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/1LogToConsole/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/1LogToConsole/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/ws/IWsAid.d.ts b/TypeScript/1LogToConsole/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/1LogToConsole/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/1LogToConsole/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/1LogToConsole/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/1LogToConsole/types/models/eft/ws/IWsPing.d.ts b/TypeScript/1LogToConsole/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/1LogToConsole/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/1LogToConsole/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/1LogToConsole/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/1LogToConsole/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/1LogToConsole/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/1LogToConsole/types/models/enums/ConfigTypes.d.ts b/TypeScript/1LogToConsole/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/1LogToConsole/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/1LogToConsole/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/1LogToConsole/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/1LogToConsole/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/1LogToConsole/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/1LogToConsole/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/1LogToConsole/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/1LogToConsole/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/1LogToConsole/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/1LogToConsole/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/1LogToConsole/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/1LogToConsole/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/1LogToConsole/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/1LogToConsole/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/1LogToConsole/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/1LogToConsole/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/1LogToConsole/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/1LogToConsole/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/1LogToConsole/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/1LogToConsole/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/1LogToConsole/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/1LogToConsole/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/1LogToConsole/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/1LogToConsole/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/1LogToConsole/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/1LogToConsole/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/1LogToConsole/types/models/spt/bindings/Route.d.ts b/TypeScript/1LogToConsole/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/1LogToConsole/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/1LogToConsole/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/1LogToConsole/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/1LogToConsole/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/1LogToConsole/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/1LogToConsole/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/1LogToConsole/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/1LogToConsole/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/1LogToConsole/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/1LogToConsole/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/1LogToConsole/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IBotConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/1LogToConsole/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IItemConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/1LogToConsole/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/1LogToConsole/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/1LogToConsole/types/models/spt/config/ILootConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/1LogToConsole/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/1LogToConsole/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/1LogToConsole/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/1LogToConsole/types/models/spt/controllers/IBotController.d.ts b/TypeScript/1LogToConsole/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/1LogToConsole/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/1LogToConsole/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/1LogToConsole/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/1LogToConsole/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/1LogToConsole/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/1LogToConsole/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/1LogToConsole/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/1LogToConsole/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/1LogToConsole/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/1LogToConsole/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/1LogToConsole/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/1LogToConsole/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/1LogToConsole/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/1LogToConsole/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/1LogToConsole/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/1LogToConsole/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/1LogToConsole/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/1LogToConsole/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/1LogToConsole/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/1LogToConsole/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/1LogToConsole/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/1LogToConsole/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/1LogToConsole/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/1LogToConsole/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/1LogToConsole/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/1LogToConsole/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/1LogToConsole/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/1LogToConsole/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/1LogToConsole/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/1LogToConsole/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/1LogToConsole/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/1LogToConsole/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/1LogToConsole/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/1LogToConsole/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/1LogToConsole/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/1LogToConsole/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/1LogToConsole/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/1LogToConsole/types/models/spt/server/ILocations.d.ts b/TypeScript/1LogToConsole/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/1LogToConsole/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/1LogToConsole/types/models/spt/services/CustomPreset.d.ts b/TypeScript/1LogToConsole/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/1LogToConsole/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/1LogToConsole/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/1LogToConsole/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/1LogToConsole/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/1LogToConsole/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/1LogToConsole/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/1LogToConsole/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/1LogToConsole/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/1LogToConsole/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/1LogToConsole/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/1LogToConsole/types/models/spt/services/LootRequest.d.ts b/TypeScript/1LogToConsole/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/1LogToConsole/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/1LogToConsole/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/1LogToConsole/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/1LogToConsole/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/1LogToConsole/types/models/spt/utils/ILogger.d.ts b/TypeScript/1LogToConsole/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/1LogToConsole/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/1LogToConsole/types/routers/EventOutputHolder.d.ts b/TypeScript/1LogToConsole/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/1LogToConsole/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/1LogToConsole/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/1LogToConsole/types/routers/HttpRouter.d.ts b/TypeScript/1LogToConsole/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/1LogToConsole/types/routers/HttpRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/1LogToConsole/types/routers/ImageRouter.d.ts b/TypeScript/1LogToConsole/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/1LogToConsole/types/routers/ImageRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/1LogToConsole/types/routers/ItemEventRouter.d.ts b/TypeScript/1LogToConsole/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/1LogToConsole/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/1LogToConsole/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/1LogToConsole/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/1LogToConsole/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/1LogToConsole/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/1LogToConsole/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/1LogToConsole/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/1LogToConsole/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/1LogToConsole/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/1LogToConsole/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/1LogToConsole/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/1LogToConsole/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/1LogToConsole/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/1LogToConsole/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/1LogToConsole/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/1LogToConsole/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/1LogToConsole/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/1LogToConsole/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/1LogToConsole/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/1LogToConsole/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/1LogToConsole/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/1LogToConsole/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/1LogToConsole/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/1LogToConsole/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/1LogToConsole/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/1LogToConsole/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/1LogToConsole/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/1LogToConsole/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/1LogToConsole/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/1LogToConsole/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/1LogToConsole/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/1LogToConsole/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/1LogToConsole/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/1LogToConsole/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/1LogToConsole/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/1LogToConsole/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/1LogToConsole/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/1LogToConsole/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/1LogToConsole/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/1LogToConsole/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/1LogToConsole/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/1LogToConsole/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/1LogToConsole/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/1LogToConsole/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/1LogToConsole/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/1LogToConsole/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/1LogToConsole/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/1LogToConsole/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/1LogToConsole/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/1LogToConsole/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/1LogToConsole/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/1LogToConsole/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/1LogToConsole/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/1LogToConsole/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/1LogToConsole/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/1LogToConsole/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/1LogToConsole/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/1LogToConsole/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/1LogToConsole/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/1LogToConsole/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/1LogToConsole/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/1LogToConsole/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/1LogToConsole/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/1LogToConsole/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/1LogToConsole/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/1LogToConsole/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/1LogToConsole/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/1LogToConsole/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/1LogToConsole/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/1LogToConsole/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/BotStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/1LogToConsole/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/1LogToConsole/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/1LogToConsole/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/1LogToConsole/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/1LogToConsole/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/DataStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/1LogToConsole/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/1LogToConsole/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/GameStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/1LogToConsole/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/1LogToConsole/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/1LogToConsole/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/1LogToConsole/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/1LogToConsole/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/1LogToConsole/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/1LogToConsole/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/1LogToConsole/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/1LogToConsole/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/1LogToConsole/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/1LogToConsole/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/1LogToConsole/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/1LogToConsole/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/1LogToConsole/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/1LogToConsole/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/1LogToConsole/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/1LogToConsole/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/1LogToConsole/types/servers/ConfigServer.d.ts b/TypeScript/1LogToConsole/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/1LogToConsole/types/servers/ConfigServer.d.ts +++ b/TypeScript/1LogToConsole/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/1LogToConsole/types/servers/DatabaseServer.d.ts b/TypeScript/1LogToConsole/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/1LogToConsole/types/servers/DatabaseServer.d.ts +++ b/TypeScript/1LogToConsole/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/1LogToConsole/types/servers/HttpServer.d.ts b/TypeScript/1LogToConsole/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/1LogToConsole/types/servers/HttpServer.d.ts +++ b/TypeScript/1LogToConsole/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/1LogToConsole/types/servers/RagfairServer.d.ts b/TypeScript/1LogToConsole/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/1LogToConsole/types/servers/RagfairServer.d.ts +++ b/TypeScript/1LogToConsole/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/1LogToConsole/types/servers/SaveServer.d.ts b/TypeScript/1LogToConsole/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/1LogToConsole/types/servers/SaveServer.d.ts +++ b/TypeScript/1LogToConsole/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/1LogToConsole/types/servers/WebSocketServer.d.ts b/TypeScript/1LogToConsole/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/1LogToConsole/types/servers/WebSocketServer.d.ts +++ b/TypeScript/1LogToConsole/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/1LogToConsole/types/servers/http/AkiHttpListener.d.ts b/TypeScript/1LogToConsole/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/1LogToConsole/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/1LogToConsole/types/servers/http/SptHttpListener.d.ts b/TypeScript/1LogToConsole/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/1LogToConsole/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/1LogToConsole/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/1LogToConsole/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/1LogToConsole/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/1LogToConsole/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/1LogToConsole/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/1LogToConsole/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/1LogToConsole/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/1LogToConsole/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/1LogToConsole/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/1LogToConsole/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/1LogToConsole/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/1LogToConsole/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/1LogToConsole/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/1LogToConsole/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/1LogToConsole/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/1LogToConsole/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/1LogToConsole/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/1LogToConsole/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/1LogToConsole/types/services/BotEquipmentFilterService.d.ts b/TypeScript/1LogToConsole/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/1LogToConsole/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/1LogToConsole/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/1LogToConsole/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/1LogToConsole/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/1LogToConsole/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/1LogToConsole/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/1LogToConsole/types/services/BotGenerationCacheService.d.ts b/TypeScript/1LogToConsole/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/1LogToConsole/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/1LogToConsole/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/1LogToConsole/types/services/BotLootCacheService.d.ts b/TypeScript/1LogToConsole/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/1LogToConsole/types/services/BotLootCacheService.d.ts +++ b/TypeScript/1LogToConsole/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/1LogToConsole/types/services/BotWeaponModLimitService.d.ts b/TypeScript/1LogToConsole/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/1LogToConsole/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/1LogToConsole/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/1LogToConsole/types/services/CustomLocationWaveService.d.ts b/TypeScript/1LogToConsole/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/1LogToConsole/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/1LogToConsole/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/1LogToConsole/types/services/FenceService.d.ts b/TypeScript/1LogToConsole/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/1LogToConsole/types/services/FenceService.d.ts +++ b/TypeScript/1LogToConsole/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/1LogToConsole/types/services/GiftService.d.ts b/TypeScript/1LogToConsole/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/1LogToConsole/types/services/GiftService.d.ts +++ b/TypeScript/1LogToConsole/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/1LogToConsole/types/services/InsuranceService.d.ts b/TypeScript/1LogToConsole/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/1LogToConsole/types/services/InsuranceService.d.ts +++ b/TypeScript/1LogToConsole/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/1LogToConsole/types/services/ItemBaseClassService.d.ts b/TypeScript/1LogToConsole/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/1LogToConsole/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/1LogToConsole/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/1LogToConsole/types/services/ItemFilterService.d.ts b/TypeScript/1LogToConsole/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/1LogToConsole/types/services/ItemFilterService.d.ts +++ b/TypeScript/1LogToConsole/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/1LogToConsole/types/services/LocaleService.d.ts b/TypeScript/1LogToConsole/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/1LogToConsole/types/services/LocaleService.d.ts +++ b/TypeScript/1LogToConsole/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/1LogToConsole/types/services/LocalisationService.d.ts b/TypeScript/1LogToConsole/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/1LogToConsole/types/services/LocalisationService.d.ts +++ b/TypeScript/1LogToConsole/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/1LogToConsole/types/services/MailSendService.d.ts b/TypeScript/1LogToConsole/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/1LogToConsole/types/services/MailSendService.d.ts +++ b/TypeScript/1LogToConsole/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/1LogToConsole/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/1LogToConsole/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/1LogToConsole/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/1LogToConsole/types/services/MatchLocationService.d.ts b/TypeScript/1LogToConsole/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/1LogToConsole/types/services/MatchLocationService.d.ts +++ b/TypeScript/1LogToConsole/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/1LogToConsole/types/services/ModCompilerService.d.ts b/TypeScript/1LogToConsole/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/1LogToConsole/types/services/ModCompilerService.d.ts +++ b/TypeScript/1LogToConsole/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/1LogToConsole/types/services/NotificationService.d.ts b/TypeScript/1LogToConsole/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/1LogToConsole/types/services/NotificationService.d.ts +++ b/TypeScript/1LogToConsole/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/1LogToConsole/types/services/OpenZoneService.d.ts b/TypeScript/1LogToConsole/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/1LogToConsole/types/services/OpenZoneService.d.ts +++ b/TypeScript/1LogToConsole/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/1LogToConsole/types/services/PaymentService.d.ts b/TypeScript/1LogToConsole/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/1LogToConsole/types/services/PaymentService.d.ts +++ b/TypeScript/1LogToConsole/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/services/PlayerService.d.ts b/TypeScript/1LogToConsole/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/1LogToConsole/types/services/PlayerService.d.ts +++ b/TypeScript/1LogToConsole/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/1LogToConsole/types/services/PmcChatResponseService.d.ts b/TypeScript/1LogToConsole/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/1LogToConsole/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/1LogToConsole/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/services/ProfileFixerService.d.ts b/TypeScript/1LogToConsole/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/1LogToConsole/types/services/ProfileFixerService.d.ts +++ b/TypeScript/1LogToConsole/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/1LogToConsole/types/services/ProfileSnapshotService.d.ts b/TypeScript/1LogToConsole/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/1LogToConsole/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/1LogToConsole/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/1LogToConsole/types/services/RagfairCategoriesService.d.ts b/TypeScript/1LogToConsole/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/1LogToConsole/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/1LogToConsole/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/1LogToConsole/types/services/RagfairLinkedItemService.d.ts b/TypeScript/1LogToConsole/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/1LogToConsole/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/1LogToConsole/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/1LogToConsole/types/services/RagfairOfferService.d.ts b/TypeScript/1LogToConsole/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/1LogToConsole/types/services/RagfairOfferService.d.ts +++ b/TypeScript/1LogToConsole/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/1LogToConsole/types/services/RagfairPriceService.d.ts b/TypeScript/1LogToConsole/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/1LogToConsole/types/services/RagfairPriceService.d.ts +++ b/TypeScript/1LogToConsole/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/1LogToConsole/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/1LogToConsole/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/1LogToConsole/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/1LogToConsole/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/1LogToConsole/types/services/RagfairTaxService.d.ts b/TypeScript/1LogToConsole/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/1LogToConsole/types/services/RagfairTaxService.d.ts +++ b/TypeScript/1LogToConsole/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/1LogToConsole/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/1LogToConsole/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/1LogToConsole/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/1LogToConsole/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/1LogToConsole/types/services/RepairService.d.ts b/TypeScript/1LogToConsole/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/1LogToConsole/types/services/RepairService.d.ts +++ b/TypeScript/1LogToConsole/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/1LogToConsole/types/services/SeasonalEventService.d.ts b/TypeScript/1LogToConsole/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/1LogToConsole/types/services/SeasonalEventService.d.ts +++ b/TypeScript/1LogToConsole/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/1LogToConsole/types/services/TraderAssortService.d.ts b/TypeScript/1LogToConsole/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/1LogToConsole/types/services/TraderAssortService.d.ts +++ b/TypeScript/1LogToConsole/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/1LogToConsole/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/1LogToConsole/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/1LogToConsole/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/1LogToConsole/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/1LogToConsole/types/services/TraderServicesService.d.ts b/TypeScript/1LogToConsole/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/1LogToConsole/types/services/TraderServicesService.d.ts +++ b/TypeScript/1LogToConsole/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/1LogToConsole/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/1LogToConsole/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/1LogToConsole/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/1LogToConsole/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/services/cache/ModHashCacheService.d.ts b/TypeScript/1LogToConsole/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/1LogToConsole/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/1LogToConsole/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/services/mod/CustomItemService.d.ts b/TypeScript/1LogToConsole/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/1LogToConsole/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/1LogToConsole/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/1LogToConsole/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/1LogToConsole/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/1LogToConsole/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/1LogToConsole/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/1LogToConsole/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/1LogToConsole/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/1LogToConsole/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/1LogToConsole/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/1LogToConsole/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/1LogToConsole/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/1LogToConsole/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/1LogToConsole/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/1LogToConsole/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/1LogToConsole/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/1LogToConsole/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/1LogToConsole/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/1LogToConsole/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/1LogToConsole/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/1LogToConsole/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/1LogToConsole/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/1LogToConsole/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/1LogToConsole/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/1LogToConsole/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/1LogToConsole/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/1LogToConsole/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/1LogToConsole/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/1LogToConsole/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/1LogToConsole/types/utils/App.d.ts b/TypeScript/1LogToConsole/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/1LogToConsole/types/utils/App.d.ts +++ b/TypeScript/1LogToConsole/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/1LogToConsole/types/utils/AsyncQueue.d.ts b/TypeScript/1LogToConsole/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/1LogToConsole/types/utils/AsyncQueue.d.ts +++ b/TypeScript/1LogToConsole/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/1LogToConsole/types/utils/DatabaseImporter.d.ts b/TypeScript/1LogToConsole/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/1LogToConsole/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/1LogToConsole/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/1LogToConsole/types/utils/HashUtil.d.ts b/TypeScript/1LogToConsole/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/1LogToConsole/types/utils/HashUtil.d.ts +++ b/TypeScript/1LogToConsole/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/1LogToConsole/types/utils/HttpFileUtil.d.ts b/TypeScript/1LogToConsole/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/1LogToConsole/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/1LogToConsole/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/1LogToConsole/types/utils/HttpResponseUtil.d.ts b/TypeScript/1LogToConsole/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/1LogToConsole/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/1LogToConsole/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/1LogToConsole/types/utils/ImporterUtil.d.ts b/TypeScript/1LogToConsole/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/1LogToConsole/types/utils/ImporterUtil.d.ts +++ b/TypeScript/1LogToConsole/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/1LogToConsole/types/utils/JsonUtil.d.ts b/TypeScript/1LogToConsole/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/1LogToConsole/types/utils/JsonUtil.d.ts +++ b/TypeScript/1LogToConsole/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/1LogToConsole/types/utils/ObjectId.d.ts b/TypeScript/1LogToConsole/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/1LogToConsole/types/utils/ObjectId.d.ts +++ b/TypeScript/1LogToConsole/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/1LogToConsole/types/utils/RagfairOfferHolder.d.ts b/TypeScript/1LogToConsole/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/1LogToConsole/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/1LogToConsole/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/1LogToConsole/types/utils/RandomUtil.d.ts b/TypeScript/1LogToConsole/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/1LogToConsole/types/utils/RandomUtil.d.ts +++ b/TypeScript/1LogToConsole/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/1LogToConsole/types/utils/VFS.d.ts b/TypeScript/1LogToConsole/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/1LogToConsole/types/utils/VFS.d.ts +++ b/TypeScript/1LogToConsole/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/1LogToConsole/types/utils/Watermark.d.ts b/TypeScript/1LogToConsole/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/1LogToConsole/types/utils/Watermark.d.ts +++ b/TypeScript/1LogToConsole/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/1LogToConsole/types/utils/cloners/JsonCloner.d.ts b/TypeScript/1LogToConsole/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/1LogToConsole/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/1LogToConsole/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/1LogToConsole/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/1LogToConsole/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/1LogToConsole/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/1LogToConsole/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/1LogToConsole/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/1LogToConsole/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/1LogToConsole/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/1LogToConsole/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/1LogToConsole/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/1LogToConsole/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/1LogToConsole/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/1LogToConsole/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/1LogToConsole/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/1LogToConsole/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/1LogToConsole/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/1LogToConsole/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/1LogToConsole/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/1LogToConsole/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/1LogToConsole/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/1LogToConsole/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/20CustomChatBot/README.md b/TypeScript/20CustomChatBot/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/20CustomChatBot/README.md +++ b/TypeScript/20CustomChatBot/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/20CustomChatBot/package.json b/TypeScript/20CustomChatBot/package.json index 04cb178..5c83d54 100644 --- a/TypeScript/20CustomChatBot/package.json +++ b/TypeScript/20CustomChatBot/package.json @@ -1,7 +1,7 @@ { "name": "CustomChatBot", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/20CustomChatBot/src/CustomChatBot.ts b/TypeScript/20CustomChatBot/src/CustomChatBot.ts index ff40aac..307bff2 100644 --- a/TypeScript/20CustomChatBot/src/CustomChatBot.ts +++ b/TypeScript/20CustomChatBot/src/CustomChatBot.ts @@ -1,10 +1,10 @@ import { inject, injectable } from "tsyringe"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MailSendService } from "@spt/services/MailSendService"; // \/ dont forger this annotation here! @injectable() diff --git a/TypeScript/20CustomChatBot/src/mod.ts b/TypeScript/20CustomChatBot/src/mod.ts index f5ad0bf..cdf3f61 100644 --- a/TypeScript/20CustomChatBot/src/mod.ts +++ b/TypeScript/20CustomChatBot/src/mod.ts @@ -1,7 +1,7 @@ import { DependencyContainer } from "tsyringe"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { DialogueController } from "@spt-aki/controllers/DialogueController"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { DialogueController } from "@spt/controllers/DialogueController"; import { CustomChatBot } from "./CustomChatBot"; class Mod implements IPostDBLoadMod { diff --git a/TypeScript/20CustomChatBot/tsconfig.json b/TypeScript/20CustomChatBot/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/20CustomChatBot/tsconfig.json +++ b/TypeScript/20CustomChatBot/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/20CustomChatBot/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/20CustomChatBot/types/callbacks/BotCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/20CustomChatBot/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/20CustomChatBot/types/callbacks/BundleCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/20CustomChatBot/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/20CustomChatBot/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/20CustomChatBot/types/callbacks/DataCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/20CustomChatBot/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/20CustomChatBot/types/callbacks/GameCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/20CustomChatBot/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/20CustomChatBot/types/callbacks/HealthCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/20CustomChatBot/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/20CustomChatBot/types/callbacks/HttpCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/20CustomChatBot/types/callbacks/InraidCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/20CustomChatBot/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/20CustomChatBot/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/20CustomChatBot/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/20CustomChatBot/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/20CustomChatBot/types/callbacks/LocationCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/20CustomChatBot/types/callbacks/MatchCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/20CustomChatBot/types/callbacks/ModCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/20CustomChatBot/types/callbacks/NoteCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/20CustomChatBot/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/20CustomChatBot/types/callbacks/PresetCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/20CustomChatBot/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/20CustomChatBot/types/callbacks/QuestCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/20CustomChatBot/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/20CustomChatBot/types/callbacks/RepairCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/20CustomChatBot/types/callbacks/SaveCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/20CustomChatBot/types/callbacks/TradeCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/20CustomChatBot/types/callbacks/TraderCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/20CustomChatBot/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/20CustomChatBot/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/20CustomChatBot/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/20CustomChatBot/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/20CustomChatBot/types/context/ApplicationContext.d.ts b/TypeScript/20CustomChatBot/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/20CustomChatBot/types/context/ApplicationContext.d.ts +++ b/TypeScript/20CustomChatBot/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/20CustomChatBot/types/context/ContextVariable.d.ts b/TypeScript/20CustomChatBot/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/20CustomChatBot/types/context/ContextVariable.d.ts +++ b/TypeScript/20CustomChatBot/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/20CustomChatBot/types/controllers/AchievementController.d.ts b/TypeScript/20CustomChatBot/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/20CustomChatBot/types/controllers/AchievementController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/20CustomChatBot/types/controllers/BotController.d.ts b/TypeScript/20CustomChatBot/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/20CustomChatBot/types/controllers/BotController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/20CustomChatBot/types/controllers/BuildController.d.ts b/TypeScript/20CustomChatBot/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/20CustomChatBot/types/controllers/BuildController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/20CustomChatBot/types/controllers/ClientLogController.d.ts b/TypeScript/20CustomChatBot/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/20CustomChatBot/types/controllers/ClientLogController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/20CustomChatBot/types/controllers/CustomizationController.d.ts b/TypeScript/20CustomChatBot/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/20CustomChatBot/types/controllers/CustomizationController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/20CustomChatBot/types/controllers/DialogueController.d.ts b/TypeScript/20CustomChatBot/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/20CustomChatBot/types/controllers/DialogueController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/20CustomChatBot/types/controllers/GameController.d.ts b/TypeScript/20CustomChatBot/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/20CustomChatBot/types/controllers/GameController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/20CustomChatBot/types/controllers/HandbookController.d.ts b/TypeScript/20CustomChatBot/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/20CustomChatBot/types/controllers/HandbookController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/20CustomChatBot/types/controllers/HealthController.d.ts b/TypeScript/20CustomChatBot/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/20CustomChatBot/types/controllers/HealthController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/20CustomChatBot/types/controllers/HideoutController.d.ts b/TypeScript/20CustomChatBot/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/20CustomChatBot/types/controllers/HideoutController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/controllers/InraidController.d.ts b/TypeScript/20CustomChatBot/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/20CustomChatBot/types/controllers/InraidController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/20CustomChatBot/types/controllers/InsuranceController.d.ts b/TypeScript/20CustomChatBot/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/20CustomChatBot/types/controllers/InsuranceController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/20CustomChatBot/types/controllers/InventoryController.d.ts b/TypeScript/20CustomChatBot/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/20CustomChatBot/types/controllers/InventoryController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/20CustomChatBot/types/controllers/LauncherController.d.ts b/TypeScript/20CustomChatBot/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/20CustomChatBot/types/controllers/LauncherController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/20CustomChatBot/types/controllers/LocationController.d.ts b/TypeScript/20CustomChatBot/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/20CustomChatBot/types/controllers/LocationController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/20CustomChatBot/types/controllers/MatchController.d.ts b/TypeScript/20CustomChatBot/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/20CustomChatBot/types/controllers/MatchController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/20CustomChatBot/types/controllers/NoteController.d.ts b/TypeScript/20CustomChatBot/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/20CustomChatBot/types/controllers/NoteController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/20CustomChatBot/types/controllers/NotifierController.d.ts b/TypeScript/20CustomChatBot/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/20CustomChatBot/types/controllers/NotifierController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/20CustomChatBot/types/controllers/PresetController.d.ts b/TypeScript/20CustomChatBot/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/20CustomChatBot/types/controllers/PresetController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/20CustomChatBot/types/controllers/ProfileController.d.ts b/TypeScript/20CustomChatBot/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/20CustomChatBot/types/controllers/ProfileController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/20CustomChatBot/types/controllers/QuestController.d.ts b/TypeScript/20CustomChatBot/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/20CustomChatBot/types/controllers/QuestController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/20CustomChatBot/types/controllers/RagfairController.d.ts b/TypeScript/20CustomChatBot/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/20CustomChatBot/types/controllers/RagfairController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/20CustomChatBot/types/controllers/RepairController.d.ts b/TypeScript/20CustomChatBot/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/20CustomChatBot/types/controllers/RepairController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/20CustomChatBot/types/controllers/RepeatableQuestController.d.ts b/TypeScript/20CustomChatBot/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/20CustomChatBot/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/20CustomChatBot/types/controllers/TradeController.d.ts b/TypeScript/20CustomChatBot/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/20CustomChatBot/types/controllers/TradeController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/20CustomChatBot/types/controllers/TraderController.d.ts b/TypeScript/20CustomChatBot/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/20CustomChatBot/types/controllers/TraderController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/20CustomChatBot/types/controllers/WeatherController.d.ts b/TypeScript/20CustomChatBot/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/20CustomChatBot/types/controllers/WeatherController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/20CustomChatBot/types/controllers/WishlistController.d.ts b/TypeScript/20CustomChatBot/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/20CustomChatBot/types/controllers/WishlistController.d.ts +++ b/TypeScript/20CustomChatBot/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/20CustomChatBot/types/di/Router.d.ts b/TypeScript/20CustomChatBot/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/20CustomChatBot/types/di/Router.d.ts +++ b/TypeScript/20CustomChatBot/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/20CustomChatBot/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/20CustomChatBot/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/20CustomChatBot/types/generators/BotGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/20CustomChatBot/types/generators/BotGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/generators/BotInventoryGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/20CustomChatBot/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/generators/BotLevelGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/20CustomChatBot/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/20CustomChatBot/types/generators/BotLootGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/20CustomChatBot/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/generators/BotWeaponGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/20CustomChatBot/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/20CustomChatBot/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/20CustomChatBot/types/generators/LocationGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/20CustomChatBot/types/generators/LocationGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/20CustomChatBot/types/generators/LootGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/20CustomChatBot/types/generators/LootGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/20CustomChatBot/types/generators/PMCLootGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/20CustomChatBot/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/20CustomChatBot/types/generators/PlayerScavGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/20CustomChatBot/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/20CustomChatBot/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/20CustomChatBot/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/20CustomChatBot/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/20CustomChatBot/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/20CustomChatBot/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/20CustomChatBot/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/20CustomChatBot/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/20CustomChatBot/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/20CustomChatBot/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/20CustomChatBot/types/generators/WeatherGenerator.d.ts b/TypeScript/20CustomChatBot/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/20CustomChatBot/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/20CustomChatBot/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/20CustomChatBot/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/20CustomChatBot/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/20CustomChatBot/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/20CustomChatBot/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/20CustomChatBot/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/20CustomChatBot/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/20CustomChatBot/types/helpers/AssortHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/20CustomChatBot/types/helpers/AssortHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/20CustomChatBot/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/20CustomChatBot/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/20CustomChatBot/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/20CustomChatBot/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/20CustomChatBot/types/helpers/BotHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/20CustomChatBot/types/helpers/BotHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/20CustomChatBot/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/20CustomChatBot/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/20CustomChatBot/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/20CustomChatBot/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/20CustomChatBot/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/20CustomChatBot/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/20CustomChatBot/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/20CustomChatBot/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/20CustomChatBot/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/20CustomChatBot/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/20CustomChatBot/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/20CustomChatBot/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/20CustomChatBot/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/20CustomChatBot/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/20CustomChatBot/types/helpers/DialogueHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/20CustomChatBot/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/20CustomChatBot/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/20CustomChatBot/types/helpers/GameEventHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/20CustomChatBot/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/20CustomChatBot/types/helpers/HandbookHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/20CustomChatBot/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/20CustomChatBot/types/helpers/HealthHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/20CustomChatBot/types/helpers/HealthHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/20CustomChatBot/types/helpers/HideoutHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/20CustomChatBot/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/helpers/HttpServerHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/20CustomChatBot/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/20CustomChatBot/types/helpers/InRaidHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/20CustomChatBot/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/20CustomChatBot/types/helpers/InventoryHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/20CustomChatBot/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/20CustomChatBot/types/helpers/ItemHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/20CustomChatBot/types/helpers/ItemHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/helpers/NotificationSendHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/20CustomChatBot/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/20CustomChatBot/types/helpers/NotifierHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/20CustomChatBot/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/20CustomChatBot/types/helpers/PaymentHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/20CustomChatBot/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/20CustomChatBot/types/helpers/PresetHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/20CustomChatBot/types/helpers/PresetHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/20CustomChatBot/types/helpers/ProbabilityHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/20CustomChatBot/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/20CustomChatBot/types/helpers/ProfileHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/20CustomChatBot/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/20CustomChatBot/types/helpers/QuestConditionHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/20CustomChatBot/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/20CustomChatBot/types/helpers/QuestHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/20CustomChatBot/types/helpers/QuestHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/20CustomChatBot/types/helpers/RagfairHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/20CustomChatBot/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/20CustomChatBot/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/20CustomChatBot/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/20CustomChatBot/types/helpers/RagfairSellHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/20CustomChatBot/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/20CustomChatBot/types/helpers/RagfairServerHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/20CustomChatBot/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/20CustomChatBot/types/helpers/RagfairSortHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/20CustomChatBot/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/20CustomChatBot/types/helpers/RepairHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/20CustomChatBot/types/helpers/RepairHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/20CustomChatBot/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/20CustomChatBot/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/20CustomChatBot/types/helpers/SecureContainerHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/20CustomChatBot/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/20CustomChatBot/types/helpers/TradeHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/20CustomChatBot/types/helpers/TradeHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/20CustomChatBot/types/helpers/TraderAssortHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/20CustomChatBot/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/20CustomChatBot/types/helpers/TraderHelper.d.ts b/TypeScript/20CustomChatBot/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/20CustomChatBot/types/helpers/TraderHelper.d.ts +++ b/TypeScript/20CustomChatBot/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/20CustomChatBot/types/loaders/BundleLoader.d.ts b/TypeScript/20CustomChatBot/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/20CustomChatBot/types/loaders/BundleLoader.d.ts +++ b/TypeScript/20CustomChatBot/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/20CustomChatBot/types/loaders/ModLoadOrder.d.ts b/TypeScript/20CustomChatBot/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/20CustomChatBot/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/20CustomChatBot/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/20CustomChatBot/types/loaders/ModTypeCheck.d.ts b/TypeScript/20CustomChatBot/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/20CustomChatBot/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/20CustomChatBot/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/20CustomChatBot/types/loaders/PostAkiModLoader.d.ts b/TypeScript/20CustomChatBot/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/20CustomChatBot/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/20CustomChatBot/types/loaders/PostDBModLoader.d.ts b/TypeScript/20CustomChatBot/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/20CustomChatBot/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/20CustomChatBot/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/20CustomChatBot/types/loaders/PostSptModLoader.d.ts b/TypeScript/20CustomChatBot/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/20CustomChatBot/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/20CustomChatBot/types/loaders/PreAkiModLoader.d.ts b/TypeScript/20CustomChatBot/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/20CustomChatBot/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/20CustomChatBot/types/loaders/PreSptModLoader.d.ts b/TypeScript/20CustomChatBot/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/20CustomChatBot/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/20CustomChatBot/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/20CustomChatBot/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/common/IGlobals.d.ts b/TypeScript/20CustomChatBot/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/20CustomChatBot/types/models/eft/common/ILocation.d.ts b/TypeScript/20CustomChatBot/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/20CustomChatBot/types/models/eft/common/ILocationBase.d.ts b/TypeScript/20CustomChatBot/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/20CustomChatBot/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/20CustomChatBot/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/20CustomChatBot/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/20CustomChatBot/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/20CustomChatBot/types/models/eft/common/IPmcData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/20CustomChatBot/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/20CustomChatBot/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/20CustomChatBot/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/20CustomChatBot/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/20CustomChatBot/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/20CustomChatBot/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/20CustomChatBot/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/20CustomChatBot/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/20CustomChatBot/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/20CustomChatBot/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/20CustomChatBot/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/20CustomChatBot/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/20CustomChatBot/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/20CustomChatBot/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/20CustomChatBot/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/20CustomChatBot/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/20CustomChatBot/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/20CustomChatBot/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/20CustomChatBot/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/20CustomChatBot/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/20CustomChatBot/types/models/eft/hideout/IQteData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/20CustomChatBot/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/20CustomChatBot/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/20CustomChatBot/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/20CustomChatBot/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/20CustomChatBot/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/20CustomChatBot/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/20CustomChatBot/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/20CustomChatBot/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/20CustomChatBot/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/20CustomChatBot/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/20CustomChatBot/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/20CustomChatBot/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/20CustomChatBot/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/20CustomChatBot/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/20CustomChatBot/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/20CustomChatBot/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/20CustomChatBot/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/20CustomChatBot/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/20CustomChatBot/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/20CustomChatBot/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/20CustomChatBot/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/20CustomChatBot/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/20CustomChatBot/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/20CustomChatBot/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/20CustomChatBot/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/20CustomChatBot/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/20CustomChatBot/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/20CustomChatBot/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/20CustomChatBot/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/20CustomChatBot/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/20CustomChatBot/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/20CustomChatBot/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/20CustomChatBot/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/20CustomChatBot/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/20CustomChatBot/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/20CustomChatBot/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/20CustomChatBot/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/20CustomChatBot/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/20CustomChatBot/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/20CustomChatBot/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsAid.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsPing.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/20CustomChatBot/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/20CustomChatBot/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/20CustomChatBot/types/models/enums/ConfigTypes.d.ts b/TypeScript/20CustomChatBot/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/20CustomChatBot/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/20CustomChatBot/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/20CustomChatBot/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/20CustomChatBot/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/20CustomChatBot/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/20CustomChatBot/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/20CustomChatBot/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/20CustomChatBot/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/20CustomChatBot/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/20CustomChatBot/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/20CustomChatBot/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/20CustomChatBot/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/20CustomChatBot/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/20CustomChatBot/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/20CustomChatBot/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/20CustomChatBot/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/20CustomChatBot/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/20CustomChatBot/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/20CustomChatBot/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/20CustomChatBot/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/20CustomChatBot/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/20CustomChatBot/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/20CustomChatBot/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/20CustomChatBot/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/20CustomChatBot/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/20CustomChatBot/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/20CustomChatBot/types/models/spt/bindings/Route.d.ts b/TypeScript/20CustomChatBot/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/20CustomChatBot/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/20CustomChatBot/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/20CustomChatBot/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/20CustomChatBot/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/20CustomChatBot/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IBotConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IItemConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/ILootConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/20CustomChatBot/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/20CustomChatBot/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/20CustomChatBot/types/models/spt/controllers/IBotController.d.ts b/TypeScript/20CustomChatBot/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/20CustomChatBot/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/20CustomChatBot/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/20CustomChatBot/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/20CustomChatBot/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/20CustomChatBot/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/20CustomChatBot/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/20CustomChatBot/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/20CustomChatBot/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/20CustomChatBot/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/20CustomChatBot/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/20CustomChatBot/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/20CustomChatBot/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/20CustomChatBot/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/20CustomChatBot/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/20CustomChatBot/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/20CustomChatBot/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/20CustomChatBot/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/20CustomChatBot/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/20CustomChatBot/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/20CustomChatBot/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/20CustomChatBot/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/20CustomChatBot/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/20CustomChatBot/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/20CustomChatBot/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/20CustomChatBot/types/models/spt/server/ILocations.d.ts b/TypeScript/20CustomChatBot/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/20CustomChatBot/types/models/spt/services/CustomPreset.d.ts b/TypeScript/20CustomChatBot/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/20CustomChatBot/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/20CustomChatBot/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/20CustomChatBot/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/20CustomChatBot/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/20CustomChatBot/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/20CustomChatBot/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/20CustomChatBot/types/models/spt/services/LootRequest.d.ts b/TypeScript/20CustomChatBot/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/20CustomChatBot/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/20CustomChatBot/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/20CustomChatBot/types/models/spt/utils/ILogger.d.ts b/TypeScript/20CustomChatBot/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/20CustomChatBot/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/20CustomChatBot/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/20CustomChatBot/types/routers/EventOutputHolder.d.ts b/TypeScript/20CustomChatBot/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/20CustomChatBot/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/20CustomChatBot/types/routers/HttpRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/20CustomChatBot/types/routers/HttpRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/20CustomChatBot/types/routers/ImageRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/20CustomChatBot/types/routers/ImageRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/20CustomChatBot/types/routers/ItemEventRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/20CustomChatBot/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/20CustomChatBot/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/20CustomChatBot/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/20CustomChatBot/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/20CustomChatBot/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/20CustomChatBot/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/20CustomChatBot/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/20CustomChatBot/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/20CustomChatBot/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/20CustomChatBot/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/20CustomChatBot/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/20CustomChatBot/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/20CustomChatBot/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/20CustomChatBot/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/20CustomChatBot/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/20CustomChatBot/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/20CustomChatBot/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/20CustomChatBot/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/20CustomChatBot/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/20CustomChatBot/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/20CustomChatBot/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/20CustomChatBot/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/20CustomChatBot/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/20CustomChatBot/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/20CustomChatBot/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/20CustomChatBot/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/20CustomChatBot/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/20CustomChatBot/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/20CustomChatBot/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/20CustomChatBot/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/20CustomChatBot/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/20CustomChatBot/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/20CustomChatBot/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/20CustomChatBot/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/20CustomChatBot/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/20CustomChatBot/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/20CustomChatBot/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/20CustomChatBot/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/20CustomChatBot/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/20CustomChatBot/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/20CustomChatBot/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/20CustomChatBot/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/BotStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/DataStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/GameStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/20CustomChatBot/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/20CustomChatBot/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/20CustomChatBot/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/20CustomChatBot/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/20CustomChatBot/types/servers/ConfigServer.d.ts b/TypeScript/20CustomChatBot/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/20CustomChatBot/types/servers/ConfigServer.d.ts +++ b/TypeScript/20CustomChatBot/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/20CustomChatBot/types/servers/DatabaseServer.d.ts b/TypeScript/20CustomChatBot/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/20CustomChatBot/types/servers/DatabaseServer.d.ts +++ b/TypeScript/20CustomChatBot/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/20CustomChatBot/types/servers/HttpServer.d.ts b/TypeScript/20CustomChatBot/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/20CustomChatBot/types/servers/HttpServer.d.ts +++ b/TypeScript/20CustomChatBot/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/20CustomChatBot/types/servers/RagfairServer.d.ts b/TypeScript/20CustomChatBot/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/20CustomChatBot/types/servers/RagfairServer.d.ts +++ b/TypeScript/20CustomChatBot/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/20CustomChatBot/types/servers/SaveServer.d.ts b/TypeScript/20CustomChatBot/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/20CustomChatBot/types/servers/SaveServer.d.ts +++ b/TypeScript/20CustomChatBot/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/20CustomChatBot/types/servers/WebSocketServer.d.ts b/TypeScript/20CustomChatBot/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/20CustomChatBot/types/servers/WebSocketServer.d.ts +++ b/TypeScript/20CustomChatBot/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/20CustomChatBot/types/servers/http/AkiHttpListener.d.ts b/TypeScript/20CustomChatBot/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/20CustomChatBot/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/20CustomChatBot/types/servers/http/SptHttpListener.d.ts b/TypeScript/20CustomChatBot/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/20CustomChatBot/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/20CustomChatBot/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/20CustomChatBot/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/20CustomChatBot/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/20CustomChatBot/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/20CustomChatBot/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/20CustomChatBot/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/20CustomChatBot/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/20CustomChatBot/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/20CustomChatBot/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/20CustomChatBot/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/20CustomChatBot/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/20CustomChatBot/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/20CustomChatBot/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/20CustomChatBot/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/20CustomChatBot/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/20CustomChatBot/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/20CustomChatBot/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/20CustomChatBot/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/20CustomChatBot/types/services/BotEquipmentFilterService.d.ts b/TypeScript/20CustomChatBot/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/20CustomChatBot/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/20CustomChatBot/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/20CustomChatBot/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/20CustomChatBot/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/20CustomChatBot/types/services/BotGenerationCacheService.d.ts b/TypeScript/20CustomChatBot/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/20CustomChatBot/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/20CustomChatBot/types/services/BotLootCacheService.d.ts b/TypeScript/20CustomChatBot/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/20CustomChatBot/types/services/BotLootCacheService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/20CustomChatBot/types/services/BotWeaponModLimitService.d.ts b/TypeScript/20CustomChatBot/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/20CustomChatBot/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/20CustomChatBot/types/services/CustomLocationWaveService.d.ts b/TypeScript/20CustomChatBot/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/20CustomChatBot/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/20CustomChatBot/types/services/FenceService.d.ts b/TypeScript/20CustomChatBot/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/20CustomChatBot/types/services/FenceService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/20CustomChatBot/types/services/GiftService.d.ts b/TypeScript/20CustomChatBot/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/20CustomChatBot/types/services/GiftService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/20CustomChatBot/types/services/InsuranceService.d.ts b/TypeScript/20CustomChatBot/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/20CustomChatBot/types/services/InsuranceService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/20CustomChatBot/types/services/ItemBaseClassService.d.ts b/TypeScript/20CustomChatBot/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/20CustomChatBot/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/20CustomChatBot/types/services/ItemFilterService.d.ts b/TypeScript/20CustomChatBot/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/20CustomChatBot/types/services/ItemFilterService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/20CustomChatBot/types/services/LocaleService.d.ts b/TypeScript/20CustomChatBot/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/20CustomChatBot/types/services/LocaleService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/20CustomChatBot/types/services/LocalisationService.d.ts b/TypeScript/20CustomChatBot/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/20CustomChatBot/types/services/LocalisationService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/20CustomChatBot/types/services/MailSendService.d.ts b/TypeScript/20CustomChatBot/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/20CustomChatBot/types/services/MailSendService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/20CustomChatBot/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/20CustomChatBot/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/20CustomChatBot/types/services/MatchLocationService.d.ts b/TypeScript/20CustomChatBot/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/20CustomChatBot/types/services/MatchLocationService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/20CustomChatBot/types/services/ModCompilerService.d.ts b/TypeScript/20CustomChatBot/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/20CustomChatBot/types/services/ModCompilerService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/20CustomChatBot/types/services/NotificationService.d.ts b/TypeScript/20CustomChatBot/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/20CustomChatBot/types/services/NotificationService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/20CustomChatBot/types/services/OpenZoneService.d.ts b/TypeScript/20CustomChatBot/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/20CustomChatBot/types/services/OpenZoneService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/20CustomChatBot/types/services/PaymentService.d.ts b/TypeScript/20CustomChatBot/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/20CustomChatBot/types/services/PaymentService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/services/PlayerService.d.ts b/TypeScript/20CustomChatBot/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/20CustomChatBot/types/services/PlayerService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/20CustomChatBot/types/services/PmcChatResponseService.d.ts b/TypeScript/20CustomChatBot/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/20CustomChatBot/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/services/ProfileFixerService.d.ts b/TypeScript/20CustomChatBot/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/20CustomChatBot/types/services/ProfileFixerService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/20CustomChatBot/types/services/ProfileSnapshotService.d.ts b/TypeScript/20CustomChatBot/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/20CustomChatBot/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/20CustomChatBot/types/services/RagfairCategoriesService.d.ts b/TypeScript/20CustomChatBot/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/20CustomChatBot/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/20CustomChatBot/types/services/RagfairLinkedItemService.d.ts b/TypeScript/20CustomChatBot/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/20CustomChatBot/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/20CustomChatBot/types/services/RagfairOfferService.d.ts b/TypeScript/20CustomChatBot/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/20CustomChatBot/types/services/RagfairOfferService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/20CustomChatBot/types/services/RagfairPriceService.d.ts b/TypeScript/20CustomChatBot/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/20CustomChatBot/types/services/RagfairPriceService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/20CustomChatBot/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/20CustomChatBot/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/20CustomChatBot/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/20CustomChatBot/types/services/RagfairTaxService.d.ts b/TypeScript/20CustomChatBot/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/20CustomChatBot/types/services/RagfairTaxService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/20CustomChatBot/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/20CustomChatBot/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/20CustomChatBot/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/20CustomChatBot/types/services/RepairService.d.ts b/TypeScript/20CustomChatBot/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/20CustomChatBot/types/services/RepairService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/20CustomChatBot/types/services/SeasonalEventService.d.ts b/TypeScript/20CustomChatBot/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/20CustomChatBot/types/services/SeasonalEventService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/20CustomChatBot/types/services/TraderAssortService.d.ts b/TypeScript/20CustomChatBot/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/20CustomChatBot/types/services/TraderAssortService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/20CustomChatBot/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/20CustomChatBot/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/20CustomChatBot/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/20CustomChatBot/types/services/TraderServicesService.d.ts b/TypeScript/20CustomChatBot/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/20CustomChatBot/types/services/TraderServicesService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/20CustomChatBot/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/20CustomChatBot/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/20CustomChatBot/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/services/cache/ModHashCacheService.d.ts b/TypeScript/20CustomChatBot/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/20CustomChatBot/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/services/mod/CustomItemService.d.ts b/TypeScript/20CustomChatBot/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/20CustomChatBot/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/20CustomChatBot/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/20CustomChatBot/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/20CustomChatBot/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/20CustomChatBot/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/20CustomChatBot/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/20CustomChatBot/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/20CustomChatBot/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/20CustomChatBot/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/20CustomChatBot/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/20CustomChatBot/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/20CustomChatBot/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/20CustomChatBot/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/20CustomChatBot/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/20CustomChatBot/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/20CustomChatBot/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/20CustomChatBot/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/20CustomChatBot/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/20CustomChatBot/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/20CustomChatBot/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/20CustomChatBot/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/20CustomChatBot/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/20CustomChatBot/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/20CustomChatBot/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/20CustomChatBot/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/20CustomChatBot/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/20CustomChatBot/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/20CustomChatBot/types/utils/App.d.ts b/TypeScript/20CustomChatBot/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/20CustomChatBot/types/utils/App.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/20CustomChatBot/types/utils/AsyncQueue.d.ts b/TypeScript/20CustomChatBot/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/20CustomChatBot/types/utils/AsyncQueue.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/20CustomChatBot/types/utils/DatabaseImporter.d.ts b/TypeScript/20CustomChatBot/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/20CustomChatBot/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/20CustomChatBot/types/utils/HashUtil.d.ts b/TypeScript/20CustomChatBot/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/20CustomChatBot/types/utils/HashUtil.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/20CustomChatBot/types/utils/HttpFileUtil.d.ts b/TypeScript/20CustomChatBot/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/20CustomChatBot/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/20CustomChatBot/types/utils/HttpResponseUtil.d.ts b/TypeScript/20CustomChatBot/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/20CustomChatBot/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/20CustomChatBot/types/utils/ImporterUtil.d.ts b/TypeScript/20CustomChatBot/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/20CustomChatBot/types/utils/ImporterUtil.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/20CustomChatBot/types/utils/JsonUtil.d.ts b/TypeScript/20CustomChatBot/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/20CustomChatBot/types/utils/JsonUtil.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/20CustomChatBot/types/utils/ObjectId.d.ts b/TypeScript/20CustomChatBot/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/20CustomChatBot/types/utils/ObjectId.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/20CustomChatBot/types/utils/RagfairOfferHolder.d.ts b/TypeScript/20CustomChatBot/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/20CustomChatBot/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/20CustomChatBot/types/utils/RandomUtil.d.ts b/TypeScript/20CustomChatBot/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/20CustomChatBot/types/utils/RandomUtil.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/20CustomChatBot/types/utils/VFS.d.ts b/TypeScript/20CustomChatBot/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/20CustomChatBot/types/utils/VFS.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/20CustomChatBot/types/utils/Watermark.d.ts b/TypeScript/20CustomChatBot/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/20CustomChatBot/types/utils/Watermark.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/20CustomChatBot/types/utils/cloners/JsonCloner.d.ts b/TypeScript/20CustomChatBot/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/20CustomChatBot/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/20CustomChatBot/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/20CustomChatBot/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/20CustomChatBot/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/20CustomChatBot/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/20CustomChatBot/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/20CustomChatBot/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/20CustomChatBot/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/20CustomChatBot/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/20CustomChatBot/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/20CustomChatBot/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/20CustomChatBot/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/20CustomChatBot/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/20CustomChatBot/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/20CustomChatBot/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/20CustomChatBot/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/20CustomChatBot/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/21CustomCommandoCommand/README.md b/TypeScript/21CustomCommandoCommand/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/21CustomCommandoCommand/README.md +++ b/TypeScript/21CustomCommandoCommand/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/21CustomCommandoCommand/package.json b/TypeScript/21CustomCommandoCommand/package.json index 57abc32..d56e164 100644 --- a/TypeScript/21CustomCommandoCommand/package.json +++ b/TypeScript/21CustomCommandoCommand/package.json @@ -1,7 +1,7 @@ { "name": "CustomCommandoCommand", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/21CustomCommandoCommand/src/CustomCommandoCommand.ts b/TypeScript/21CustomCommandoCommand/src/CustomCommandoCommand.ts index beffa2c..c129b03 100644 --- a/TypeScript/21CustomCommandoCommand/src/CustomCommandoCommand.ts +++ b/TypeScript/21CustomCommandoCommand/src/CustomCommandoCommand.ts @@ -1,10 +1,10 @@ import { inject, injectable } from "tsyringe"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { MailSendService } from "@spt/services/MailSendService"; // \/ dont forger this annotation here! @injectable() diff --git a/TypeScript/21CustomCommandoCommand/src/mod.ts b/TypeScript/21CustomCommandoCommand/src/mod.ts index 98e3edd..abb902a 100644 --- a/TypeScript/21CustomCommandoCommand/src/mod.ts +++ b/TypeScript/21CustomCommandoCommand/src/mod.ts @@ -1,7 +1,7 @@ import { DependencyContainer } from "tsyringe"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { CommandoDialogueChatBot } from "@spt-aki/helpers/Dialogue/CommandoDialogueChatBot"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { CommandoDialogueChatBot } from "@spt/helpers/Dialogue/CommandoDialogueChatBot"; import { CustomCommandoCommand } from "./CustomCommandoCommand"; class Mod implements IPostDBLoadMod { diff --git a/TypeScript/21CustomCommandoCommand/tsconfig.json b/TypeScript/21CustomCommandoCommand/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/21CustomCommandoCommand/tsconfig.json +++ b/TypeScript/21CustomCommandoCommand/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/BotCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/BundleCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/DataCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/GameCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/HealthCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/HttpCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/InraidCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/LocationCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/MatchCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/ModCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/NoteCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/PresetCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/QuestCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/RepairCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/SaveCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/TradeCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/TraderCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/21CustomCommandoCommand/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/21CustomCommandoCommand/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/21CustomCommandoCommand/types/context/ApplicationContext.d.ts b/TypeScript/21CustomCommandoCommand/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/21CustomCommandoCommand/types/context/ApplicationContext.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/21CustomCommandoCommand/types/context/ContextVariable.d.ts b/TypeScript/21CustomCommandoCommand/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/21CustomCommandoCommand/types/context/ContextVariable.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/AchievementController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/AchievementController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/BotController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/BotController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/BuildController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/BuildController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/ClientLogController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/ClientLogController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/CustomizationController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/CustomizationController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/DialogueController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/DialogueController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/GameController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/GameController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/HandbookController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/HandbookController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/HealthController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/HealthController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/HideoutController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/HideoutController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/InraidController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/InraidController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/InsuranceController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/InsuranceController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/InventoryController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/InventoryController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/LauncherController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/LauncherController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/LocationController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/LocationController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/MatchController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/MatchController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/NoteController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/NoteController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/NotifierController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/NotifierController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/PresetController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/PresetController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/ProfileController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/ProfileController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/QuestController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/QuestController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/RagfairController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/RagfairController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/RepairController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/RepairController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/RepeatableQuestController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/TradeController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/TradeController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/TraderController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/TraderController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/WeatherController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/WeatherController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/21CustomCommandoCommand/types/controllers/WishlistController.d.ts b/TypeScript/21CustomCommandoCommand/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/21CustomCommandoCommand/types/controllers/WishlistController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/21CustomCommandoCommand/types/di/Router.d.ts b/TypeScript/21CustomCommandoCommand/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/21CustomCommandoCommand/types/di/Router.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/21CustomCommandoCommand/types/generators/BotGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/BotGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/BotInventoryGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/BotLevelGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/BotLootGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/BotWeaponGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/21CustomCommandoCommand/types/generators/LocationGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/LocationGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/LootGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/LootGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/PMCLootGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/21CustomCommandoCommand/types/generators/PlayerScavGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/21CustomCommandoCommand/types/generators/WeatherGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/AssortHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/AssortHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/BotHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/BotHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/DialogueHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/GameEventHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/HandbookHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/HealthHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/HealthHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/HideoutHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/HttpServerHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/InRaidHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/InventoryHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/ItemHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/ItemHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/NotificationSendHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/NotifierHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/PaymentHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/PresetHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/PresetHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/ProbabilityHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/ProfileHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/QuestConditionHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/QuestHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/QuestHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/RagfairHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/RagfairSellHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/RagfairServerHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/RagfairSortHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/RepairHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/RepairHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/SecureContainerHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/TradeHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/TradeHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/TraderAssortHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/helpers/TraderHelper.d.ts b/TypeScript/21CustomCommandoCommand/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/21CustomCommandoCommand/types/helpers/TraderHelper.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/21CustomCommandoCommand/types/loaders/BundleLoader.d.ts b/TypeScript/21CustomCommandoCommand/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/21CustomCommandoCommand/types/loaders/BundleLoader.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/21CustomCommandoCommand/types/loaders/ModLoadOrder.d.ts b/TypeScript/21CustomCommandoCommand/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/21CustomCommandoCommand/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/21CustomCommandoCommand/types/loaders/ModTypeCheck.d.ts b/TypeScript/21CustomCommandoCommand/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/21CustomCommandoCommand/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/21CustomCommandoCommand/types/loaders/PostAkiModLoader.d.ts b/TypeScript/21CustomCommandoCommand/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/21CustomCommandoCommand/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/21CustomCommandoCommand/types/loaders/PostDBModLoader.d.ts b/TypeScript/21CustomCommandoCommand/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/21CustomCommandoCommand/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/21CustomCommandoCommand/types/loaders/PostSptModLoader.d.ts b/TypeScript/21CustomCommandoCommand/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/21CustomCommandoCommand/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/21CustomCommandoCommand/types/loaders/PreAkiModLoader.d.ts b/TypeScript/21CustomCommandoCommand/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/21CustomCommandoCommand/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/21CustomCommandoCommand/types/loaders/PreSptModLoader.d.ts b/TypeScript/21CustomCommandoCommand/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/21CustomCommandoCommand/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/common/IGlobals.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILocation.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILocationBase.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/common/IPmcData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/hideout/IQteData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsAid.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsPing.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/enums/ConfigTypes.d.ts b/TypeScript/21CustomCommandoCommand/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/21CustomCommandoCommand/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/21CustomCommandoCommand/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/21CustomCommandoCommand/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/21CustomCommandoCommand/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/21CustomCommandoCommand/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/21CustomCommandoCommand/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/21CustomCommandoCommand/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/21CustomCommandoCommand/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/21CustomCommandoCommand/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/21CustomCommandoCommand/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/21CustomCommandoCommand/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/21CustomCommandoCommand/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/21CustomCommandoCommand/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/21CustomCommandoCommand/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/21CustomCommandoCommand/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/21CustomCommandoCommand/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/21CustomCommandoCommand/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/21CustomCommandoCommand/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/21CustomCommandoCommand/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/21CustomCommandoCommand/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/21CustomCommandoCommand/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/21CustomCommandoCommand/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/21CustomCommandoCommand/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/21CustomCommandoCommand/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/bindings/Route.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IBotConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IItemConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILootConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/controllers/IBotController.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/21CustomCommandoCommand/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/server/ILocations.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/services/CustomPreset.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/services/LootRequest.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/21CustomCommandoCommand/types/models/spt/utils/ILogger.d.ts b/TypeScript/21CustomCommandoCommand/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/21CustomCommandoCommand/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/21CustomCommandoCommand/types/routers/EventOutputHolder.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/routers/HttpRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/HttpRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/21CustomCommandoCommand/types/routers/ImageRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/ImageRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/21CustomCommandoCommand/types/routers/ItemEventRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/21CustomCommandoCommand/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/21CustomCommandoCommand/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/21CustomCommandoCommand/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/21CustomCommandoCommand/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/21CustomCommandoCommand/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/21CustomCommandoCommand/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/21CustomCommandoCommand/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/BotStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/DataStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/GameStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/21CustomCommandoCommand/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/21CustomCommandoCommand/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/21CustomCommandoCommand/types/servers/ConfigServer.d.ts b/TypeScript/21CustomCommandoCommand/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/21CustomCommandoCommand/types/servers/ConfigServer.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/21CustomCommandoCommand/types/servers/DatabaseServer.d.ts b/TypeScript/21CustomCommandoCommand/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/21CustomCommandoCommand/types/servers/DatabaseServer.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/21CustomCommandoCommand/types/servers/HttpServer.d.ts b/TypeScript/21CustomCommandoCommand/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/21CustomCommandoCommand/types/servers/HttpServer.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/21CustomCommandoCommand/types/servers/RagfairServer.d.ts b/TypeScript/21CustomCommandoCommand/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/21CustomCommandoCommand/types/servers/RagfairServer.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/21CustomCommandoCommand/types/servers/SaveServer.d.ts b/TypeScript/21CustomCommandoCommand/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/21CustomCommandoCommand/types/servers/SaveServer.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/21CustomCommandoCommand/types/servers/WebSocketServer.d.ts b/TypeScript/21CustomCommandoCommand/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/21CustomCommandoCommand/types/servers/WebSocketServer.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/21CustomCommandoCommand/types/servers/http/AkiHttpListener.d.ts b/TypeScript/21CustomCommandoCommand/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/21CustomCommandoCommand/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/21CustomCommandoCommand/types/servers/http/SptHttpListener.d.ts b/TypeScript/21CustomCommandoCommand/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/21CustomCommandoCommand/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/21CustomCommandoCommand/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/21CustomCommandoCommand/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/21CustomCommandoCommand/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/21CustomCommandoCommand/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/21CustomCommandoCommand/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/21CustomCommandoCommand/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/21CustomCommandoCommand/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/21CustomCommandoCommand/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/21CustomCommandoCommand/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/21CustomCommandoCommand/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/21CustomCommandoCommand/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/21CustomCommandoCommand/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/21CustomCommandoCommand/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/21CustomCommandoCommand/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/21CustomCommandoCommand/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/21CustomCommandoCommand/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/21CustomCommandoCommand/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/21CustomCommandoCommand/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/21CustomCommandoCommand/types/services/BotEquipmentFilterService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/21CustomCommandoCommand/types/services/BotGenerationCacheService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/services/BotLootCacheService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/BotLootCacheService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/services/BotWeaponModLimitService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/21CustomCommandoCommand/types/services/CustomLocationWaveService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/services/FenceService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/FenceService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/21CustomCommandoCommand/types/services/GiftService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/GiftService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/21CustomCommandoCommand/types/services/InsuranceService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/InsuranceService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/21CustomCommandoCommand/types/services/ItemBaseClassService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/21CustomCommandoCommand/types/services/ItemFilterService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/ItemFilterService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/21CustomCommandoCommand/types/services/LocaleService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/LocaleService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/21CustomCommandoCommand/types/services/LocalisationService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/LocalisationService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/21CustomCommandoCommand/types/services/MailSendService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/MailSendService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/21CustomCommandoCommand/types/services/MatchLocationService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/MatchLocationService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/21CustomCommandoCommand/types/services/ModCompilerService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/ModCompilerService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/21CustomCommandoCommand/types/services/NotificationService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/NotificationService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/21CustomCommandoCommand/types/services/OpenZoneService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/OpenZoneService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/21CustomCommandoCommand/types/services/PaymentService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/PaymentService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/services/PlayerService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/PlayerService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/services/PmcChatResponseService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/services/ProfileFixerService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/ProfileFixerService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/21CustomCommandoCommand/types/services/ProfileSnapshotService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/21CustomCommandoCommand/types/services/RagfairCategoriesService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/services/RagfairLinkedItemService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/services/RagfairOfferService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/RagfairOfferService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/services/RagfairPriceService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/RagfairPriceService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/21CustomCommandoCommand/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/services/RagfairTaxService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/RagfairTaxService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/21CustomCommandoCommand/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/21CustomCommandoCommand/types/services/RepairService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/RepairService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/21CustomCommandoCommand/types/services/SeasonalEventService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/SeasonalEventService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/21CustomCommandoCommand/types/services/TraderAssortService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/TraderAssortService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/21CustomCommandoCommand/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/21CustomCommandoCommand/types/services/TraderServicesService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/TraderServicesService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/21CustomCommandoCommand/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/services/cache/ModHashCacheService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/services/mod/CustomItemService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/21CustomCommandoCommand/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/21CustomCommandoCommand/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/21CustomCommandoCommand/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/21CustomCommandoCommand/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/21CustomCommandoCommand/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/21CustomCommandoCommand/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/21CustomCommandoCommand/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/21CustomCommandoCommand/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/21CustomCommandoCommand/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/21CustomCommandoCommand/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/21CustomCommandoCommand/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/21CustomCommandoCommand/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/21CustomCommandoCommand/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/21CustomCommandoCommand/types/utils/App.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/App.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/utils/AsyncQueue.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/AsyncQueue.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/21CustomCommandoCommand/types/utils/DatabaseImporter.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/21CustomCommandoCommand/types/utils/HashUtil.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/HashUtil.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/21CustomCommandoCommand/types/utils/HttpFileUtil.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/21CustomCommandoCommand/types/utils/HttpResponseUtil.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/21CustomCommandoCommand/types/utils/ImporterUtil.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/ImporterUtil.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/utils/JsonUtil.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/JsonUtil.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/21CustomCommandoCommand/types/utils/ObjectId.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/ObjectId.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/21CustomCommandoCommand/types/utils/RagfairOfferHolder.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/21CustomCommandoCommand/types/utils/RandomUtil.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/RandomUtil.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/21CustomCommandoCommand/types/utils/VFS.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/VFS.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/21CustomCommandoCommand/types/utils/Watermark.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/Watermark.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/21CustomCommandoCommand/types/utils/cloners/JsonCloner.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/21CustomCommandoCommand/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/21CustomCommandoCommand/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/21CustomCommandoCommand/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/21CustomCommandoCommand/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/21CustomCommandoCommand/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/21CustomCommandoCommand/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/21CustomCommandoCommand/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/22CustomAkiCommand/src/mod.ts b/TypeScript/22CustomAkiCommand/src/mod.ts deleted file mode 100644 index fa4c351..0000000 --- a/TypeScript/22CustomAkiCommand/src/mod.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { DependencyContainer } from "tsyringe"; - -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { SptCommandoCommands } from "@spt-aki/helpers/Dialogue/Commando/SptCommandoCommands"; -import { CustomAkiCommand } from "./CustomAkiCommand"; - -class Mod implements IPostDBLoadMod { - public postDBLoad(container: DependencyContainer): void { - // We register and re-resolve the dependency so the container takes care of filling in the command dependencies - container.register("CustomAkiCommand", CustomAkiCommand); - container.resolve("SptCommandoCommands").registerSptCommandoCommand(container.resolve("CustomAkiCommand")); - } -} - -export const mod = new Mod(); diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/ModCallbacks.d.ts b/TypeScript/22CustomAkiCommand/types/callbacks/ModCallbacks.d.ts deleted file mode 100644 index 6af1e68..0000000 --- a/TypeScript/22CustomAkiCommand/types/callbacks/ModCallbacks.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -export declare class ModCallbacks implements OnLoad { - protected logger: ILogger; - protected httpResponse: HttpResponseUtil; - protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); - onLoad(): Promise; - getRoute(): string; -} diff --git a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts deleted file mode 100644 index 34c3a79..0000000 --- a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { - constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); - getChatBot(): IUserDialogInfo; - protected getUnrecognizedCommandMessage(): string; -} diff --git a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/IDialogueChatBot.d.ts deleted file mode 100644 index b585d55..0000000 --- a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -export interface IDialogueChatBot { - getChatBot(): IUserDialogInfo; - handleMessage(sessionId: string, request: ISendMessageRequest): string; -} diff --git a/TypeScript/22CustomAkiCommand/types/loaders/ModTypeCheck.d.ts b/TypeScript/22CustomAkiCommand/types/loaders/ModTypeCheck.d.ts deleted file mode 100644 index fb4912e..0000000 --- a/TypeScript/22CustomAkiCommand/types/loaders/ModTypeCheck.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; -export declare class ModTypeCheck { - /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod - * @returns boolean - */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; - /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod - * @returns boolean - */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; - /** - * Use defined safe guard to check if the mod is a IPostDBLoadMod - * @returns boolean - */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; - /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync - * @returns boolean - */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; - /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync - * @returns boolean - */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; - /** - * Use defined safe guard to check if the mod is a IPostDBLoadModAsync - * @returns boolean - */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; - /** - * Checks for mod to be compatible with 3.X+ - * @returns boolean - */ - isPostV3Compatible(mod: any): boolean; -} diff --git a/TypeScript/22CustomAkiCommand/types/loaders/PostAkiModLoader.d.ts b/TypeScript/22CustomAkiCommand/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/22CustomAkiCommand/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/22CustomAkiCommand/types/loaders/PreAkiModLoader.d.ts b/TypeScript/22CustomAkiCommand/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/22CustomAkiCommand/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/22CustomAkiCommand/types/models/eft/inRaid/ISaveProgressRequestData.d.ts deleted file mode 100644 index c658257..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -export interface ISaveProgressRequestData { - exit: PlayerRaidEndState; - profile: IPostRaidPmcData; - isPlayerScav: boolean; - health: ISyncHealthRequestData; - insurance: IInsuredItemsData[]; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryExamineRequestData.d.ts deleted file mode 100644 index 07b0c03..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; -export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { - Action: "Examine"; - item: string; - fromOwner: OwnerInfo; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/22CustomAkiCommand/types/models/eft/launcher/IRegisterData.d.ts deleted file mode 100644 index b69d9ed..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/eft/launcher/IRegisterData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -export interface IRegisterData extends ILoginRequestData { - edition: string; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/22CustomAkiCommand/types/models/eft/launcher/IRemoveProfileData.d.ts deleted file mode 100644 index 2ad9694..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/eft/launcher/IRemoveProfileData.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/22CustomAkiCommand/types/models/eft/match/IRaidSettings.d.ts deleted file mode 100644 index 9bf0d42..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/eft/match/IRaidSettings.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; -export interface IRaidSettings { - location: string; - timeVariant: DateTime; - raidMode: RaidMode; - metabolismDisabled: boolean; - playersSpawnPlace: PlayersSpawnPlace; - timeAndWeatherSettings: TimeAndWeatherSettings; - botSettings: BotSettings; - wavesSettings: WavesSettings; - side: SideType; -} -export interface TimeAndWeatherSettings { - isRandomTime: boolean; - isRandomWeather: boolean; - cloudinessType: CloudinessType; - rainType: RainType; - fogType: FogType; - windType: WindSpeed; - timeFlowType: TimeFlowType; - hourOfDay: number; -} -export interface BotSettings { - isScavWars: boolean; - botAmount: BotAmount; -} -export interface WavesSettings { - botAmount: BotAmount; - botDifficulty: BotDifficulty; - isBosses: boolean; - isTaggedAndCursed: boolean; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/22CustomAkiCommand/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsAid.d.ts b/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsAid.d.ts deleted file mode 100644 index d053788..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsAid.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -export interface IWsAid extends IWsNotificationEvent { - aid: number; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupId.d.ts deleted file mode 100644 index 2bab478..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupId.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -export interface IWsGroupId extends IWsNotificationEvent { - groupId: string; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts deleted file mode 100644 index 32174fd..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { - requestId: string; - from: number; - members: IGroupCharacter[]; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts deleted file mode 100644 index 1d9f604..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { - extendedProfile: IGroupCharacter; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts deleted file mode 100644 index f323220..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { - raidSettings: IRaidSettings; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsPing.d.ts b/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsPing.d.ts deleted file mode 100644 index a7bb0ea..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsPing.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -export interface IWsPing extends IWsNotificationEvent { -} diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/ConfigTypes.d.ts b/TypeScript/22CustomAkiCommand/types/models/enums/ConfigTypes.d.ts deleted file mode 100644 index bf97c40..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/enums/ConfigTypes.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" -} diff --git a/TypeScript/22CustomAkiCommand/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/22CustomAkiCommand/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/22CustomAkiCommand/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/22CustomAkiCommand/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/22CustomAkiCommand/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/22CustomAkiCommand/types/models/spt/bots/GenerateWeaponResult.d.ts deleted file mode 100644 index f28d052..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/spt/bots/GenerateWeaponResult.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -export declare class GenerateWeaponResult { - weapon: Item[]; - chosenAmmoTpl: string; - chosenUbglAmmoTpl: string; - weaponMods: Mods; - weaponTemplate: ITemplateItem; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ICustomizationCallbacks.d.ts deleted file mode 100644 index f4f8877..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/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/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IHealthCallbacks.d.ts deleted file mode 100644 index 0ea81a2..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -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/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IInsuranceCallbacks.d.ts deleted file mode 100644 index 649039a..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -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/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IItemEventCallbacks.d.ts deleted file mode 100644 index 6778e54..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -export interface IItemEventCallbacks { - handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ILocationCallbacks.d.ts deleted file mode 100644 index a031a29..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -export interface ILocationCallbacks { - getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; - getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IQuestCallbacks.d.ts deleted file mode 100644 index 546191f..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/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/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IRagfairCallbacks.d.ts deleted file mode 100644 index 1157349..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -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/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IRepairCallbacks.d.ts deleted file mode 100644 index b83fde8..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/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/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ITradeCallbacks.d.ts deleted file mode 100644 index b6daa5d..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -export interface ITradeCallbacks { - processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; - processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IWeatherCallbacks.d.ts deleted file mode 100644 index 1ba5b47..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -export interface IWeatherCallbacks { - getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/22CustomAkiCommand/types/models/spt/config/IMatchConfig.d.ts deleted file mode 100644 index dc7a8cb..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IMatchConfig.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; - enabled: boolean; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/22CustomAkiCommand/types/models/spt/generators/IRagfairOfferGenerator.d.ts deleted file mode 100644 index bb5fdf9..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -export interface IRagfairOfferGenerator { - createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/22CustomAkiCommand/types/models/spt/server/IDatabaseTables.d.ts deleted file mode 100644 index 1140374..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/spt/server/IDatabaseTables.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -export interface IDatabaseTables { - bots?: { - types: Record; - base: IBotBase; - core: IBotCore; - }; - hideout?: { - areas: IHideoutArea[]; - production: IHideoutProduction[]; - scavcase: IHideoutScavCase[]; - settings: IHideoutSettingsBase; - qte: IQteData[]; - }; - locales?: ILocaleBase; - locations?: ILocations; - match?: IMatch; - templates?: { - character: string[]; - items: Record; - quests: Record; - repeatableQuests: IRepeatableQuestDatabase; - 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; - /** Default equipment loadouts that show on main inventory screen */ - defaultEquipmentPresets: IDefaultEquipmentPreset[]; - /** Achievements */ - achievements: IAchievement[]; - }; - traders?: Record; - globals?: IGlobals; - server?: IServerBase; - settings?: ISettingsBase; -} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/22CustomAkiCommand/types/models/spt/services/CustomTraderAssortData.d.ts deleted file mode 100644 index 289d66a..0000000 --- a/TypeScript/22CustomAkiCommand/types/models/spt/services/CustomTraderAssortData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -export interface CustomTraderAssortData { - traderId: Traders; - assorts: ITraderAssort; -} diff --git a/TypeScript/22CustomAkiCommand/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/22CustomAkiCommand/types/routers/item_events/NoteItemEventRouter.d.ts deleted file mode 100644 index 88102be..0000000 --- a/TypeScript/22CustomAkiCommand/types/routers/item_events/NoteItemEventRouter.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -export declare class NoteItemEventRouter extends ItemEventRouterDefinition { - protected noteCallbacks: NoteCallbacks; - constructor(noteCallbacks: NoteCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: INoteActionData, sessionID: string): Promise; -} diff --git a/TypeScript/22CustomAkiCommand/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/22CustomAkiCommand/types/routers/save_load/HealthSaveLoadRouter.d.ts deleted file mode 100644 index 1ecfa44..0000000 --- a/TypeScript/22CustomAkiCommand/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -export declare class HealthSaveLoadRouter extends SaveLoadRouter { - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/TypeScript/22CustomAkiCommand/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/22CustomAkiCommand/types/routers/save_load/InraidSaveLoadRouter.d.ts deleted file mode 100644 index 7cc9a08..0000000 --- a/TypeScript/22CustomAkiCommand/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -export declare class InraidSaveLoadRouter extends SaveLoadRouter { - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/TypeScript/22CustomAkiCommand/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/22CustomAkiCommand/types/routers/save_load/InsuranceSaveLoadRouter.d.ts deleted file mode 100644 index af5222a..0000000 --- a/TypeScript/22CustomAkiCommand/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/TypeScript/22CustomAkiCommand/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/22CustomAkiCommand/types/routers/save_load/ProfileSaveLoadRouter.d.ts deleted file mode 100644 index 8047834..0000000 --- a/TypeScript/22CustomAkiCommand/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -export declare class ProfileSaveLoadRouter extends SaveLoadRouter { - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/TypeScript/22CustomAkiCommand/types/servers/http/AkiHttpListener.d.ts b/TypeScript/22CustomAkiCommand/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/22CustomAkiCommand/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/22CustomAkiCommand/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/22CustomAkiCommand/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/22CustomAkiCommand/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/22CustomAkiCommand/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/22CustomAkiCommand/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/22CustomAkiCommand/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/22CustomAkiCommand/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/22CustomAkiCommand/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/22CustomAkiCommand/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/22CustomAkiCommand/.buildignore b/TypeScript/22CustomSptCommand/.buildignore similarity index 100% rename from TypeScript/22CustomAkiCommand/.buildignore rename to TypeScript/22CustomSptCommand/.buildignore diff --git a/TypeScript/22CustomAkiCommand/.eslintignore b/TypeScript/22CustomSptCommand/.eslintignore similarity index 100% rename from TypeScript/22CustomAkiCommand/.eslintignore rename to TypeScript/22CustomSptCommand/.eslintignore diff --git a/TypeScript/22CustomAkiCommand/.eslintrc.json b/TypeScript/22CustomSptCommand/.eslintrc.json similarity index 100% rename from TypeScript/22CustomAkiCommand/.eslintrc.json rename to TypeScript/22CustomSptCommand/.eslintrc.json diff --git a/TypeScript/22CustomAkiCommand/README.md b/TypeScript/22CustomSptCommand/README.md similarity index 79% rename from TypeScript/22CustomAkiCommand/README.md rename to TypeScript/22CustomSptCommand/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/22CustomAkiCommand/README.md +++ b/TypeScript/22CustomSptCommand/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/22CustomAkiCommand/build.mjs b/TypeScript/22CustomSptCommand/build.mjs similarity index 100% rename from TypeScript/22CustomAkiCommand/build.mjs rename to TypeScript/22CustomSptCommand/build.mjs diff --git a/TypeScript/22CustomAkiCommand/mod.code-workspace b/TypeScript/22CustomSptCommand/mod.code-workspace similarity index 100% rename from TypeScript/22CustomAkiCommand/mod.code-workspace rename to TypeScript/22CustomSptCommand/mod.code-workspace diff --git a/TypeScript/22CustomAkiCommand/package.json b/TypeScript/22CustomSptCommand/package.json similarity index 92% rename from TypeScript/22CustomAkiCommand/package.json rename to TypeScript/22CustomSptCommand/package.json index 58dee14..7069435 100644 --- a/TypeScript/22CustomAkiCommand/package.json +++ b/TypeScript/22CustomSptCommand/package.json @@ -1,7 +1,7 @@ { - "name": "CustomAkiCommand", + "name": "CustomSptCommand", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/22CustomAkiCommand/src/CustomAkiCommand.ts b/TypeScript/22CustomSptCommand/src/CustomSptCommand.ts similarity index 66% rename from TypeScript/22CustomAkiCommand/src/CustomAkiCommand.ts rename to TypeScript/22CustomSptCommand/src/CustomSptCommand.ts index 7b2fff1..2e01ae4 100644 --- a/TypeScript/22CustomAkiCommand/src/CustomAkiCommand.ts +++ b/TypeScript/22CustomSptCommand/src/CustomSptCommand.ts @@ -1,14 +1,14 @@ import { inject, injectable } from "tsyringe"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; // \/ dont forger this annotation here! @injectable() -export class CustomAkiCommand implements ISptCommand +export class CustomSptCommand implements ISptCommand { constructor( @inject("ItemHelper") protected itemHelper: ItemHelper, diff --git a/TypeScript/22CustomSptCommand/src/mod.ts b/TypeScript/22CustomSptCommand/src/mod.ts new file mode 100644 index 0000000..001191f --- /dev/null +++ b/TypeScript/22CustomSptCommand/src/mod.ts @@ -0,0 +1,15 @@ +import { DependencyContainer } from "tsyringe"; + +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { SptCommandoCommands } from "@spt/helpers/Dialogue/Commando/SptCommandoCommands"; +import { CustomSptCommand } from "./CustomSptCommand"; + +class Mod implements IPostDBLoadMod { + public postDBLoad(container: DependencyContainer): void { + // We register and re-resolve the dependency so the container takes care of filling in the command dependencies + container.register("CustomSptCommand", CustomSptCommand); + container.resolve("SptCommandoCommands").registerSptCommandoCommand(container.resolve("CustomSptCommand")); + } +} + +export const mod = new Mod(); diff --git a/TypeScript/22CustomAkiCommand/tsconfig.json b/TypeScript/22CustomSptCommand/tsconfig.json similarity index 91% rename from TypeScript/22CustomAkiCommand/tsconfig.json rename to TypeScript/22CustomSptCommand/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/22CustomAkiCommand/tsconfig.json +++ b/TypeScript/22CustomSptCommand/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/22CustomAkiCommand/types/ErrorHandler.d.ts b/TypeScript/22CustomSptCommand/types/ErrorHandler.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/ErrorHandler.d.ts rename to TypeScript/22CustomSptCommand/types/ErrorHandler.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/Program.d.ts b/TypeScript/22CustomSptCommand/types/Program.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/Program.d.ts rename to TypeScript/22CustomSptCommand/types/Program.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/AchievementCallbacks.d.ts similarity index 53% rename from TypeScript/22CustomAkiCommand/types/callbacks/AchievementCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/BotCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/BotCallbacks.d.ts similarity index 70% rename from TypeScript/22CustomAkiCommand/types/callbacks/BotCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/BuildsCallbacks.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/callbacks/BuildsCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/BundleCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/BundleCallbacks.d.ts similarity index 65% rename from TypeScript/22CustomAkiCommand/types/callbacks/BundleCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/ClientLogCallbacks.d.ts similarity index 61% rename from TypeScript/22CustomAkiCommand/types/callbacks/ClientLogCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/CustomizationCallbacks.d.ts similarity index 53% rename from TypeScript/22CustomAkiCommand/types/callbacks/CustomizationCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/DataCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/DataCallbacks.d.ts similarity index 71% rename from TypeScript/22CustomAkiCommand/types/callbacks/DataCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/DialogueCallbacks.d.ts similarity index 62% rename from TypeScript/22CustomAkiCommand/types/callbacks/DialogueCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/GameCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/GameCallbacks.d.ts similarity index 59% rename from TypeScript/22CustomAkiCommand/types/callbacks/GameCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/HandbookCallbacks.d.ts similarity index 64% rename from TypeScript/22CustomAkiCommand/types/callbacks/HandbookCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/HealthCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/HealthCallbacks.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/callbacks/HealthCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/HideoutCallbacks.d.ts similarity index 63% rename from TypeScript/22CustomAkiCommand/types/callbacks/HideoutCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/HttpCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/HttpCallbacks.d.ts similarity index 67% rename from TypeScript/22CustomAkiCommand/types/callbacks/HttpCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/InraidCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/InraidCallbacks.d.ts similarity index 75% rename from TypeScript/22CustomAkiCommand/types/callbacks/InraidCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/InsuranceCallbacks.d.ts similarity index 50% rename from TypeScript/22CustomAkiCommand/types/callbacks/InsuranceCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/InventoryCallbacks.d.ts similarity index 59% rename from TypeScript/22CustomAkiCommand/types/callbacks/InventoryCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/ItemEventCallbacks.d.ts similarity index 55% rename from TypeScript/22CustomAkiCommand/types/callbacks/ItemEventCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/LauncherCallbacks.d.ts similarity index 64% rename from TypeScript/22CustomAkiCommand/types/callbacks/LauncherCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/LocationCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/LocationCallbacks.d.ts similarity index 53% rename from TypeScript/22CustomAkiCommand/types/callbacks/LocationCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/MatchCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/MatchCallbacks.d.ts similarity index 68% rename from TypeScript/22CustomAkiCommand/types/callbacks/MatchCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/22CustomSptCommand/types/callbacks/ModCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/ModCallbacks.d.ts new file mode 100644 index 0000000..a0df59f --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/callbacks/ModCallbacks.d.ts @@ -0,0 +1,20 @@ +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +export declare class ModCallbacks implements OnLoad { + protected logger: ILogger; + protected httpResponse: HttpResponseUtil; + protected httpFileUtil: HttpFileUtil; + protected postSptModLoader: PostSptModLoader; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected httpConfig: IHttpConfig; + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); + onLoad(): Promise; + getRoute(): string; +} diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/NoteCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/NoteCallbacks.d.ts similarity index 63% rename from TypeScript/22CustomAkiCommand/types/callbacks/NoteCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/NotifierCallbacks.d.ts similarity index 66% rename from TypeScript/22CustomAkiCommand/types/callbacks/NotifierCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/PresetCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/PresetCallbacks.d.ts similarity index 64% rename from TypeScript/22CustomAkiCommand/types/callbacks/PresetCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/ProfileCallbacks.d.ts similarity index 64% rename from TypeScript/22CustomAkiCommand/types/callbacks/ProfileCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/QuestCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/QuestCallbacks.d.ts similarity index 52% rename from TypeScript/22CustomAkiCommand/types/callbacks/QuestCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/RagfairCallbacks.d.ts similarity index 52% rename from TypeScript/22CustomAkiCommand/types/callbacks/RagfairCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/RepairCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/RepairCallbacks.d.ts similarity index 66% rename from TypeScript/22CustomAkiCommand/types/callbacks/RepairCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/SaveCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/SaveCallbacks.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/callbacks/SaveCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/TradeCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/TradeCallbacks.d.ts similarity index 54% rename from TypeScript/22CustomAkiCommand/types/callbacks/TradeCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/TraderCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/TraderCallbacks.d.ts similarity index 62% rename from TypeScript/22CustomAkiCommand/types/callbacks/TraderCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/WeatherCallbacks.d.ts similarity index 51% rename from TypeScript/22CustomAkiCommand/types/callbacks/WeatherCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/22CustomAkiCommand/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/callbacks/WishlistCallbacks.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/callbacks/WishlistCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/22CustomAkiCommand/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/22CustomAkiCommand/types/context/ApplicationContext.d.ts b/TypeScript/22CustomSptCommand/types/context/ApplicationContext.d.ts similarity index 85% rename from TypeScript/22CustomAkiCommand/types/context/ApplicationContext.d.ts rename to TypeScript/22CustomSptCommand/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/22CustomAkiCommand/types/context/ApplicationContext.d.ts +++ b/TypeScript/22CustomSptCommand/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/22CustomAkiCommand/types/context/ContextVariable.d.ts b/TypeScript/22CustomSptCommand/types/context/ContextVariable.d.ts similarity index 76% rename from TypeScript/22CustomAkiCommand/types/context/ContextVariable.d.ts rename to TypeScript/22CustomSptCommand/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/22CustomAkiCommand/types/context/ContextVariable.d.ts +++ b/TypeScript/22CustomSptCommand/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/22CustomAkiCommand/types/context/ContextVariableType.d.ts b/TypeScript/22CustomSptCommand/types/context/ContextVariableType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/context/ContextVariableType.d.ts rename to TypeScript/22CustomSptCommand/types/context/ContextVariableType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/controllers/AchievementController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/AchievementController.d.ts similarity index 65% rename from TypeScript/22CustomAkiCommand/types/controllers/AchievementController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/AchievementController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/22CustomAkiCommand/types/controllers/BotController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/BotController.d.ts similarity index 77% rename from TypeScript/22CustomAkiCommand/types/controllers/BotController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/BotController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/BuildController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/BuildController.d.ts similarity index 52% rename from TypeScript/22CustomAkiCommand/types/controllers/BuildController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/BuildController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/22CustomAkiCommand/types/controllers/ClientLogController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/ClientLogController.d.ts similarity index 59% rename from TypeScript/22CustomAkiCommand/types/controllers/ClientLogController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/ClientLogController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/22CustomAkiCommand/types/controllers/CustomizationController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/CustomizationController.d.ts similarity index 76% rename from TypeScript/22CustomAkiCommand/types/controllers/CustomizationController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/CustomizationController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/DialogueController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/DialogueController.d.ts similarity index 78% rename from TypeScript/22CustomAkiCommand/types/controllers/DialogueController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/DialogueController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/22CustomAkiCommand/types/controllers/GameController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/GameController.d.ts similarity index 64% rename from TypeScript/22CustomAkiCommand/types/controllers/GameController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/GameController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/22CustomAkiCommand/types/controllers/HandbookController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/HandbookController.d.ts similarity index 64% rename from TypeScript/22CustomAkiCommand/types/controllers/HandbookController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/HandbookController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/HealthController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/HealthController.d.ts similarity index 67% rename from TypeScript/22CustomAkiCommand/types/controllers/HealthController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/HealthController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/HideoutController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/HideoutController.d.ts similarity index 77% rename from TypeScript/22CustomAkiCommand/types/controllers/HideoutController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/HideoutController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/InraidController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/InraidController.d.ts similarity index 74% rename from TypeScript/22CustomAkiCommand/types/controllers/InraidController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/InraidController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/22CustomAkiCommand/types/controllers/InsuranceController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/InsuranceController.d.ts similarity index 83% rename from TypeScript/22CustomAkiCommand/types/controllers/InsuranceController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/InsuranceController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/InventoryController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/InventoryController.d.ts similarity index 72% rename from TypeScript/22CustomAkiCommand/types/controllers/InventoryController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/InventoryController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/22CustomAkiCommand/types/controllers/LauncherController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/LauncherController.d.ts similarity index 60% rename from TypeScript/22CustomAkiCommand/types/controllers/LauncherController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/LauncherController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/22CustomAkiCommand/types/controllers/LocationController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/LocationController.d.ts similarity index 62% rename from TypeScript/22CustomAkiCommand/types/controllers/LocationController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/LocationController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/MatchController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/MatchController.d.ts similarity index 66% rename from TypeScript/22CustomAkiCommand/types/controllers/MatchController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/MatchController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/NoteController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/NoteController.d.ts similarity index 59% rename from TypeScript/22CustomAkiCommand/types/controllers/NoteController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/NoteController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/22CustomAkiCommand/types/controllers/NotifierController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/NotifierController.d.ts similarity index 76% rename from TypeScript/22CustomAkiCommand/types/controllers/NotifierController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/NotifierController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/PresetController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/PresetController.d.ts similarity index 59% rename from TypeScript/22CustomAkiCommand/types/controllers/PresetController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/PresetController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/ProfileController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/ProfileController.d.ts similarity index 61% rename from TypeScript/22CustomAkiCommand/types/controllers/ProfileController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/ProfileController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/22CustomAkiCommand/types/controllers/QuestController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/QuestController.d.ts similarity index 80% rename from TypeScript/22CustomAkiCommand/types/controllers/QuestController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/QuestController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/RagfairController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/RagfairController.d.ts similarity index 74% rename from TypeScript/22CustomAkiCommand/types/controllers/RagfairController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/RagfairController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/22CustomAkiCommand/types/controllers/RepairController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/RepairController.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/controllers/RepairController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/RepairController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/RepeatableQuestController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/RepeatableQuestController.d.ts similarity index 77% rename from TypeScript/22CustomAkiCommand/types/controllers/RepeatableQuestController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/TradeController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/TradeController.d.ts similarity index 68% rename from TypeScript/22CustomAkiCommand/types/controllers/TradeController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/TradeController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/TraderController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/TraderController.d.ts similarity index 69% rename from TypeScript/22CustomAkiCommand/types/controllers/TraderController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/TraderController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/WeatherController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/WeatherController.d.ts similarity index 60% rename from TypeScript/22CustomAkiCommand/types/controllers/WeatherController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/WeatherController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/22CustomAkiCommand/types/controllers/WishlistController.d.ts b/TypeScript/22CustomSptCommand/types/controllers/WishlistController.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/controllers/WishlistController.d.ts rename to TypeScript/22CustomSptCommand/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/22CustomAkiCommand/types/controllers/WishlistController.d.ts +++ b/TypeScript/22CustomSptCommand/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/22CustomAkiCommand/types/di/Container.d.ts b/TypeScript/22CustomSptCommand/types/di/Container.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/di/Container.d.ts rename to TypeScript/22CustomSptCommand/types/di/Container.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/di/OnLoad.d.ts b/TypeScript/22CustomSptCommand/types/di/OnLoad.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/di/OnLoad.d.ts rename to TypeScript/22CustomSptCommand/types/di/OnLoad.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/di/OnUpdate.d.ts b/TypeScript/22CustomSptCommand/types/di/OnUpdate.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/di/OnUpdate.d.ts rename to TypeScript/22CustomSptCommand/types/di/OnUpdate.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/di/Router.d.ts b/TypeScript/22CustomSptCommand/types/di/Router.d.ts similarity index 83% rename from TypeScript/22CustomAkiCommand/types/di/Router.d.ts rename to TypeScript/22CustomSptCommand/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/22CustomAkiCommand/types/di/Router.d.ts +++ b/TypeScript/22CustomSptCommand/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/22CustomAkiCommand/types/di/Serializer.d.ts b/TypeScript/22CustomSptCommand/types/di/Serializer.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/di/Serializer.d.ts rename to TypeScript/22CustomSptCommand/types/di/Serializer.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/BotEquipmentModGenerator.d.ts similarity index 87% rename from TypeScript/22CustomAkiCommand/types/generators/BotEquipmentModGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/22CustomAkiCommand/types/generators/BotGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/BotGenerator.d.ts similarity index 78% rename from TypeScript/22CustomAkiCommand/types/generators/BotGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/BotGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/generators/BotInventoryGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/BotInventoryGenerator.d.ts similarity index 83% rename from TypeScript/22CustomAkiCommand/types/generators/BotInventoryGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/generators/BotLevelGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/BotLevelGenerator.d.ts similarity index 75% rename from TypeScript/22CustomAkiCommand/types/generators/BotLevelGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/22CustomAkiCommand/types/generators/BotLootGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/BotLootGenerator.d.ts similarity index 81% rename from TypeScript/22CustomAkiCommand/types/generators/BotLootGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/generators/BotWeaponGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/BotWeaponGenerator.d.ts similarity index 84% rename from TypeScript/22CustomAkiCommand/types/generators/BotWeaponGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/FenceBaseAssortGenerator.d.ts similarity index 64% rename from TypeScript/22CustomAkiCommand/types/generators/FenceBaseAssortGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/22CustomAkiCommand/types/generators/IFilterPlateModsForSlotByLevelResult.d.ts b/TypeScript/22CustomSptCommand/types/generators/IFilterPlateModsForSlotByLevelResult.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/generators/IFilterPlateModsForSlotByLevelResult.d.ts rename to TypeScript/22CustomSptCommand/types/generators/IFilterPlateModsForSlotByLevelResult.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/generators/LocationGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/LocationGenerator.d.ts similarity index 87% rename from TypeScript/22CustomAkiCommand/types/generators/LocationGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/LocationGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/22CustomAkiCommand/types/generators/LootGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/LootGenerator.d.ts similarity index 81% rename from TypeScript/22CustomAkiCommand/types/generators/LootGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/LootGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/22CustomAkiCommand/types/generators/PMCLootGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/PMCLootGenerator.d.ts similarity index 74% rename from TypeScript/22CustomAkiCommand/types/generators/PMCLootGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/22CustomAkiCommand/types/generators/PlayerScavGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/PlayerScavGenerator.d.ts similarity index 72% rename from TypeScript/22CustomAkiCommand/types/generators/PlayerScavGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/22CustomAkiCommand/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/RagfairAssortGenerator.d.ts similarity index 75% rename from TypeScript/22CustomAkiCommand/types/generators/RagfairAssortGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/22CustomAkiCommand/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/RagfairOfferGenerator.d.ts similarity index 86% rename from TypeScript/22CustomAkiCommand/types/generators/RagfairOfferGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/RepeatableQuestGenerator.d.ts similarity index 87% rename from TypeScript/22CustomAkiCommand/types/generators/RepeatableQuestGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/22CustomAkiCommand/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/RepeatableQuestRewardGenerator.d.ts similarity index 83% rename from TypeScript/22CustomAkiCommand/types/generators/RepeatableQuestRewardGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/22CustomAkiCommand/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/ScavCaseRewardGenerator.d.ts similarity index 80% rename from TypeScript/22CustomAkiCommand/types/generators/ScavCaseRewardGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/22CustomAkiCommand/types/generators/WeatherGenerator.d.ts b/TypeScript/22CustomSptCommand/types/generators/WeatherGenerator.d.ts similarity index 75% rename from TypeScript/22CustomAkiCommand/types/generators/WeatherGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/22CustomAkiCommand/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/22CustomSptCommand/types/generators/weapongen/IInventoryMagGen.d.ts similarity index 70% rename from TypeScript/22CustomAkiCommand/types/generators/weapongen/IInventoryMagGen.d.ts rename to TypeScript/22CustomSptCommand/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/22CustomAkiCommand/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/22CustomSptCommand/types/generators/weapongen/InventoryMagGen.d.ts similarity index 69% rename from TypeScript/22CustomAkiCommand/types/generators/weapongen/InventoryMagGen.d.ts rename to TypeScript/22CustomSptCommand/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/22CustomAkiCommand/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/22CustomSptCommand/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts rename to TypeScript/22CustomSptCommand/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/22CustomAkiCommand/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/22CustomSptCommand/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts similarity index 61% rename from TypeScript/22CustomAkiCommand/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts rename to TypeScript/22CustomSptCommand/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/22CustomAkiCommand/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/22CustomSptCommand/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts similarity index 59% rename from TypeScript/22CustomAkiCommand/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts rename to TypeScript/22CustomSptCommand/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/22CustomAkiCommand/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/22CustomSptCommand/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts similarity index 59% rename from TypeScript/22CustomAkiCommand/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts rename to TypeScript/22CustomSptCommand/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/22CustomAkiCommand/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/22CustomSptCommand/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/22CustomAkiCommand/types/helpers/AssortHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/AssortHelper.d.ts similarity index 80% rename from TypeScript/22CustomAkiCommand/types/helpers/AssortHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/AssortHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/BotDifficultyHelper.d.ts similarity index 75% rename from TypeScript/22CustomAkiCommand/types/helpers/BotDifficultyHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/BotGeneratorHelper.d.ts similarity index 80% rename from TypeScript/22CustomAkiCommand/types/helpers/BotGeneratorHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/BotHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/BotHelper.d.ts similarity index 85% rename from TypeScript/22CustomAkiCommand/types/helpers/BotHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/BotHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/BotWeaponGeneratorHelper.d.ts similarity index 74% rename from TypeScript/22CustomAkiCommand/types/helpers/BotWeaponGeneratorHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/ContainerHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/ContainerHelper.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/helpers/ContainerHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/ContainerHelper.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts similarity index 62% rename from TypeScript/22CustomAkiCommand/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/IChatCommand.d.ts similarity index 70% rename from TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/IChatCommand.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts similarity index 61% rename from TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand.d.ts b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts similarity index 55% rename from TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts similarity index 55% rename from TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts similarity index 54% rename from TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/22CustomSptCommand/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts new file mode 100644 index 0000000..a87bec1 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -0,0 +1,10 @@ +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; +export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { + constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); + getChatBot(): IUserDialogInfo; + protected getUnrecognizedCommandMessage(): string; +} diff --git a/TypeScript/22CustomSptCommand/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/IDialogueChatBot.d.ts new file mode 100644 index 0000000..0c72041 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -0,0 +1,6 @@ +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +export interface IDialogueChatBot { + getChatBot(): IUserDialogInfo; + handleMessage(sessionId: string, request: ISendMessageRequest): string; +} diff --git a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/SptDialogueChatBot.d.ts similarity index 54% rename from TypeScript/22CustomAkiCommand/types/helpers/Dialogue/SptDialogueChatBot.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/DialogueHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/DialogueHelper.d.ts similarity index 66% rename from TypeScript/22CustomAkiCommand/types/helpers/DialogueHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/DurabilityLimitsHelper.d.ts similarity index 89% rename from TypeScript/22CustomAkiCommand/types/helpers/DurabilityLimitsHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/GameEventHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/GameEventHelper.d.ts similarity index 54% rename from TypeScript/22CustomAkiCommand/types/helpers/GameEventHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/HandbookHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/HandbookHelper.d.ts similarity index 84% rename from TypeScript/22CustomAkiCommand/types/helpers/HandbookHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/22CustomAkiCommand/types/helpers/HealthHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/HealthHelper.d.ts similarity index 78% rename from TypeScript/22CustomAkiCommand/types/helpers/HealthHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/HealthHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/22CustomAkiCommand/types/helpers/HideoutHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/HideoutHelper.d.ts similarity index 88% rename from TypeScript/22CustomAkiCommand/types/helpers/HideoutHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/HttpServerHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/HttpServerHelper.d.ts similarity index 84% rename from TypeScript/22CustomAkiCommand/types/helpers/HttpServerHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/InRaidHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/InRaidHelper.d.ts similarity index 84% rename from TypeScript/22CustomAkiCommand/types/helpers/InRaidHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/InventoryHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/InventoryHelper.d.ts similarity index 83% rename from TypeScript/22CustomAkiCommand/types/helpers/InventoryHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/ItemHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/ItemHelper.d.ts similarity index 94% rename from TypeScript/22CustomAkiCommand/types/helpers/ItemHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/ItemHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/NotificationSendHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/NotificationSendHelper.d.ts similarity index 66% rename from TypeScript/22CustomAkiCommand/types/helpers/NotificationSendHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/22CustomAkiCommand/types/helpers/NotifierHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/NotifierHelper.d.ts similarity index 71% rename from TypeScript/22CustomAkiCommand/types/helpers/NotifierHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/22CustomAkiCommand/types/helpers/PaymentHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/PaymentHelper.d.ts similarity index 78% rename from TypeScript/22CustomAkiCommand/types/helpers/PaymentHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/PresetHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/PresetHelper.d.ts similarity index 89% rename from TypeScript/22CustomAkiCommand/types/helpers/PresetHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/PresetHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/ProbabilityHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/ProbabilityHelper.d.ts similarity index 79% rename from TypeScript/22CustomAkiCommand/types/helpers/ProbabilityHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/ProfileHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/ProfileHelper.d.ts similarity index 82% rename from TypeScript/22CustomAkiCommand/types/helpers/ProfileHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/22CustomAkiCommand/types/helpers/QuestConditionHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/QuestConditionHelper.d.ts similarity index 90% rename from TypeScript/22CustomAkiCommand/types/helpers/QuestConditionHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/QuestHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/QuestHelper.d.ts similarity index 85% rename from TypeScript/22CustomAkiCommand/types/helpers/QuestHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/QuestHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/22CustomAkiCommand/types/helpers/RagfairHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/RagfairHelper.d.ts similarity index 62% rename from TypeScript/22CustomAkiCommand/types/helpers/RagfairHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/RagfairOfferHelper.d.ts similarity index 75% rename from TypeScript/22CustomAkiCommand/types/helpers/RagfairOfferHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/22CustomAkiCommand/types/helpers/RagfairSellHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/RagfairSellHelper.d.ts similarity index 73% rename from TypeScript/22CustomAkiCommand/types/helpers/RagfairSellHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/RagfairServerHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/RagfairServerHelper.d.ts similarity index 73% rename from TypeScript/22CustomAkiCommand/types/helpers/RagfairServerHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/22CustomAkiCommand/types/helpers/RagfairSortHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/RagfairSortHelper.d.ts similarity index 79% rename from TypeScript/22CustomAkiCommand/types/helpers/RagfairSortHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/RepairHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/RepairHelper.d.ts similarity index 81% rename from TypeScript/22CustomAkiCommand/types/helpers/RepairHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/RepairHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/RepeatableQuestHelper.d.ts similarity index 71% rename from TypeScript/22CustomAkiCommand/types/helpers/RepeatableQuestHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/SecureContainerHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/SecureContainerHelper.d.ts similarity index 80% rename from TypeScript/22CustomAkiCommand/types/helpers/SecureContainerHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/TradeHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/TradeHelper.d.ts similarity index 64% rename from TypeScript/22CustomAkiCommand/types/helpers/TradeHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/TradeHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/TraderAssortHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/TraderAssortHelper.d.ts similarity index 73% rename from TypeScript/22CustomAkiCommand/types/helpers/TraderAssortHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/TraderHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/TraderHelper.d.ts similarity index 84% rename from TypeScript/22CustomAkiCommand/types/helpers/TraderHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/22CustomAkiCommand/types/helpers/TraderHelper.d.ts +++ b/TypeScript/22CustomSptCommand/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/22CustomAkiCommand/types/helpers/UtilityHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/UtilityHelper.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/helpers/UtilityHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/UtilityHelper.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/helpers/WeightedRandomHelper.d.ts b/TypeScript/22CustomSptCommand/types/helpers/WeightedRandomHelper.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/helpers/WeightedRandomHelper.d.ts rename to TypeScript/22CustomSptCommand/types/helpers/WeightedRandomHelper.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/ide/BleedingEdgeEntry.d.ts b/TypeScript/22CustomSptCommand/types/ide/BleedingEdgeEntry.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/ide/BleedingEdgeEntry.d.ts rename to TypeScript/22CustomSptCommand/types/ide/BleedingEdgeEntry.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/ide/BleedingEdgeModsEntry.d.ts b/TypeScript/22CustomSptCommand/types/ide/BleedingEdgeModsEntry.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/ide/BleedingEdgeModsEntry.d.ts rename to TypeScript/22CustomSptCommand/types/ide/BleedingEdgeModsEntry.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/ide/DebugEntry.d.ts b/TypeScript/22CustomSptCommand/types/ide/DebugEntry.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/ide/DebugEntry.d.ts rename to TypeScript/22CustomSptCommand/types/ide/DebugEntry.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/ide/ReleaseEntry.d.ts b/TypeScript/22CustomSptCommand/types/ide/ReleaseEntry.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/ide/ReleaseEntry.d.ts rename to TypeScript/22CustomSptCommand/types/ide/ReleaseEntry.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/ide/TestEntry.d.ts b/TypeScript/22CustomSptCommand/types/ide/TestEntry.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/ide/TestEntry.d.ts rename to TypeScript/22CustomSptCommand/types/ide/TestEntry.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/loaders/BundleLoader.d.ts b/TypeScript/22CustomSptCommand/types/loaders/BundleLoader.d.ts similarity index 76% rename from TypeScript/22CustomAkiCommand/types/loaders/BundleLoader.d.ts rename to TypeScript/22CustomSptCommand/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/22CustomAkiCommand/types/loaders/BundleLoader.d.ts +++ b/TypeScript/22CustomSptCommand/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/22CustomAkiCommand/types/loaders/ModLoadOrder.d.ts b/TypeScript/22CustomSptCommand/types/loaders/ModLoadOrder.d.ts similarity index 75% rename from TypeScript/22CustomAkiCommand/types/loaders/ModLoadOrder.d.ts rename to TypeScript/22CustomSptCommand/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/22CustomAkiCommand/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/22CustomSptCommand/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/22CustomSptCommand/types/loaders/ModTypeCheck.d.ts b/TypeScript/22CustomSptCommand/types/loaders/ModTypeCheck.d.ts new file mode 100644 index 0000000..f66ec45 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/loaders/ModTypeCheck.d.ts @@ -0,0 +1,43 @@ +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; +export declare class ModTypeCheck { + /** + * Use defined safe guard to check if the mod is a IPreSptLoadMod + * @returns boolean + */ + isPreSptLoad(mod: any): mod is IPreSptLoadMod; + /** + * Use defined safe guard to check if the mod is a IPostSptLoadMod + * @returns boolean + */ + isPostSptLoad(mod: any): mod is IPostSptLoadMod; + /** + * Use defined safe guard to check if the mod is a IPostDBLoadMod + * @returns boolean + */ + isPostDBLoad(mod: any): mod is IPostDBLoadMod; + /** + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync + * @returns boolean + */ + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; + /** + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync + * @returns boolean + */ + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; + /** + * Use defined safe guard to check if the mod is a IPostDBLoadModAsync + * @returns boolean + */ + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; + /** + * Checks for mod to be compatible with 3.X+ + * @returns boolean + */ + isPostV3Compatible(mod: any): boolean; +} diff --git a/TypeScript/22CustomAkiCommand/types/loaders/PostDBModLoader.d.ts b/TypeScript/22CustomSptCommand/types/loaders/PostDBModLoader.d.ts similarity index 55% rename from TypeScript/22CustomAkiCommand/types/loaders/PostDBModLoader.d.ts rename to TypeScript/22CustomSptCommand/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/22CustomAkiCommand/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/22CustomSptCommand/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/22CustomSptCommand/types/loaders/PostSptModLoader.d.ts b/TypeScript/22CustomSptCommand/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/22CustomSptCommand/types/loaders/PreSptModLoader.d.ts b/TypeScript/22CustomSptCommand/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/common/MinMax.d.ts b/TypeScript/22CustomSptCommand/types/models/common/MinMax.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/common/MinMax.d.ts rename to TypeScript/22CustomSptCommand/types/models/common/MinMax.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/bot/IGenerateBotsRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/bot/IGenerateBotsRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/bot/IGenerateBotsRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/bot/IGenerateBotsRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/bot/IRandomisedBotLevelResult.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/bot/IRandomisedBotLevelResult.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/bot/IRandomisedBotLevelResult.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/bot/IRandomisedBotLevelResult.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/builds/ISetMagazineRequest.d.ts similarity index 74% rename from TypeScript/22CustomAkiCommand/types/models/eft/builds/ISetMagazineRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/IEmptyRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/IEmptyRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/IEmptyRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/IEmptyRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/IGlobals.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/IGlobals.d.ts similarity index 99% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/IGlobals.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/ILocation.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/ILocation.d.ts similarity index 93% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/ILocation.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/ILocationBase.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/ILocationBase.d.ts similarity index 98% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/ILocationBase.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/ILocationsSourceDestinationBase.d.ts similarity index 71% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/ILocationsSourceDestinationBase.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/ILooseLoot.d.ts similarity index 88% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/ILooseLoot.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/IMetricsTableData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/IMetricsTableData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/IMetricsTableData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/IMetricsTableData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/IPmcData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/IPmcData.d.ts similarity index 76% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/IPmcData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/Ixyz.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/Ixyz.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/Ixyz.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/Ixyz.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/request/IBaseInteractionRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/request/IBaseInteractionRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/request/IBaseInteractionRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/request/IBaseInteractionRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/request/IUIDRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/request/IUIDRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/request/IUIDRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/request/IUIDRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IAchievement.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/IAchievement.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IAchievement.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/tables/IAchievement.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/IBotBase.d.ts similarity index 94% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IBotBase.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IBotCore.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/IBotCore.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IBotCore.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/tables/IBotCore.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/IBotType.d.ts similarity index 97% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IBotType.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/ICustomizationItem.d.ts similarity index 91% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/tables/ICustomizationItem.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IHandbookBase.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/IHandbookBase.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IHandbookBase.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/tables/IHandbookBase.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IItem.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/IItem.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IItem.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/tables/IItem.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/ILocationsBase.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/ILocationsBase.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/tables/ILocationsBase.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/tables/ILocationsBase.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IMatch.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/IMatch.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IMatch.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/tables/IMatch.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/IProfileTemplate.d.ts similarity index 85% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IProfileTemplate.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/IQuest.d.ts similarity index 93% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IQuest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IRepeatableQuests.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/IRepeatableQuests.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/tables/IRepeatableQuests.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/tables/IRepeatableQuests.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/ITemplateItem.d.ts similarity index 99% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/tables/ITemplateItem.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/ITrader.d.ts similarity index 94% rename from TypeScript/22CustomAkiCommand/types/models/eft/common/tables/ITrader.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/customization/IBuyClothingRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/customization/IBuyClothingRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/customization/IBuyClothingRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/customization/IBuyClothingRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/customization/IGetSuitsResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/customization/IGetSuitsResponse.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/customization/IGetSuitsResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/customization/IGetSuitsResponse.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/customization/IWearClothingRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/customization/IWearClothingRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/customization/IWearClothingRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/customization/IWearClothingRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IAcceptFriendRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IAcceptFriendRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IAcceptFriendRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IAcceptFriendRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IAddUserGroupMailRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IAddUserGroupMailRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IAddUserGroupMailRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IAddUserGroupMailRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IChangeGroupMailOwnerRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IChangeGroupMailOwnerRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IChangeGroupMailOwnerRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IChangeGroupMailOwnerRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IChatServer.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IChatServer.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IChatServer.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IChatServer.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IClearMailMessageRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IClearMailMessageRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IClearMailMessageRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IClearMailMessageRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/ICreateGroupMailRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/ICreateGroupMailRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/ICreateGroupMailRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/ICreateGroupMailRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IDeleteFriendRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IDeleteFriendRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IDeleteFriendRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IDeleteFriendRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IFriendRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IFriendRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IFriendRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IFriendRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IFriendRequestSendResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IFriendRequestSendResponse.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IFriendRequestSendResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IFriendRequestSendResponse.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts similarity index 66% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetChatServerListRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetChatServerListRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetChatServerListRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetChatServerListRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetFriendListDataResponse.d.ts similarity index 63% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetFriendListDataResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts similarity index 67% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts similarity index 63% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IPinDialogRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IPinDialogRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IPinDialogRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IPinDialogRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IRemoveDialogRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IRemoveDialogRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IRemoveDialogRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IRemoveDialogRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IRemoveMailMessageRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IRemoveMailMessageRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IRemoveMailMessageRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IRemoveMailMessageRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/IRemoveUserGroupMailRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/IRemoveUserGroupMailRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/IRemoveUserGroupMailRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/IRemoveUserGroupMailRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/ISendMessageRequest.d.ts similarity index 65% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/ISendMessageRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/dialog/ISetDialogReadRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/dialog/ISetDialogReadRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/dialog/ISetDialogReadRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/dialog/ISetDialogReadRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/game/ICheckVersionResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/game/ICheckVersionResponse.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/game/ICheckVersionResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/game/ICheckVersionResponse.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/game/ICurrentGroupResponse.d.ts similarity index 84% rename from TypeScript/22CustomAkiCommand/types/models/eft/game/ICurrentGroupResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/game/IGameConfigResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/game/IGameConfigResponse.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/game/IGameConfigResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/game/IGameConfigResponse.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/game/IGameEmptyCrcRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/game/IGameEmptyCrcRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/game/IGameEmptyCrcRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/game/IGameEmptyCrcRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/game/IGameKeepAliveResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/game/IGameKeepAliveResponse.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/game/IGameKeepAliveResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/game/IGameKeepAliveResponse.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/game/IGameLogoutResponseData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/game/IGameLogoutResponseData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/game/IGameLogoutResponseData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/game/IGameLogoutResponseData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/game/IGameModeRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/game/IGameModeRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/game/IGameModeRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/game/IGameModeRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/game/IGameModeResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/game/IGameModeResponse.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/game/IGameModeResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/game/IGameModeResponse.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/game/IGameStartResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/game/IGameStartResponse.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/game/IGameStartResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/game/IGameStartResponse.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/game/IGetItemPricesResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/game/IGetItemPricesResponse.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/game/IGetItemPricesResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/game/IGetItemPricesResponse.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/game/IGetRaidTimeRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/game/IGetRaidTimeRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/game/IGetRaidTimeRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/game/IGetRaidTimeRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/game/IGetRaidTimeResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/game/IGetRaidTimeResponse.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/game/IGetRaidTimeResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/game/IGetRaidTimeResponse.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/game/ISendReportRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/game/ISendReportRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/game/ISendReportRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/game/ISendReportRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/game/IServerDetails.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/game/IServerDetails.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/game/IServerDetails.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/game/IServerDetails.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/game/IVersionValidateRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/game/IVersionValidateRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/game/IVersionValidateRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/game/IVersionValidateRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/health/Effect.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/health/Effect.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/health/Effect.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/health/Effect.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/health/IHealthTreatmentRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/health/IHealthTreatmentRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/health/IHealthTreatmentRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/health/IHealthTreatmentRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/health/IOffraidEatRequestData.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/models/eft/health/IOffraidEatRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/health/IOffraidHealRequestData.d.ts similarity index 78% rename from TypeScript/22CustomAkiCommand/types/models/eft/health/IOffraidHealRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/health/ISyncHealthRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/health/ISyncHealthRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/health/ISyncHealthRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/health/ISyncHealthRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/health/IWorkoutData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/health/IWorkoutData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/health/IWorkoutData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/health/IWorkoutData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHandleQTEEventRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHandleQTEEventRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHandleQTEEventRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHandleQTEEventRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutArea.d.ts similarity index 93% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutArea.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutCancelProductionRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutCancelProductionRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutCancelProductionRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutCancelProductionRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutContinuousProductionStartRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutContinuousProductionStartRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutContinuousProductionStartRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutContinuousProductionStartRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutImproveAreaRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutImproveAreaRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutImproveAreaRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutImproveAreaRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutProduction.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutProduction.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutProduction.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutProduction.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutScavCase.d.ts similarity index 86% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutScavCase.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutSettingsBase.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutSettingsBase.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutSettingsBase.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutSettingsBase.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IQteData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IQteData.d.ts similarity index 77% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IQteData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/hideout/IRecordShootingRangePoints.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/hideout/IRecordShootingRangePoints.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/hideout/IRecordShootingRangePoints.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/hideout/IRecordShootingRangePoints.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/httpResponse/IGetBodyResponseData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/httpResponse/IGetBodyResponseData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/httpResponse/IGetBodyResponseData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/httpResponse/IGetBodyResponseData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/httpResponse/INullResponseData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/httpResponse/INullResponseData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/httpResponse/INullResponseData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/httpResponse/INullResponseData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inRaid/IInsuredItemsData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inRaid/IInsuredItemsData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/inRaid/IInsuredItemsData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inRaid/IInsuredItemsData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inRaid/IItemDeliveryRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inRaid/IItemDeliveryRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/inRaid/IItemDeliveryRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inRaid/IItemDeliveryRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts diff --git a/TypeScript/22CustomSptCommand/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inRaid/ISaveProgressRequestData.d.ts new file mode 100644 index 0000000..b654088 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -0,0 +1,11 @@ +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +export interface ISaveProgressRequestData { + exit: PlayerRaidEndState; + profile: IPostRaidPmcData; + isPlayerScav: boolean; + health: ISyncHealthRequestData; + insurance: IInsuredItemsData[]; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/insurance/IInsureRequestData.d.ts similarity index 55% rename from TypeScript/22CustomAkiCommand/types/models/eft/insurance/IInsureRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IAddItemDirectRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IAddItemDirectRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IAddItemDirectRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IAddItemDirectRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IAddItemRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IAddItemRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IAddItemRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IAddItemRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IAddItemTempObject.d.ts similarity index 67% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IAddItemTempObject.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IAddItemsDirectRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IAddItemsDirectRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IAddItemsDirectRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IAddItemsDirectRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryAddRequestData.d.ts similarity index 78% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryAddRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts similarity index 83% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryBindRequestData.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryBindRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts similarity index 70% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts similarity index 60% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts similarity index 72% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryExamineRequestData.d.ts new file mode 100644 index 0000000..58275ba --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -0,0 +1,7 @@ +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; +export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { + Action: "Examine"; + item: string; + fromOwner: OwnerInfo; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryFoldRequestData.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryFoldRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryMergeRequestData.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryMergeRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryMoveRequestData.d.ts similarity index 53% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryMoveRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts similarity index 57% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts similarity index 53% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventorySortRequestData.d.ts similarity index 69% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventorySortRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventorySplitRequestData.d.ts similarity index 86% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventorySplitRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventorySwapRequestData.d.ts similarity index 51% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventorySwapRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryTagRequestData.d.ts similarity index 59% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryTagRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryToggleRequestData.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryToggleRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryTransferRequestData.d.ts similarity index 60% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryTransferRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts similarity index 73% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/IRedeemProfileRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/IRedeemProfileRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/IRedeemProfileRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/IRedeemProfileRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/inventory/ISetFavoriteItems.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/inventory/ISetFavoriteItems.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/inventory/ISetFavoriteItems.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/inventory/ISetFavoriteItems.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts similarity index 53% rename from TypeScript/22CustomAkiCommand/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/itemEvent/IItemEventRouterBase.d.ts similarity index 79% rename from TypeScript/22CustomAkiCommand/types/models/eft/itemEvent/IItemEventRouterBase.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts similarity index 69% rename from TypeScript/22CustomAkiCommand/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/launcher/IChangeRequestData.d.ts similarity index 50% rename from TypeScript/22CustomAkiCommand/types/models/eft/launcher/IChangeRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/launcher/ILoginRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/launcher/ILoginRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/launcher/ILoginRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/launcher/ILoginRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/launcher/IMiniProfile.d.ts similarity index 81% rename from TypeScript/22CustomAkiCommand/types/models/eft/launcher/IMiniProfile.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/22CustomSptCommand/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/launcher/IRegisterData.d.ts new file mode 100644 index 0000000..4a3c15e --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/eft/launcher/IRegisterData.d.ts @@ -0,0 +1,4 @@ +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +export interface IRegisterData extends ILoginRequestData { + edition: string; +} diff --git a/TypeScript/22CustomSptCommand/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/launcher/IRemoveProfileData.d.ts new file mode 100644 index 0000000..59848ed --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -0,0 +1,2 @@ +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/location/IAirdropLootResult.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/models/eft/location/IAirdropLootResult.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/location/IGetLocationRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/location/IGetLocationRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/location/IGetLocationRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/location/IGetLocationRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IEndOfflineRaidRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IEndOfflineRaidRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IEndOfflineRaidRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IEndOfflineRaidRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts similarity index 68% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IGroupCharacter.d.ts similarity index 86% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IGroupCharacter.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupCurrentResponse.d.ts similarity index 50% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupCurrentResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupInviteSendRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupInviteSendRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupInviteSendRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupInviteSendRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupPlayerRemoveRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupPlayerRemoveRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupPlayerRemoveRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupPlayerRemoveRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupStartGameRequest.d.ts similarity index 60% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupStartGameRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupStatusRequest.d.ts similarity index 74% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupStatusRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupStatusResponse.d.ts similarity index 59% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupStatusResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupTransferRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupTransferRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IMatchGroupTransferRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IMatchGroupTransferRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IProfileStatusRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IProfileStatusRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IProfileStatusRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IProfileStatusRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IProfileStatusResponse.d.ts similarity index 59% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IProfileStatusResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IPutMetricsRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IPutMetricsRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IPutMetricsRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IPutMetricsRequestData.d.ts diff --git a/TypeScript/22CustomSptCommand/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IRaidSettings.d.ts new file mode 100644 index 0000000..78a0c19 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/eft/match/IRaidSettings.d.ts @@ -0,0 +1,42 @@ +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; +export interface IRaidSettings { + location: string; + timeVariant: DateTime; + raidMode: RaidMode; + metabolismDisabled: boolean; + playersSpawnPlace: PlayersSpawnPlace; + timeAndWeatherSettings: TimeAndWeatherSettings; + botSettings: BotSettings; + wavesSettings: WavesSettings; + side: SideType; +} +export interface TimeAndWeatherSettings { + isRandomTime: boolean; + isRandomWeather: boolean; + cloudinessType: CloudinessType; + rainType: RainType; + fogType: FogType; + windType: WindSpeed; + timeFlowType: TimeFlowType; + hourOfDay: number; +} +export interface BotSettings { + isScavWars: boolean; + botAmount: BotAmount; +} +export interface WavesSettings { + botAmount: BotAmount; + botDifficulty: BotDifficulty; + isBosses: boolean; + isTaggedAndCursed: boolean; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IRequestIdRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IRequestIdRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IRequestIdRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IRequestIdRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IServer.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IServer.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IServer.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IServer.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/ISessionStatus.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/ISessionStatus.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/ISessionStatus.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/ISessionStatus.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/match/IUpdatePingRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/match/IUpdatePingRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/match/IUpdatePingRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/match/IUpdatePingRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/notes/INoteActionData.d.ts similarity index 63% rename from TypeScript/22CustomAkiCommand/types/models/eft/notes/INoteActionData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/notifier/INotifier.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/notifier/INotifier.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/notifier/INotifier.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/notifier/INotifier.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/notifier/ISelectProfileResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/notifier/ISelectProfileResponse.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/notifier/ISelectProfileResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/notifier/ISelectProfileResponse.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts similarity index 85% rename from TypeScript/22CustomAkiCommand/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts similarity index 74% rename from TypeScript/22CustomAkiCommand/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/presetBuild/IRemoveBuildRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/presetBuild/IRemoveBuildRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/presetBuild/IRemoveBuildRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/presetBuild/IRemoveBuildRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/profile/GetProfileStatusResponseData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/profile/GetProfileStatusResponseData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/profile/GetProfileStatusResponseData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/profile/GetProfileStatusResponseData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/profile/ICompletedAchievementsResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/profile/ICompletedAchievementsResponse.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/profile/ICompletedAchievementsResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/profile/ICompletedAchievementsResponse.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/profile/IConnectResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/profile/IConnectResponse.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/profile/IConnectResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/profile/IConnectResponse.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/profile/ICreateProfileResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/profile/ICreateProfileResponse.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/profile/ICreateProfileResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/profile/ICreateProfileResponse.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/profile/IGetAchievementsResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/profile/IGetAchievementsResponse.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/profile/IGetAchievementsResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/profile/IGetAchievementsResponse.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/profile/IGetOtherProfileRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/profile/IGetOtherProfileRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/profile/IGetOtherProfileRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/profile/IGetOtherProfileRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/profile/IGetOtherProfileResponse.d.ts similarity index 86% rename from TypeScript/22CustomAkiCommand/types/models/eft/profile/IGetOtherProfileResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/profile/IGetProfileSettingsRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/profile/IGetProfileSettingsRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/profile/IGetProfileSettingsRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/profile/IGetProfileSettingsRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/profile/IProfileCreateRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/profile/IProfileCreateRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/profile/IProfileCreateRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/profile/IProfileCreateRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/profile/ISearchFriendRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/profile/ISearchFriendRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/profile/ISearchFriendRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/profile/ISearchFriendRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/profile/ISearchFriendResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/profile/ISearchFriendResponse.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/profile/ISearchFriendResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/profile/ISearchFriendResponse.d.ts diff --git a/TypeScript/22CustomSptCommand/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/profile/IValidateNicknameRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/profile/IValidateNicknameRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/profile/IValidateNicknameRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/profile/IValidateNicknameRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/quests/IAcceptQuestRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/quests/IAcceptQuestRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/quests/IAcceptQuestRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/quests/IAcceptQuestRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/quests/ICompleteQuestRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/quests/ICompleteQuestRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/quests/ICompleteQuestRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/quests/ICompleteQuestRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/quests/IFailQuestRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/quests/IFailQuestRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/quests/IFailQuestRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/quests/IFailQuestRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/quests/IHandoverQuestRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/quests/IHandoverQuestRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/quests/IHandoverQuestRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/quests/IHandoverQuestRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/quests/IListQuestsRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/quests/IListQuestsRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/quests/IListQuestsRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/quests/IListQuestsRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IAddOfferRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ragfair/IAddOfferRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IAddOfferRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ragfair/IAddOfferRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IExtendOfferRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ragfair/IExtendOfferRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IExtendOfferRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ragfair/IExtendOfferRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ragfair/IGetItemPriceResult.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IGetItemPriceResult.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ragfair/IGetOffersResult.d.ts similarity index 68% rename from TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IGetOffersResult.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IGetRagfairOfferByIdRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ragfair/IGetRagfairOfferByIdRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IGetRagfairOfferByIdRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ragfair/IGetRagfairOfferByIdRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ragfair/IRagfairOffer.d.ts similarity index 88% rename from TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IRagfairOffer.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ragfair/ISearchRequestData.d.ts similarity index 92% rename from TypeScript/22CustomAkiCommand/types/models/eft/ragfair/ISearchRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/repair/IRepairActionDataRequest.d.ts similarity index 69% rename from TypeScript/22CustomAkiCommand/types/models/eft/repair/IRepairActionDataRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts similarity index 69% rename from TypeScript/22CustomAkiCommand/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts similarity index 81% rename from TypeScript/22CustomAkiCommand/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/trade/IProcessSellTradeRequestData.d.ts similarity index 72% rename from TypeScript/22CustomAkiCommand/types/models/eft/trade/IProcessSellTradeRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts similarity index 63% rename from TypeScript/22CustomAkiCommand/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/weather/IWeatherData.d.ts similarity index 77% rename from TypeScript/22CustomAkiCommand/types/models/eft/weather/IWeatherData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/wishlist/IWishlistActionData.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/wishlist/IWishlistActionData.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/wishlist/IWishlistActionData.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/wishlist/IWishlistActionData.d.ts diff --git a/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsAid.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsAid.d.ts new file mode 100644 index 0000000..310d507 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsAid.d.ts @@ -0,0 +1,4 @@ +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsAid extends IWsNotificationEvent { + aid: number; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsAidNickname.d.ts similarity index 55% rename from TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsAidNickname.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsChatMessageReceived.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsChatMessageReceived.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupId.d.ts new file mode 100644 index 0000000..62a8c6f --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupId.d.ts @@ -0,0 +1,4 @@ +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsGroupId extends IWsNotificationEvent { + groupId: string; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts similarity index 64% rename from TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts new file mode 100644 index 0000000..b52a49c --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -0,0 +1,7 @@ +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { + requestId: string; + from: number; + members: IGroupCharacter[]; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts similarity index 53% rename from TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts new file mode 100644 index 0000000..ab76918 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -0,0 +1,5 @@ +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { + extendedProfile: IGroupCharacter; +} diff --git a/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts new file mode 100644 index 0000000..5fa52af --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -0,0 +1,5 @@ +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { + raidSettings: IRaidSettings; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsNotificationEvent.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsNotificationEvent.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsNotificationEvent.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ws/IWsNotificationEvent.d.ts diff --git a/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsPing.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsPing.d.ts new file mode 100644 index 0000000..d43aa03 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsPing.d.ts @@ -0,0 +1,3 @@ +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsPing extends IWsNotificationEvent { +} diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsRagfairOfferSold.d.ts similarity index 61% rename from TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsRagfairOfferSold.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsUserConfirmed.d.ts similarity index 60% rename from TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsUserConfirmed.d.ts rename to TypeScript/22CustomSptCommand/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/22CustomAkiCommand/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/AccountTypes.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/AccountTypes.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/AccountTypes.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/AccountTypes.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/AirdropType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/AirdropType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/AirdropType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/AirdropType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/AmmoTypes.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/AmmoTypes.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/AmmoTypes.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/AmmoTypes.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/BackendErrorCodes.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/BackendErrorCodes.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/BackendErrorCodes.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/BackendErrorCodes.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/BaseClasses.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/BaseClasses.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/BaseClasses.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/BaseClasses.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/BonusSkillType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/BonusSkillType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/BonusSkillType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/BonusSkillType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/BonusType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/BonusType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/BonusType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/BonusType.d.ts diff --git a/TypeScript/22CustomSptCommand/types/models/enums/ConfigTypes.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/ConfigTypes.d.ts new file mode 100644 index 0000000..646fd55 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/enums/ConfigTypes.d.ts @@ -0,0 +1,29 @@ +export declare enum ConfigTypes { + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" +} diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/ContainerTypes.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/ContainerTypes.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/ContainerTypes.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/ContainerTypes.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/DateTime.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/DateTime.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/DateTime.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/DateTime.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/ELocationName.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/ELocationName.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/ELocationName.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/ELocationName.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/EquipmentBuildType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/EquipmentBuildType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/EquipmentBuildType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/EquipmentBuildType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/EquipmentSlots.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/EquipmentSlots.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/EquipmentSlots.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/EquipmentSlots.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/ExitStatis.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/ExitStatis.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/ExitStatis.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/ExitStatis.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/GiftSenderType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/GiftSenderType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/GiftSenderType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/GiftSenderType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/GiftSentResult.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/GiftSentResult.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/GiftSentResult.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/GiftSentResult.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/HideoutAreas.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/HideoutAreas.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/HideoutAreas.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/HideoutAreas.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/HideoutEventActions.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/HideoutEventActions.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/HideoutEventActions.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/HideoutEventActions.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/ItemAddedResult.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/ItemAddedResult.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/ItemAddedResult.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/ItemAddedResult.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/ItemEventActions.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/ItemEventActions.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/ItemEventActions.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/ItemEventActions.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/MemberCategory.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/MemberCategory.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/MemberCategory.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/MemberCategory.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/MessageType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/MessageType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/MessageType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/MessageType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/ModSpawn.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/ModSpawn.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/ModSpawn.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/ModSpawn.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/Money.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/Money.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/Money.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/Money.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/NotificationEventType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/NotificationEventType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/NotificationEventType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/NotificationEventType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/PlayerRaidEndState.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/PlayerRaidEndState.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/PlayerRaidEndState.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/PlayerRaidEndState.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/PlayersSpawnPlace.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/PlayersSpawnPlace.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/PlayersSpawnPlace.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/PlayersSpawnPlace.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/ProfileStatus.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/ProfileStatus.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/ProfileStatus.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/ProfileStatus.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/QuestRewardType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/QuestRewardType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/QuestRewardType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/QuestRewardType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/QuestStatus.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/QuestStatus.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/QuestStatus.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/QuestStatus.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/QuestTypeEnum.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/QuestTypeEnum.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/QuestTypeEnum.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/QuestTypeEnum.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/RagfairSort.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/RagfairSort.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/RagfairSort.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/RagfairSort.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/RaidMode.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/RaidMode.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/RaidMode.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/RaidMode.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/RaidSettings/BotAmount.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/RaidSettings/BotAmount.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/RaidSettings/BotAmount.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/RaidSettings/BotAmount.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/RaidSettings/BotDifficulty.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/RaidSettings/BotDifficulty.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/RaidSettings/BotDifficulty.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/RaidSettings/BotDifficulty.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/RaidSettings/TimeAndWeather/CloudinessType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/RaidSettings/TimeAndWeather/CloudinessType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/RaidSettings/TimeAndWeather/CloudinessType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/RaidSettings/TimeAndWeather/CloudinessType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/RaidSettings/TimeAndWeather/FogType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/RaidSettings/TimeAndWeather/FogType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/RaidSettings/TimeAndWeather/FogType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/RaidSettings/TimeAndWeather/FogType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/RaidSettings/TimeAndWeather/RainType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/RaidSettings/TimeAndWeather/RainType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/RaidSettings/TimeAndWeather/RainType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/RaidSettings/TimeAndWeather/RainType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/RaidSettings/TimeAndWeather/TimeFlowType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/RaidSettings/TimeAndWeather/TimeFlowType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/RaidSettings/TimeAndWeather/TimeFlowType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/RaidSettings/TimeAndWeather/TimeFlowType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/RaidSettings/TimeAndWeather/WindSpeed.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/RaidSettings/TimeAndWeather/WindSpeed.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/RaidSettings/TimeAndWeather/WindSpeed.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/RaidSettings/TimeAndWeather/WindSpeed.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/Season.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/Season.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/Season.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/Season.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/SeasonalEventType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/SeasonalEventType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/SeasonalEventType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/SeasonalEventType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/SideType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/SideType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/SideType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/SideType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/SkillTypes.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/SkillTypes.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/SkillTypes.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/SkillTypes.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/TraderServiceType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/TraderServiceType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/TraderServiceType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/TraderServiceType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/Traders.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/Traders.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/Traders.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/Traders.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/WeaponSkillTypes.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/WeaponSkillTypes.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/WeaponSkillTypes.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/WeaponSkillTypes.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/WeaponTypes.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/WeaponTypes.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/WeaponTypes.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/WeaponTypes.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/WeatherType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/WeatherType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/WeatherType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/WeatherType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/WildSpawnTypeNumber.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/WildSpawnTypeNumber.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/WildSpawnTypeNumber.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/WildSpawnTypeNumber.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/WindDirection.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/WindDirection.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/WindDirection.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/WindDirection.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/hideout/QteActivityType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/hideout/QteActivityType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/hideout/QteActivityType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/hideout/QteActivityType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/hideout/QteEffectType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/hideout/QteEffectType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/hideout/QteEffectType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/hideout/QteEffectType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/hideout/QteResultType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/hideout/QteResultType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/hideout/QteResultType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/hideout/QteResultType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/hideout/QteRewardType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/hideout/QteRewardType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/hideout/QteRewardType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/hideout/QteRewardType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/hideout/QteType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/hideout/QteType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/hideout/QteType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/hideout/QteType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/enums/hideout/RequirementType.d.ts b/TypeScript/22CustomSptCommand/types/models/enums/hideout/RequirementType.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/enums/hideout/RequirementType.d.ts rename to TypeScript/22CustomSptCommand/types/models/enums/hideout/RequirementType.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/external/HttpFramework.d.ts b/TypeScript/22CustomSptCommand/types/models/external/HttpFramework.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/external/HttpFramework.d.ts rename to TypeScript/22CustomSptCommand/types/models/external/HttpFramework.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/external/IPostDBLoadMod.d.ts b/TypeScript/22CustomSptCommand/types/models/external/IPostDBLoadMod.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/external/IPostDBLoadMod.d.ts rename to TypeScript/22CustomSptCommand/types/models/external/IPostDBLoadMod.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/external/IPostDBLoadModAsync.d.ts b/TypeScript/22CustomSptCommand/types/models/external/IPostDBLoadModAsync.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/external/IPostDBLoadModAsync.d.ts rename to TypeScript/22CustomSptCommand/types/models/external/IPostDBLoadModAsync.d.ts diff --git a/TypeScript/22CustomSptCommand/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/22CustomSptCommand/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/22CustomSptCommand/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/22CustomSptCommand/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/22CustomSptCommand/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/22CustomSptCommand/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/22CustomSptCommand/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/22CustomSptCommand/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/external/tsyringe.d.ts b/TypeScript/22CustomSptCommand/types/models/external/tsyringe.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/external/tsyringe.d.ts rename to TypeScript/22CustomSptCommand/types/models/external/tsyringe.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/bindings/Route.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/bindings/Route.d.ts similarity index 66% rename from TypeScript/22CustomAkiCommand/types/models/spt/bindings/Route.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/bots/BotGenerationDetails.d.ts similarity index 94% rename from TypeScript/22CustomAkiCommand/types/models/spt/bots/BotGenerationDetails.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/22CustomSptCommand/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/bots/GenerateWeaponResult.d.ts new file mode 100644 index 0000000..d4a2526 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -0,0 +1,10 @@ +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +export declare class GenerateWeaponResult { + weapon: Item[]; + chosenAmmoTpl: string; + chosenUbglAmmoTpl: string; + weaponMods: Mods; + weaponTemplate: ITemplateItem; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/bots/IBotLootCache.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/bots/IBotLootCache.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/bots/IBotLootCache.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/bots/IBotLootCache.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/bots/IChooseRandomCompatibleModResult.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/bots/IChooseRandomCompatibleModResult.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/bots/IChooseRandomCompatibleModResult.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/bots/IChooseRandomCompatibleModResult.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/bots/IItemSpawnLimitSettings.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/bots/IItemSpawnLimitSettings.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/bots/IItemSpawnLimitSettings.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/bots/IItemSpawnLimitSettings.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IBotCallbacks.d.ts similarity index 50% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IBotCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IBundleCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IBundleCallbacks.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IBundleCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/IBundleCallbacks.d.ts diff --git a/TypeScript/22CustomSptCommand/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/ICustomizationCallbacks.d.ts new file mode 100644 index 0000000..8dba3d7 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -0,0 +1,12 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/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/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IDataCallbacks.d.ts similarity index 69% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IDataCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IDialogueCallbacks.d.ts similarity index 50% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IDialogueCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IGameCallbacks.d.ts similarity index 61% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IGameCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IHandbookCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IHandbookCallbacks.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IHandbookCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/IHandbookCallbacks.d.ts diff --git a/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IHealthCallbacks.d.ts new file mode 100644 index 0000000..c0244a1 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -0,0 +1,13 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +export interface IHealthCallbacks { + onLoad(sessionID: string): ISptProfile; + 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/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IHideoutCallbacks.d.ts similarity index 53% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IHideoutCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IHttpCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IHttpCallbacks.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IHttpCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/IHttpCallbacks.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IInraidCallbacks.d.ts similarity index 51% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IInraidCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IInsuranceCallbacks.d.ts new file mode 100644 index 0000000..2fae550 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -0,0 +1,10 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +export interface IInsuranceCallbacks { + onLoad(sessionID: string): ISptProfile; + getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; + insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; + update(secondsSinceLastRun: number): boolean; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IInventoryCallbacks.d.ts similarity index 50% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IInventoryCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IItemEventCallbacks.d.ts new file mode 100644 index 0000000..98fdb0b --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -0,0 +1,6 @@ +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +export interface IItemEventCallbacks { + handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/ILauncherCallbacks.d.ts similarity index 68% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ILauncherCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/22CustomSptCommand/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/ILocationCallbacks.d.ts new file mode 100644 index 0000000..e51c723 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -0,0 +1,8 @@ +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +export interface ILocationCallbacks { + getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; + getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IModCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IModCallbacks.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IModCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/IModCallbacks.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/INoteCallbacks.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/INoteCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/INotifierCallbacks.d.ts similarity index 70% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/INotifierCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts similarity index 59% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IPresetCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IPresetCallbacks.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IPresetCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/IPresetCallbacks.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IProfileCallbacks.d.ts similarity index 55% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IProfileCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IQuestCallbacks.d.ts new file mode 100644 index 0000000..1a688a7 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -0,0 +1,19 @@ +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/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/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IRagfairCallbacks.d.ts new file mode 100644 index 0000000..dcad1ee --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -0,0 +1,21 @@ +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +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/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IRepairCallbacks.d.ts new file mode 100644 index 0000000..e8d4fe1 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -0,0 +1,8 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ISaveCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/ISaveCallbacks.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ISaveCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/ISaveCallbacks.d.ts diff --git a/TypeScript/22CustomSptCommand/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/ITradeCallbacks.d.ts new file mode 100644 index 0000000..9b71d93 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -0,0 +1,8 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +export interface ITradeCallbacks { + processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; + processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/ITraderCallbacks.d.ts similarity index 60% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ITraderCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IWeatherCallbacks.d.ts new file mode 100644 index 0000000..5713469 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -0,0 +1,5 @@ +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +export interface IWeatherCallbacks { + getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IWishlistCallbacks.d.ts similarity index 51% rename from TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IWishlistCallbacks.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IAirdropConfig.d.ts similarity index 91% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IAirdropConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IBTRConfig.d.ts similarity index 84% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IBTRConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IBaseConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IBaseConfig.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IBaseConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IBaseConfig.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IBotConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IBotConfig.d.ts similarity index 96% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IBotConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IBotDurability.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IBotDurability.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IBotDurability.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IBotDurability.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/ICoreConfig.d.ts similarity index 95% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/ICoreConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IGiftsConfig.d.ts similarity index 69% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IGiftsConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IHealthConfig.d.ts similarity index 73% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IHealthConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IHideoutConfig.d.ts similarity index 83% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IHideoutConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IHttpConfig.d.ts similarity index 60% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IHttpConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IInRaidConfig.d.ts similarity index 93% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IInRaidConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IInsuranceConfig.d.ts similarity index 88% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IInsuranceConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IInventoryConfig.d.ts similarity index 87% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IInventoryConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IItemConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IItemConfig.d.ts similarity index 78% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IItemConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/ILocaleConfig.d.ts similarity index 81% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/ILocaleConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/ILocationConfig.d.ts similarity index 95% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/ILocationConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/ILootConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/ILootConfig.d.ts similarity index 65% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/ILootConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/ILostOnDeathConfig.d.ts similarity index 88% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/ILostOnDeathConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/22CustomSptCommand/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IMatchConfig.d.ts new file mode 100644 index 0000000..f6a9b4c --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IMatchConfig.d.ts @@ -0,0 +1,5 @@ +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +export interface IMatchConfig extends IBaseConfig { + kind: "spt-match"; + enabled: boolean; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IPlayerScavConfig.d.ts similarity index 78% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IPlayerScavConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IPmChatResponse.d.ts similarity index 78% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IPmChatResponse.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IPmcConfig.d.ts similarity index 92% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IPmcConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IQuestConfig.d.ts similarity index 92% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IQuestConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IRagfairConfig.d.ts similarity index 97% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IRagfairConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IRepairConfig.d.ts similarity index 90% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IRepairConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IScavCaseConfig.d.ts similarity index 84% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IScavCaseConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/ISeasonalEventConfig.d.ts similarity index 72% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/ISeasonalEventConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/ITraderConfig.d.ts similarity index 90% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/ITraderConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/config/IWeatherConfig.d.ts similarity index 72% rename from TypeScript/22CustomAkiCommand/types/models/spt/config/IWeatherConfig.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/controllers/IBotController.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/controllers/IBotController.d.ts similarity index 55% rename from TypeScript/22CustomAkiCommand/types/models/spt/controllers/IBotController.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/dialog/ISendMessageDetails.d.ts similarity index 87% rename from TypeScript/22CustomAkiCommand/types/models/spt/dialog/ISendMessageDetails.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/fence/ICreateFenceAssortsResult.d.ts similarity index 55% rename from TypeScript/22CustomAkiCommand/types/models/spt/fence/ICreateFenceAssortsResult.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/fence/IFenceAssortGenerationValues.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/fence/IFenceAssortGenerationValues.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/fence/IFenceAssortGenerationValues.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/fence/IFenceAssortGenerationValues.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/generators/IBotGenerator.d.ts similarity index 50% rename from TypeScript/22CustomAkiCommand/types/models/spt/generators/IBotGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/generators/ILocationGenerator.d.ts similarity index 75% rename from TypeScript/22CustomAkiCommand/types/models/spt/generators/ILocationGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/22CustomAkiCommand/types/models/spt/generators/IPMCLootGenerator.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/generators/IPMCLootGenerator.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/generators/IPMCLootGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/generators/IPMCLootGenerator.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/generators/IRagfairAssortGenerator.d.ts similarity index 53% rename from TypeScript/22CustomAkiCommand/types/models/spt/generators/IRagfairAssortGenerator.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/22CustomSptCommand/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/generators/IRagfairOfferGenerator.d.ts new file mode 100644 index 0000000..66d28e9 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -0,0 +1,6 @@ +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +export interface IRagfairOfferGenerator { + createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/location/IRaidChanges.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/location/IRaidChanges.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/location/IRaidChanges.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/location/IRaidChanges.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/logging/IClientLogRequest.d.ts similarity index 71% rename from TypeScript/22CustomAkiCommand/types/models/spt/logging/IClientLogRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/logging/LogBackgroundColor.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/logging/LogBackgroundColor.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/logging/LogBackgroundColor.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/logging/LogBackgroundColor.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/logging/LogLevel.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/logging/LogLevel.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/logging/LogLevel.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/logging/LogLevel.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/logging/LogTextColor.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/logging/LogTextColor.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/logging/LogTextColor.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/logging/LogTextColor.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/logging/SptLogger.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/logging/SptLogger.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/logging/SptLogger.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/logging/SptLogger.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/mod/IModLoader.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/mod/IModLoader.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/mod/IModLoader.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/mod/IModLoader.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/mod/IPackageJsonData.d.ts similarity index 95% rename from TypeScript/22CustomAkiCommand/types/models/spt/mod/IPackageJsonData.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/mod/NewItemDetails.d.ts similarity index 93% rename from TypeScript/22CustomAkiCommand/types/models/spt/mod/NewItemDetails.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/ragfair/IRagfairServerPrices.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/ragfair/IRagfairServerPrices.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/ragfair/IRagfairServerPrices.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/ragfair/IRagfairServerPrices.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/repeatable/IQuestTypePool.d.ts similarity index 92% rename from TypeScript/22CustomAkiCommand/types/models/spt/repeatable/IQuestTypePool.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/server/ExhaustableArray.d.ts similarity index 78% rename from TypeScript/22CustomAkiCommand/types/models/spt/server/ExhaustableArray.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/22CustomSptCommand/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/server/IDatabaseTables.d.ts new file mode 100644 index 0000000..3a98412 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/spt/server/IDatabaseTables.d.ts @@ -0,0 +1,60 @@ +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +export interface IDatabaseTables { + bots?: { + types: Record; + base: IBotBase; + core: IBotCore; + }; + hideout?: { + areas: IHideoutArea[]; + production: IHideoutProduction[]; + scavcase: IHideoutScavCase[]; + settings: IHideoutSettingsBase; + qte: IQteData[]; + }; + locales?: ILocaleBase; + locations?: ILocations; + match?: IMatch; + templates?: { + character: string[]; + items: Record; + quests: Record; + repeatableQuests: IRepeatableQuestDatabase; + 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; + /** Default equipment loadouts that show on main inventory screen */ + defaultEquipmentPresets: IDefaultEquipmentPreset[]; + /** Achievements */ + achievements: IAchievement[]; + }; + traders?: Record; + globals?: IGlobals; + server?: IServerBase; + settings?: ISettingsBase; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/server/ILocaleBase.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/server/ILocaleBase.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/server/ILocaleBase.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/server/ILocaleBase.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/server/ILocations.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/server/ILocations.d.ts similarity index 80% rename from TypeScript/22CustomAkiCommand/types/models/spt/server/ILocations.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/server/IServerBase.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/server/IServerBase.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/server/IServerBase.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/server/IServerBase.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/server/ISettingsBase.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/server/ISettingsBase.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/server/ISettingsBase.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/server/ISettingsBase.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/services/CustomPreset.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/services/CustomPreset.d.ts similarity index 53% rename from TypeScript/22CustomAkiCommand/types/models/spt/services/CustomPreset.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/22CustomSptCommand/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/services/CustomTraderAssortData.d.ts new file mode 100644 index 0000000..7ad6341 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/models/spt/services/CustomTraderAssortData.d.ts @@ -0,0 +1,6 @@ +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +export interface CustomTraderAssortData { + traderId: Traders; + assorts: ITraderAssort; +} diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/services/IInsuranceEquipmentPkg.d.ts similarity index 52% rename from TypeScript/22CustomAkiCommand/types/models/spt/services/IInsuranceEquipmentPkg.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/services/ITraderServiceModel.d.ts similarity index 84% rename from TypeScript/22CustomAkiCommand/types/models/spt/services/ITraderServiceModel.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/services/LootItem.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/services/LootItem.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/services/LootItem.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/services/LootItem.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/services/LootRequest.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/services/LootRequest.d.ts similarity index 87% rename from TypeScript/22CustomAkiCommand/types/models/spt/services/LootRequest.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/utils/IAsyncQueue.d.ts similarity index 55% rename from TypeScript/22CustomAkiCommand/types/models/spt/utils/IAsyncQueue.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/utils/ICommand.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/utils/ICommand.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/models/spt/utils/ICommand.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/utils/ICommand.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/models/spt/utils/ILogger.d.ts b/TypeScript/22CustomSptCommand/types/models/spt/utils/ILogger.d.ts similarity index 68% rename from TypeScript/22CustomAkiCommand/types/models/spt/utils/ILogger.d.ts rename to TypeScript/22CustomSptCommand/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/22CustomAkiCommand/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/22CustomSptCommand/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/22CustomAkiCommand/types/routers/EventOutputHolder.d.ts b/TypeScript/22CustomSptCommand/types/routers/EventOutputHolder.d.ts similarity index 82% rename from TypeScript/22CustomAkiCommand/types/routers/EventOutputHolder.d.ts rename to TypeScript/22CustomSptCommand/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/22CustomAkiCommand/types/routers/HttpRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/HttpRouter.d.ts similarity index 90% rename from TypeScript/22CustomAkiCommand/types/routers/HttpRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/HttpRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/22CustomAkiCommand/types/routers/ImageRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/ImageRouter.d.ts similarity index 73% rename from TypeScript/22CustomAkiCommand/types/routers/ImageRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/ImageRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/22CustomAkiCommand/types/routers/ItemEventRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/ItemEventRouter.d.ts similarity index 55% rename from TypeScript/22CustomAkiCommand/types/routers/ItemEventRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/22CustomAkiCommand/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/dynamic/BotDynamicRouter.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/routers/dynamic/BotDynamicRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/dynamic/BundleDynamicRouter.d.ts similarity index 57% rename from TypeScript/22CustomAkiCommand/types/routers/dynamic/BundleDynamicRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/dynamic/CustomizationDynamicRouter.d.ts similarity index 59% rename from TypeScript/22CustomAkiCommand/types/routers/dynamic/CustomizationDynamicRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/dynamic/DataDynamicRouter.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/routers/dynamic/DataDynamicRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/dynamic/HttpDynamicRouter.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/routers/dynamic/HttpDynamicRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/22CustomAkiCommand/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/dynamic/InraidDynamicRouter.d.ts similarity index 61% rename from TypeScript/22CustomAkiCommand/types/routers/dynamic/InraidDynamicRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/dynamic/LocationDynamicRouter.d.ts similarity index 62% rename from TypeScript/22CustomAkiCommand/types/routers/dynamic/LocationDynamicRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/dynamic/NotifierDynamicRouter.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/routers/dynamic/NotifierDynamicRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/dynamic/TraderDynamicRouter.d.ts similarity index 57% rename from TypeScript/22CustomAkiCommand/types/routers/dynamic/TraderDynamicRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/item_events/CustomizationItemEventRouter.d.ts similarity index 53% rename from TypeScript/22CustomAkiCommand/types/routers/item_events/CustomizationItemEventRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/item_events/HealthItemEventRouter.d.ts similarity index 52% rename from TypeScript/22CustomAkiCommand/types/routers/item_events/HealthItemEventRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/item_events/HideoutItemEventRouter.d.ts similarity index 54% rename from TypeScript/22CustomAkiCommand/types/routers/item_events/HideoutItemEventRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/item_events/InsuranceItemEventRouter.d.ts similarity index 52% rename from TypeScript/22CustomAkiCommand/types/routers/item_events/InsuranceItemEventRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/item_events/InventoryItemEventRouter.d.ts similarity index 55% rename from TypeScript/22CustomAkiCommand/types/routers/item_events/InventoryItemEventRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/22CustomSptCommand/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/item_events/NoteItemEventRouter.d.ts new file mode 100644 index 0000000..b415c3a --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/routers/item_events/NoteItemEventRouter.d.ts @@ -0,0 +1,11 @@ +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +export declare class NoteItemEventRouter extends ItemEventRouterDefinition { + protected noteCallbacks: NoteCallbacks; + constructor(noteCallbacks: NoteCallbacks); + getHandledRoutes(): HandledRoute[]; + handleItemEvent(url: string, pmcData: IPmcData, body: INoteActionData, sessionID: string): Promise; +} diff --git a/TypeScript/22CustomAkiCommand/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/item_events/QuestItemEventRouter.d.ts similarity index 51% rename from TypeScript/22CustomAkiCommand/types/routers/item_events/QuestItemEventRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/22CustomAkiCommand/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/item_events/RagfairItemEventRouter.d.ts similarity index 52% rename from TypeScript/22CustomAkiCommand/types/routers/item_events/RagfairItemEventRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/item_events/RepairItemEventRouter.d.ts similarity index 52% rename from TypeScript/22CustomAkiCommand/types/routers/item_events/RepairItemEventRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/item_events/TradeItemEventRouter.d.ts similarity index 51% rename from TypeScript/22CustomAkiCommand/types/routers/item_events/TradeItemEventRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/item_events/WishlistItemEventRouter.d.ts similarity index 52% rename from TypeScript/22CustomAkiCommand/types/routers/item_events/WishlistItemEventRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/22CustomSptCommand/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/save_load/HealthSaveLoadRouter.d.ts new file mode 100644 index 0000000..df04248 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -0,0 +1,6 @@ +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +export declare class HealthSaveLoadRouter extends SaveLoadRouter { + getHandledRoutes(): HandledRoute[]; + handleLoad(profile: ISptProfile): ISptProfile; +} diff --git a/TypeScript/22CustomSptCommand/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/save_load/InraidSaveLoadRouter.d.ts new file mode 100644 index 0000000..3ea61fa --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -0,0 +1,6 @@ +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +export declare class InraidSaveLoadRouter extends SaveLoadRouter { + getHandledRoutes(): HandledRoute[]; + handleLoad(profile: ISptProfile): ISptProfile; +} diff --git a/TypeScript/22CustomSptCommand/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/save_load/InsuranceSaveLoadRouter.d.ts new file mode 100644 index 0000000..ba8cb8a --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -0,0 +1,6 @@ +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { + getHandledRoutes(): HandledRoute[]; + handleLoad(profile: ISptProfile): ISptProfile; +} diff --git a/TypeScript/22CustomSptCommand/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/save_load/ProfileSaveLoadRouter.d.ts new file mode 100644 index 0000000..77d50bd --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -0,0 +1,6 @@ +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +export declare class ProfileSaveLoadRouter extends SaveLoadRouter { + getHandledRoutes(): HandledRoute[]; + handleLoad(profile: ISptProfile): ISptProfile; +} diff --git a/TypeScript/22CustomAkiCommand/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/22CustomSptCommand/types/routers/serializers/BundleSerializer.d.ts similarity index 67% rename from TypeScript/22CustomAkiCommand/types/routers/serializers/BundleSerializer.d.ts rename to TypeScript/22CustomSptCommand/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/22CustomAkiCommand/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/22CustomSptCommand/types/routers/serializers/ImageSerializer.d.ts similarity index 76% rename from TypeScript/22CustomAkiCommand/types/routers/serializers/ImageSerializer.d.ts rename to TypeScript/22CustomSptCommand/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/22CustomAkiCommand/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/22CustomSptCommand/types/routers/serializers/NotifySerializer.d.ts similarity index 67% rename from TypeScript/22CustomAkiCommand/types/routers/serializers/NotifySerializer.d.ts rename to TypeScript/22CustomSptCommand/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/AchievementStaticRouter.d.ts similarity index 59% rename from TypeScript/22CustomAkiCommand/types/routers/static/AchievementStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/BotStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/BotStaticRouter.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/routers/static/BotStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/BuildStaticRouter.d.ts similarity index 57% rename from TypeScript/22CustomAkiCommand/types/routers/static/BuildStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/BundleStaticRouter.d.ts similarity index 57% rename from TypeScript/22CustomAkiCommand/types/routers/static/BundleStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/ClientLogStaticRouter.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/routers/static/ClientLogStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/CustomizationStaticRouter.d.ts similarity index 59% rename from TypeScript/22CustomAkiCommand/types/routers/static/CustomizationStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/DataStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/DataStaticRouter.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/routers/static/DataStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/DialogStaticRouter.d.ts similarity index 57% rename from TypeScript/22CustomAkiCommand/types/routers/static/DialogStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/GameStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/GameStaticRouter.d.ts similarity index 56% rename from TypeScript/22CustomAkiCommand/types/routers/static/GameStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/HealthStaticRouter.d.ts similarity index 57% rename from TypeScript/22CustomAkiCommand/types/routers/static/HealthStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/InraidStaticRouter.d.ts similarity index 57% rename from TypeScript/22CustomAkiCommand/types/routers/static/InraidStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/InsuranceStaticRouter.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/routers/static/InsuranceStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/ItemEventStaticRouter.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/routers/static/ItemEventStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/LauncherStaticRouter.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/routers/static/LauncherStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/LocationStaticRouter.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/routers/static/LocationStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/MatchStaticRouter.d.ts similarity index 57% rename from TypeScript/22CustomAkiCommand/types/routers/static/MatchStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/NotifierStaticRouter.d.ts similarity index 58% rename from TypeScript/22CustomAkiCommand/types/routers/static/NotifierStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/ProfileStaticRouter.d.ts similarity index 57% rename from TypeScript/22CustomAkiCommand/types/routers/static/ProfileStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/QuestStaticRouter.d.ts similarity index 57% rename from TypeScript/22CustomAkiCommand/types/routers/static/QuestStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/RagfairStaticRouter.d.ts similarity index 57% rename from TypeScript/22CustomAkiCommand/types/routers/static/RagfairStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/TraderStaticRouter.d.ts similarity index 57% rename from TypeScript/22CustomAkiCommand/types/routers/static/TraderStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/22CustomSptCommand/types/routers/static/WeatherStaticRouter.d.ts similarity index 57% rename from TypeScript/22CustomAkiCommand/types/routers/static/WeatherStaticRouter.d.ts rename to TypeScript/22CustomSptCommand/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/22CustomAkiCommand/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/22CustomSptCommand/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/22CustomAkiCommand/types/servers/ConfigServer.d.ts b/TypeScript/22CustomSptCommand/types/servers/ConfigServer.d.ts similarity index 65% rename from TypeScript/22CustomAkiCommand/types/servers/ConfigServer.d.ts rename to TypeScript/22CustomSptCommand/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/22CustomAkiCommand/types/servers/ConfigServer.d.ts +++ b/TypeScript/22CustomSptCommand/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/22CustomAkiCommand/types/servers/DatabaseServer.d.ts b/TypeScript/22CustomSptCommand/types/servers/DatabaseServer.d.ts similarity index 67% rename from TypeScript/22CustomAkiCommand/types/servers/DatabaseServer.d.ts rename to TypeScript/22CustomSptCommand/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/22CustomAkiCommand/types/servers/DatabaseServer.d.ts +++ b/TypeScript/22CustomSptCommand/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/22CustomAkiCommand/types/servers/HttpServer.d.ts b/TypeScript/22CustomSptCommand/types/servers/HttpServer.d.ts similarity index 68% rename from TypeScript/22CustomAkiCommand/types/servers/HttpServer.d.ts rename to TypeScript/22CustomSptCommand/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/22CustomAkiCommand/types/servers/HttpServer.d.ts +++ b/TypeScript/22CustomSptCommand/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/22CustomAkiCommand/types/servers/RagfairServer.d.ts b/TypeScript/22CustomSptCommand/types/servers/RagfairServer.d.ts similarity index 63% rename from TypeScript/22CustomAkiCommand/types/servers/RagfairServer.d.ts rename to TypeScript/22CustomSptCommand/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/22CustomAkiCommand/types/servers/RagfairServer.d.ts +++ b/TypeScript/22CustomSptCommand/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/22CustomAkiCommand/types/servers/SaveServer.d.ts b/TypeScript/22CustomSptCommand/types/servers/SaveServer.d.ts similarity index 80% rename from TypeScript/22CustomAkiCommand/types/servers/SaveServer.d.ts rename to TypeScript/22CustomSptCommand/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/22CustomAkiCommand/types/servers/SaveServer.d.ts +++ b/TypeScript/22CustomSptCommand/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/22CustomAkiCommand/types/servers/WebSocketServer.d.ts b/TypeScript/22CustomSptCommand/types/servers/WebSocketServer.d.ts similarity index 75% rename from TypeScript/22CustomAkiCommand/types/servers/WebSocketServer.d.ts rename to TypeScript/22CustomSptCommand/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/22CustomAkiCommand/types/servers/WebSocketServer.d.ts +++ b/TypeScript/22CustomSptCommand/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/22CustomAkiCommand/types/servers/http/HttpMethods.d.ts b/TypeScript/22CustomSptCommand/types/servers/http/HttpMethods.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/servers/http/HttpMethods.d.ts rename to TypeScript/22CustomSptCommand/types/servers/http/HttpMethods.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/servers/http/IHttpListener.d.ts b/TypeScript/22CustomSptCommand/types/servers/http/IHttpListener.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/servers/http/IHttpListener.d.ts rename to TypeScript/22CustomSptCommand/types/servers/http/IHttpListener.d.ts diff --git a/TypeScript/22CustomSptCommand/types/servers/http/SptHttpListener.d.ts b/TypeScript/22CustomSptCommand/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/22CustomAkiCommand/types/servers/ws/IWebSocketConnectionHandler.d.ts b/TypeScript/22CustomSptCommand/types/servers/ws/IWebSocketConnectionHandler.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/servers/ws/IWebSocketConnectionHandler.d.ts rename to TypeScript/22CustomSptCommand/types/servers/ws/IWebSocketConnectionHandler.d.ts diff --git a/TypeScript/22CustomSptCommand/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/22CustomSptCommand/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/22CustomSptCommand/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/22CustomSptCommand/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/22CustomSptCommand/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/22CustomSptCommand/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/22CustomSptCommand/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/22CustomAkiCommand/types/services/BotEquipmentFilterService.d.ts b/TypeScript/22CustomSptCommand/types/services/BotEquipmentFilterService.d.ts similarity index 90% rename from TypeScript/22CustomAkiCommand/types/services/BotEquipmentFilterService.d.ts rename to TypeScript/22CustomSptCommand/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/22CustomAkiCommand/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/22CustomAkiCommand/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/22CustomSptCommand/types/services/BotEquipmentModPoolService.d.ts similarity index 80% rename from TypeScript/22CustomAkiCommand/types/services/BotEquipmentModPoolService.d.ts rename to TypeScript/22CustomSptCommand/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/22CustomAkiCommand/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/22CustomAkiCommand/types/services/BotGenerationCacheService.d.ts b/TypeScript/22CustomSptCommand/types/services/BotGenerationCacheService.d.ts similarity index 83% rename from TypeScript/22CustomAkiCommand/types/services/BotGenerationCacheService.d.ts rename to TypeScript/22CustomSptCommand/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/22CustomAkiCommand/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/22CustomAkiCommand/types/services/BotLootCacheService.d.ts b/TypeScript/22CustomSptCommand/types/services/BotLootCacheService.d.ts similarity index 82% rename from TypeScript/22CustomAkiCommand/types/services/BotLootCacheService.d.ts rename to TypeScript/22CustomSptCommand/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/22CustomAkiCommand/types/services/BotLootCacheService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/22CustomAkiCommand/types/services/BotWeaponModLimitService.d.ts b/TypeScript/22CustomSptCommand/types/services/BotWeaponModLimitService.d.ts similarity index 84% rename from TypeScript/22CustomAkiCommand/types/services/BotWeaponModLimitService.d.ts rename to TypeScript/22CustomSptCommand/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/22CustomAkiCommand/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/22CustomAkiCommand/types/services/CustomLocationWaveService.d.ts b/TypeScript/22CustomSptCommand/types/services/CustomLocationWaveService.d.ts similarity index 75% rename from TypeScript/22CustomAkiCommand/types/services/CustomLocationWaveService.d.ts rename to TypeScript/22CustomSptCommand/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/22CustomAkiCommand/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/22CustomAkiCommand/types/services/FenceService.d.ts b/TypeScript/22CustomSptCommand/types/services/FenceService.d.ts similarity index 91% rename from TypeScript/22CustomAkiCommand/types/services/FenceService.d.ts rename to TypeScript/22CustomSptCommand/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/22CustomAkiCommand/types/services/FenceService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/22CustomAkiCommand/types/services/GiftService.d.ts b/TypeScript/22CustomSptCommand/types/services/GiftService.d.ts similarity index 65% rename from TypeScript/22CustomAkiCommand/types/services/GiftService.d.ts rename to TypeScript/22CustomSptCommand/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/22CustomAkiCommand/types/services/GiftService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/22CustomAkiCommand/types/services/InsuranceService.d.ts b/TypeScript/22CustomSptCommand/types/services/InsuranceService.d.ts similarity index 81% rename from TypeScript/22CustomAkiCommand/types/services/InsuranceService.d.ts rename to TypeScript/22CustomSptCommand/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/22CustomAkiCommand/types/services/InsuranceService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/22CustomAkiCommand/types/services/ItemBaseClassService.d.ts b/TypeScript/22CustomSptCommand/types/services/ItemBaseClassService.d.ts similarity index 85% rename from TypeScript/22CustomAkiCommand/types/services/ItemBaseClassService.d.ts rename to TypeScript/22CustomSptCommand/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/22CustomAkiCommand/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/22CustomAkiCommand/types/services/ItemFilterService.d.ts b/TypeScript/22CustomSptCommand/types/services/ItemFilterService.d.ts similarity index 85% rename from TypeScript/22CustomAkiCommand/types/services/ItemFilterService.d.ts rename to TypeScript/22CustomSptCommand/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/22CustomAkiCommand/types/services/ItemFilterService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/22CustomAkiCommand/types/services/LocaleService.d.ts b/TypeScript/22CustomSptCommand/types/services/LocaleService.d.ts similarity index 87% rename from TypeScript/22CustomAkiCommand/types/services/LocaleService.d.ts rename to TypeScript/22CustomSptCommand/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/22CustomAkiCommand/types/services/LocaleService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/22CustomAkiCommand/types/services/LocalisationService.d.ts b/TypeScript/22CustomSptCommand/types/services/LocalisationService.d.ts similarity index 80% rename from TypeScript/22CustomAkiCommand/types/services/LocalisationService.d.ts rename to TypeScript/22CustomSptCommand/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/22CustomAkiCommand/types/services/LocalisationService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/22CustomAkiCommand/types/services/MailSendService.d.ts b/TypeScript/22CustomSptCommand/types/services/MailSendService.d.ts similarity index 86% rename from TypeScript/22CustomAkiCommand/types/services/MailSendService.d.ts rename to TypeScript/22CustomSptCommand/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/22CustomAkiCommand/types/services/MailSendService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/22CustomSptCommand/types/services/MatchBotDetailsCacheService.d.ts similarity index 81% rename from TypeScript/22CustomAkiCommand/types/services/MatchBotDetailsCacheService.d.ts rename to TypeScript/22CustomSptCommand/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/22CustomAkiCommand/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/22CustomAkiCommand/types/services/MatchLocationService.d.ts b/TypeScript/22CustomSptCommand/types/services/MatchLocationService.d.ts similarity index 68% rename from TypeScript/22CustomAkiCommand/types/services/MatchLocationService.d.ts rename to TypeScript/22CustomSptCommand/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/22CustomAkiCommand/types/services/MatchLocationService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/22CustomAkiCommand/types/services/ModCompilerService.d.ts b/TypeScript/22CustomSptCommand/types/services/ModCompilerService.d.ts similarity index 76% rename from TypeScript/22CustomAkiCommand/types/services/ModCompilerService.d.ts rename to TypeScript/22CustomSptCommand/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/22CustomAkiCommand/types/services/ModCompilerService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/22CustomAkiCommand/types/services/NotificationService.d.ts b/TypeScript/22CustomSptCommand/types/services/NotificationService.d.ts similarity index 87% rename from TypeScript/22CustomAkiCommand/types/services/NotificationService.d.ts rename to TypeScript/22CustomSptCommand/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/22CustomAkiCommand/types/services/NotificationService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/22CustomAkiCommand/types/services/OpenZoneService.d.ts b/TypeScript/22CustomSptCommand/types/services/OpenZoneService.d.ts similarity index 68% rename from TypeScript/22CustomAkiCommand/types/services/OpenZoneService.d.ts rename to TypeScript/22CustomSptCommand/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/22CustomAkiCommand/types/services/OpenZoneService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/22CustomAkiCommand/types/services/PaymentService.d.ts b/TypeScript/22CustomSptCommand/types/services/PaymentService.d.ts similarity index 77% rename from TypeScript/22CustomAkiCommand/types/services/PaymentService.d.ts rename to TypeScript/22CustomSptCommand/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/22CustomAkiCommand/types/services/PaymentService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/services/PlayerService.d.ts b/TypeScript/22CustomSptCommand/types/services/PlayerService.d.ts similarity index 60% rename from TypeScript/22CustomAkiCommand/types/services/PlayerService.d.ts rename to TypeScript/22CustomSptCommand/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/22CustomAkiCommand/types/services/PlayerService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/22CustomAkiCommand/types/services/PmcChatResponseService.d.ts b/TypeScript/22CustomSptCommand/types/services/PmcChatResponseService.d.ts similarity index 81% rename from TypeScript/22CustomAkiCommand/types/services/PmcChatResponseService.d.ts rename to TypeScript/22CustomSptCommand/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/22CustomAkiCommand/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/services/ProfileActivityService.d.ts b/TypeScript/22CustomSptCommand/types/services/ProfileActivityService.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/services/ProfileActivityService.d.ts rename to TypeScript/22CustomSptCommand/types/services/ProfileActivityService.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/services/ProfileFixerService.d.ts b/TypeScript/22CustomSptCommand/types/services/ProfileFixerService.d.ts similarity index 81% rename from TypeScript/22CustomAkiCommand/types/services/ProfileFixerService.d.ts rename to TypeScript/22CustomSptCommand/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/22CustomAkiCommand/types/services/ProfileFixerService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/22CustomAkiCommand/types/services/ProfileSnapshotService.d.ts b/TypeScript/22CustomSptCommand/types/services/ProfileSnapshotService.d.ts similarity index 69% rename from TypeScript/22CustomAkiCommand/types/services/ProfileSnapshotService.d.ts rename to TypeScript/22CustomSptCommand/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/22CustomAkiCommand/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/22CustomAkiCommand/types/services/RagfairCategoriesService.d.ts b/TypeScript/22CustomSptCommand/types/services/RagfairCategoriesService.d.ts similarity index 70% rename from TypeScript/22CustomAkiCommand/types/services/RagfairCategoriesService.d.ts rename to TypeScript/22CustomSptCommand/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/22CustomAkiCommand/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/22CustomAkiCommand/types/services/RagfairLinkedItemService.d.ts b/TypeScript/22CustomSptCommand/types/services/RagfairLinkedItemService.d.ts similarity index 85% rename from TypeScript/22CustomAkiCommand/types/services/RagfairLinkedItemService.d.ts rename to TypeScript/22CustomSptCommand/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/22CustomAkiCommand/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/22CustomAkiCommand/types/services/RagfairOfferService.d.ts b/TypeScript/22CustomSptCommand/types/services/RagfairOfferService.d.ts similarity index 75% rename from TypeScript/22CustomAkiCommand/types/services/RagfairOfferService.d.ts rename to TypeScript/22CustomSptCommand/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/22CustomAkiCommand/types/services/RagfairOfferService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/22CustomAkiCommand/types/services/RagfairPriceService.d.ts b/TypeScript/22CustomSptCommand/types/services/RagfairPriceService.d.ts similarity index 80% rename from TypeScript/22CustomAkiCommand/types/services/RagfairPriceService.d.ts rename to TypeScript/22CustomSptCommand/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/22CustomAkiCommand/types/services/RagfairPriceService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/22CustomAkiCommand/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/22CustomSptCommand/types/services/RagfairRequiredItemsService.d.ts similarity index 60% rename from TypeScript/22CustomAkiCommand/types/services/RagfairRequiredItemsService.d.ts rename to TypeScript/22CustomSptCommand/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/22CustomAkiCommand/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/22CustomAkiCommand/types/services/RagfairTaxService.d.ts b/TypeScript/22CustomSptCommand/types/services/RagfairTaxService.d.ts similarity index 71% rename from TypeScript/22CustomAkiCommand/types/services/RagfairTaxService.d.ts rename to TypeScript/22CustomSptCommand/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/22CustomAkiCommand/types/services/RagfairTaxService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/22CustomAkiCommand/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/22CustomSptCommand/types/services/RaidTimeAdjustmentService.d.ts similarity index 75% rename from TypeScript/22CustomAkiCommand/types/services/RaidTimeAdjustmentService.d.ts rename to TypeScript/22CustomSptCommand/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/22CustomAkiCommand/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/22CustomAkiCommand/types/services/RepairService.d.ts b/TypeScript/22CustomSptCommand/types/services/RepairService.d.ts similarity index 81% rename from TypeScript/22CustomAkiCommand/types/services/RepairService.d.ts rename to TypeScript/22CustomSptCommand/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/22CustomAkiCommand/types/services/RepairService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/22CustomAkiCommand/types/services/SeasonalEventService.d.ts b/TypeScript/22CustomSptCommand/types/services/SeasonalEventService.d.ts similarity index 84% rename from TypeScript/22CustomAkiCommand/types/services/SeasonalEventService.d.ts rename to TypeScript/22CustomSptCommand/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/22CustomAkiCommand/types/services/SeasonalEventService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/22CustomAkiCommand/types/services/TraderAssortService.d.ts b/TypeScript/22CustomSptCommand/types/services/TraderAssortService.d.ts similarity index 84% rename from TypeScript/22CustomAkiCommand/types/services/TraderAssortService.d.ts rename to TypeScript/22CustomSptCommand/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/22CustomAkiCommand/types/services/TraderAssortService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/22CustomAkiCommand/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/22CustomSptCommand/types/services/TraderPurchasePersisterService.d.ts similarity index 77% rename from TypeScript/22CustomAkiCommand/types/services/TraderPurchasePersisterService.d.ts rename to TypeScript/22CustomSptCommand/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/22CustomAkiCommand/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/22CustomAkiCommand/types/services/TraderServicesService.d.ts b/TypeScript/22CustomSptCommand/types/services/TraderServicesService.d.ts similarity index 53% rename from TypeScript/22CustomAkiCommand/types/services/TraderServicesService.d.ts rename to TypeScript/22CustomSptCommand/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/22CustomAkiCommand/types/services/TraderServicesService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/22CustomAkiCommand/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/22CustomSptCommand/types/services/cache/BundleHashCacheService.d.ts similarity index 76% rename from TypeScript/22CustomAkiCommand/types/services/cache/BundleHashCacheService.d.ts rename to TypeScript/22CustomSptCommand/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/22CustomAkiCommand/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/services/cache/ModHashCacheService.d.ts b/TypeScript/22CustomSptCommand/types/services/cache/ModHashCacheService.d.ts similarity index 76% rename from TypeScript/22CustomAkiCommand/types/services/cache/ModHashCacheService.d.ts rename to TypeScript/22CustomSptCommand/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/22CustomAkiCommand/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/services/mod/CustomItemService.d.ts b/TypeScript/22CustomSptCommand/types/services/mod/CustomItemService.d.ts similarity index 87% rename from TypeScript/22CustomAkiCommand/types/services/mod/CustomItemService.d.ts rename to TypeScript/22CustomSptCommand/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/22CustomAkiCommand/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/22CustomSptCommand/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts similarity index 74% rename from TypeScript/22CustomAkiCommand/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts rename to TypeScript/22CustomSptCommand/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/22CustomAkiCommand/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/22CustomAkiCommand/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/22CustomSptCommand/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts similarity index 83% rename from TypeScript/22CustomAkiCommand/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts rename to TypeScript/22CustomSptCommand/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/22CustomAkiCommand/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/22CustomAkiCommand/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/22CustomSptCommand/types/services/mod/httpListener/HttpListenerMod.d.ts similarity index 88% rename from TypeScript/22CustomAkiCommand/types/services/mod/httpListener/HttpListenerMod.d.ts rename to TypeScript/22CustomSptCommand/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/22CustomAkiCommand/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/22CustomAkiCommand/types/services/mod/httpListener/HttpListenerModService.d.ts b/TypeScript/22CustomSptCommand/types/services/mod/httpListener/HttpListenerModService.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/services/mod/httpListener/HttpListenerModService.d.ts rename to TypeScript/22CustomSptCommand/types/services/mod/httpListener/HttpListenerModService.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/services/mod/image/ImageRouteService.d.ts b/TypeScript/22CustomSptCommand/types/services/mod/image/ImageRouteService.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/services/mod/image/ImageRouteService.d.ts rename to TypeScript/22CustomSptCommand/types/services/mod/image/ImageRouteService.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/22CustomSptCommand/types/services/mod/onLoad/OnLoadMod.d.ts similarity index 84% rename from TypeScript/22CustomAkiCommand/types/services/mod/onLoad/OnLoadMod.d.ts rename to TypeScript/22CustomSptCommand/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/22CustomAkiCommand/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/22CustomAkiCommand/types/services/mod/onLoad/OnLoadModService.d.ts b/TypeScript/22CustomSptCommand/types/services/mod/onLoad/OnLoadModService.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/services/mod/onLoad/OnLoadModService.d.ts rename to TypeScript/22CustomSptCommand/types/services/mod/onLoad/OnLoadModService.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/22CustomSptCommand/types/services/mod/onUpdate/OnUpdateMod.d.ts similarity index 86% rename from TypeScript/22CustomAkiCommand/types/services/mod/onUpdate/OnUpdateMod.d.ts rename to TypeScript/22CustomSptCommand/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/22CustomAkiCommand/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/22CustomAkiCommand/types/services/mod/onUpdate/OnUpdateModService.d.ts b/TypeScript/22CustomSptCommand/types/services/mod/onUpdate/OnUpdateModService.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/services/mod/onUpdate/OnUpdateModService.d.ts rename to TypeScript/22CustomSptCommand/types/services/mod/onUpdate/OnUpdateModService.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/22CustomSptCommand/types/services/mod/staticRouter/StaticRouterMod.d.ts similarity index 74% rename from TypeScript/22CustomAkiCommand/types/services/mod/staticRouter/StaticRouterMod.d.ts rename to TypeScript/22CustomSptCommand/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/22CustomAkiCommand/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/22CustomAkiCommand/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/22CustomSptCommand/types/services/mod/staticRouter/StaticRouterModService.d.ts similarity index 84% rename from TypeScript/22CustomAkiCommand/types/services/mod/staticRouter/StaticRouterModService.d.ts rename to TypeScript/22CustomSptCommand/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/22CustomAkiCommand/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/22CustomSptCommand/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/22CustomAkiCommand/types/utils/App.d.ts b/TypeScript/22CustomSptCommand/types/utils/App.d.ts similarity index 61% rename from TypeScript/22CustomAkiCommand/types/utils/App.d.ts rename to TypeScript/22CustomSptCommand/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/App.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/22CustomAkiCommand/types/utils/AsyncQueue.d.ts b/TypeScript/22CustomSptCommand/types/utils/AsyncQueue.d.ts similarity index 55% rename from TypeScript/22CustomAkiCommand/types/utils/AsyncQueue.d.ts rename to TypeScript/22CustomSptCommand/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/AsyncQueue.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/22CustomAkiCommand/types/utils/CompareUtil.d.ts b/TypeScript/22CustomSptCommand/types/utils/CompareUtil.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/utils/CompareUtil.d.ts rename to TypeScript/22CustomSptCommand/types/utils/CompareUtil.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/utils/DatabaseImporter.d.ts b/TypeScript/22CustomSptCommand/types/utils/DatabaseImporter.d.ts similarity index 70% rename from TypeScript/22CustomAkiCommand/types/utils/DatabaseImporter.d.ts rename to TypeScript/22CustomSptCommand/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/22CustomAkiCommand/types/utils/EncodingUtil.d.ts b/TypeScript/22CustomSptCommand/types/utils/EncodingUtil.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/utils/EncodingUtil.d.ts rename to TypeScript/22CustomSptCommand/types/utils/EncodingUtil.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/utils/HashUtil.d.ts b/TypeScript/22CustomSptCommand/types/utils/HashUtil.d.ts similarity index 93% rename from TypeScript/22CustomAkiCommand/types/utils/HashUtil.d.ts rename to TypeScript/22CustomSptCommand/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/HashUtil.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/22CustomAkiCommand/types/utils/HttpFileUtil.d.ts b/TypeScript/22CustomSptCommand/types/utils/HttpFileUtil.d.ts similarity index 79% rename from TypeScript/22CustomAkiCommand/types/utils/HttpFileUtil.d.ts rename to TypeScript/22CustomSptCommand/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/22CustomAkiCommand/types/utils/HttpResponseUtil.d.ts b/TypeScript/22CustomSptCommand/types/utils/HttpResponseUtil.d.ts similarity index 71% rename from TypeScript/22CustomAkiCommand/types/utils/HttpResponseUtil.d.ts rename to TypeScript/22CustomSptCommand/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/22CustomAkiCommand/types/utils/ImporterUtil.d.ts b/TypeScript/22CustomSptCommand/types/utils/ImporterUtil.d.ts similarity index 92% rename from TypeScript/22CustomAkiCommand/types/utils/ImporterUtil.d.ts rename to TypeScript/22CustomSptCommand/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/ImporterUtil.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/22CustomAkiCommand/types/utils/JsonUtil.d.ts b/TypeScript/22CustomSptCommand/types/utils/JsonUtil.d.ts similarity index 95% rename from TypeScript/22CustomAkiCommand/types/utils/JsonUtil.d.ts rename to TypeScript/22CustomSptCommand/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/JsonUtil.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/22CustomAkiCommand/types/utils/MathUtil.d.ts b/TypeScript/22CustomSptCommand/types/utils/MathUtil.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/utils/MathUtil.d.ts rename to TypeScript/22CustomSptCommand/types/utils/MathUtil.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/utils/ObjectId.d.ts b/TypeScript/22CustomSptCommand/types/utils/ObjectId.d.ts similarity index 89% rename from TypeScript/22CustomAkiCommand/types/utils/ObjectId.d.ts rename to TypeScript/22CustomSptCommand/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/ObjectId.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/22CustomAkiCommand/types/utils/RagfairOfferHolder.d.ts b/TypeScript/22CustomSptCommand/types/utils/RagfairOfferHolder.d.ts similarity index 90% rename from TypeScript/22CustomAkiCommand/types/utils/RagfairOfferHolder.d.ts rename to TypeScript/22CustomSptCommand/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/22CustomAkiCommand/types/utils/RandomUtil.d.ts b/TypeScript/22CustomSptCommand/types/utils/RandomUtil.d.ts similarity index 98% rename from TypeScript/22CustomAkiCommand/types/utils/RandomUtil.d.ts rename to TypeScript/22CustomSptCommand/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/RandomUtil.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/22CustomAkiCommand/types/utils/TimeUtil.d.ts b/TypeScript/22CustomSptCommand/types/utils/TimeUtil.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/utils/TimeUtil.d.ts rename to TypeScript/22CustomSptCommand/types/utils/TimeUtil.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/utils/VFS.d.ts b/TypeScript/22CustomSptCommand/types/utils/VFS.d.ts similarity index 97% rename from TypeScript/22CustomAkiCommand/types/utils/VFS.d.ts rename to TypeScript/22CustomSptCommand/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/VFS.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/22CustomAkiCommand/types/utils/Watermark.d.ts b/TypeScript/22CustomSptCommand/types/utils/Watermark.d.ts similarity index 82% rename from TypeScript/22CustomAkiCommand/types/utils/Watermark.d.ts rename to TypeScript/22CustomSptCommand/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/Watermark.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/22CustomAkiCommand/types/utils/cloners/ICloner.d.ts b/TypeScript/22CustomSptCommand/types/utils/cloners/ICloner.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/utils/cloners/ICloner.d.ts rename to TypeScript/22CustomSptCommand/types/utils/cloners/ICloner.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/utils/cloners/JsonCloner.d.ts b/TypeScript/22CustomSptCommand/types/utils/cloners/JsonCloner.d.ts similarity index 55% rename from TypeScript/22CustomAkiCommand/types/utils/cloners/JsonCloner.d.ts rename to TypeScript/22CustomSptCommand/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/22CustomAkiCommand/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/22CustomSptCommand/types/utils/cloners/RecursiveCloner.d.ts similarity index 64% rename from TypeScript/22CustomAkiCommand/types/utils/cloners/RecursiveCloner.d.ts rename to TypeScript/22CustomSptCommand/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/22CustomAkiCommand/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/22CustomSptCommand/types/utils/cloners/StructuredCloner.d.ts similarity index 57% rename from TypeScript/22CustomAkiCommand/types/utils/cloners/StructuredCloner.d.ts rename to TypeScript/22CustomSptCommand/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/22CustomAkiCommand/types/utils/collections/lists/LinkedList.d.ts b/TypeScript/22CustomSptCommand/types/utils/collections/lists/LinkedList.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/utils/collections/lists/LinkedList.d.ts rename to TypeScript/22CustomSptCommand/types/utils/collections/lists/LinkedList.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/utils/collections/lists/Nodes.d.ts b/TypeScript/22CustomSptCommand/types/utils/collections/lists/Nodes.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/utils/collections/lists/Nodes.d.ts rename to TypeScript/22CustomSptCommand/types/utils/collections/lists/Nodes.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/utils/collections/queue/Queue.d.ts b/TypeScript/22CustomSptCommand/types/utils/collections/queue/Queue.d.ts similarity index 100% rename from TypeScript/22CustomAkiCommand/types/utils/collections/queue/Queue.d.ts rename to TypeScript/22CustomSptCommand/types/utils/collections/queue/Queue.d.ts diff --git a/TypeScript/22CustomAkiCommand/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/22CustomSptCommand/types/utils/logging/AbstractWinstonLogger.d.ts similarity index 84% rename from TypeScript/22CustomAkiCommand/types/utils/logging/AbstractWinstonLogger.d.ts rename to TypeScript/22CustomSptCommand/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/22CustomAkiCommand/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/22CustomSptCommand/types/utils/logging/WinstonMainLogger.d.ts similarity index 69% rename from TypeScript/22CustomAkiCommand/types/utils/logging/WinstonMainLogger.d.ts rename to TypeScript/22CustomSptCommand/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/22CustomAkiCommand/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/22CustomSptCommand/types/utils/logging/WinstonRequestLogger.d.ts similarity index 71% rename from TypeScript/22CustomAkiCommand/types/utils/logging/WinstonRequestLogger.d.ts rename to TypeScript/22CustomSptCommand/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/22CustomAkiCommand/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/22CustomSptCommand/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/23CustomAbstractChatBot/README.md b/TypeScript/23CustomAbstractChatBot/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/23CustomAbstractChatBot/README.md +++ b/TypeScript/23CustomAbstractChatBot/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/23CustomAbstractChatBot/package.json b/TypeScript/23CustomAbstractChatBot/package.json index 140bb8e..c27d491 100644 --- a/TypeScript/23CustomAbstractChatBot/package.json +++ b/TypeScript/23CustomAbstractChatBot/package.json @@ -1,7 +1,7 @@ { "name": "CustomAbstractChatBot", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/23CustomAbstractChatBot/src/AnotherCoolCommand.ts b/TypeScript/23CustomAbstractChatBot/src/AnotherCoolCommand.ts index b598ea7..c1afe5e 100644 --- a/TypeScript/23CustomAbstractChatBot/src/AnotherCoolCommand.ts +++ b/TypeScript/23CustomAbstractChatBot/src/AnotherCoolCommand.ts @@ -1,9 +1,9 @@ import { inject, injectable } from "tsyringe"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { MailSendService } from "@spt/services/MailSendService"; // \/ dont forger this annotation here! @injectable() diff --git a/TypeScript/23CustomAbstractChatBot/src/CustomSimpleChatBot.ts b/TypeScript/23CustomAbstractChatBot/src/CustomSimpleChatBot.ts index d8fe7aa..2e9eaf7 100644 --- a/TypeScript/23CustomAbstractChatBot/src/CustomSimpleChatBot.ts +++ b/TypeScript/23CustomAbstractChatBot/src/CustomSimpleChatBot.ts @@ -1,11 +1,11 @@ import { inject, injectAll, injectable } from "tsyringe"; -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; // \/ dont forger this annotation here! @injectable() diff --git a/TypeScript/23CustomAbstractChatBot/src/MyCoolCommand.ts b/TypeScript/23CustomAbstractChatBot/src/MyCoolCommand.ts index 49696e2..44ef6b0 100644 --- a/TypeScript/23CustomAbstractChatBot/src/MyCoolCommand.ts +++ b/TypeScript/23CustomAbstractChatBot/src/MyCoolCommand.ts @@ -1,9 +1,9 @@ import { inject, injectable } from "tsyringe"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { MailSendService } from "@spt/services/MailSendService"; // \/ dont forger this annotation here! @injectable() diff --git a/TypeScript/23CustomAbstractChatBot/src/mod.ts b/TypeScript/23CustomAbstractChatBot/src/mod.ts index cea8a8c..f13cd80 100644 --- a/TypeScript/23CustomAbstractChatBot/src/mod.ts +++ b/TypeScript/23CustomAbstractChatBot/src/mod.ts @@ -1,7 +1,7 @@ import { DependencyContainer } from "tsyringe"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { DialogueController } from "@spt-aki/controllers/DialogueController"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { DialogueController } from "@spt/controllers/DialogueController"; import { CustomSimpleChatBot } from "./CustomSimpleChatBot"; import { MyCoolCommand } from "./MyCoolCommand"; import { AnotherCoolCommand } from "./AnotherCoolCommand"; diff --git a/TypeScript/23CustomAbstractChatBot/tsconfig.json b/TypeScript/23CustomAbstractChatBot/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/23CustomAbstractChatBot/tsconfig.json +++ b/TypeScript/23CustomAbstractChatBot/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/23CustomAbstractChatBot/types/ErrorHandler.d.ts b/TypeScript/23CustomAbstractChatBot/types/ErrorHandler.d.ts index 69b0bcd..33c0de6 100644 --- a/TypeScript/23CustomAbstractChatBot/types/ErrorHandler.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/ErrorHandler.d.ts @@ -2,5 +2,5 @@ export declare class ErrorHandler { private logger; private readLine; constructor(); - handleCriticalError(err: any): void; + handleCriticalError(err: Error): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/Program.d.ts b/TypeScript/23CustomAbstractChatBot/types/Program.d.ts index afe5216..f2b65df 100644 --- a/TypeScript/23CustomAbstractChatBot/types/Program.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/Program.d.ts @@ -1,5 +1,5 @@ export declare class Program { private errorHandler; constructor(); - start(): void; + start(): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/AchievementCallbacks.d.ts new file mode 100644 index 0000000..4fb7125 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/AchievementCallbacks.d.ts @@ -0,0 +1,21 @@ +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +export declare class AchievementCallbacks { + protected achievementController: AchievementController; + protected profileController: ProfileController; + protected httpResponse: HttpResponseUtil; + constructor(achievementController: AchievementController, profileController: ProfileController, httpResponse: HttpResponseUtil); + /** + * Handle client/achievement/list + */ + getAchievements(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; + /** + * Handle client/achievement/statistic + */ + statistic(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/BotCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/BotCallbacks.d.ts index d406147..43abcfc 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/BotCallbacks.d.ts @@ -1,9 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; @@ -19,11 +20,16 @@ export declare class BotCallbacks { * @returns string */ getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; + /** + * Handle singleplayer/settings/bot/difficulties + * @returns dictionary of every bot and its diffiulty settings + */ + getAllBotDifficulties(url: string, info: IEmptyRequestData, sessionID: string): Record; /** * Handle client/game/bot/generate * @returns IGetBodyResponseData */ - generateBots(url: string, info: IGenerateBotsRequestData, sessionID: string): IGetBodyResponseData; + generateBots(url: string, info: IGenerateBotsRequestData, sessionID: string): Promise>; /** * Handle singleplayer/settings/bot/maxCap * @returns string diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/BuildsCallbacks.d.ts new file mode 100644 index 0000000..79fee87 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/BuildsCallbacks.d.ts @@ -0,0 +1,34 @@ +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +export declare class BuildsCallbacks { + protected httpResponse: HttpResponseUtil; + protected buildController: BuildController; + constructor(httpResponse: HttpResponseUtil, buildController: BuildController); + /** + * Handle client/builds/list + */ + getBuilds(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; + /** + * Handle client/builds/magazine/save + */ + createMagazineTemplate(url: string, request: ISetMagazineRequest, sessionID: string): INullResponseData; + /** + * Handle client/builds/weapon/save + */ + setWeapon(url: string, info: IPresetBuildActionRequestData, sessionID: string): INullResponseData; + /** + * Handle client/builds/equipment/save + */ + setEquipment(url: string, info: IPresetBuildActionRequestData, sessionID: string): INullResponseData; + /** + * Handle client/builds/delete + */ + deleteBuild(url: string, info: IRemoveBuildRequestData, sessionID: string): INullResponseData; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/BundleCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/BundleCallbacks.d.ts index a49b8ec..3e579dc 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/BundleCallbacks.d.ts @@ -1,18 +1,13 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { - protected logger: ILogger; protected httpResponse: HttpResponseUtil; - protected httpFileUtil: HttpFileUtil; protected bundleLoader: BundleLoader; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, bundleLoader: BundleLoader, configServer: ConfigServer); - sendBundle(sessionID: string, req: any, resp: any, body: any): void; + constructor(httpResponse: HttpResponseUtil, bundleLoader: BundleLoader, configServer: ConfigServer); /** * Handle singleplayer/bundles */ diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/ClientLogCallbacks.d.ts index 8414b49..bfeb9a4 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/ClientLogCallbacks.d.ts @@ -1,14 +1,28 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; protected clientLogController: ClientLogController; - constructor(httpResponse: HttpResponseUtil, clientLogController: ClientLogController); + protected configServer: ConfigServer; + protected localisationService: LocalisationService; + protected modLoadOrder: ModLoadOrder; + constructor(httpResponse: HttpResponseUtil, clientLogController: ClientLogController, configServer: ConfigServer, localisationService: LocalisationService, modLoadOrder: ModLoadOrder); /** * Handle /singleplayer/log */ clientLog(url: string, info: IClientLogRequest, sessionID: string): INullResponseData; + /** + * Handle /singleplayer/release + */ + releaseNotes(): string; + /** + * Handle /singleplayer/enableBSGlogging + */ + bsgLogging(): string; } diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/DataCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/DialogueCallbacks.d.ts index 7ed60b9..f37f487 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/DialogueCallbacks.d.ts @@ -1,31 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; @@ -73,10 +78,18 @@ export declare class DialogueCallbacks implements OnUpdate { * Handle client/friend/request/send */ sendFriendRequest(url: string, request: IFriendRequestData, sessionID: string): IGetBodyResponseData; + /** + * Handle client/friend/request/accept-all + */ + acceptAllFriendRequests(url: string, request: IEmptyRequestData, sessionID: string): INullResponseData; /** * Handle client/friend/request/accept */ acceptFriendRequest(url: string, request: IAcceptFriendRequestData, sessionID: string): IGetBodyResponseData; + /** + * Handle client/friend/request/decline + */ + declineFriendRequest(url: string, request: IDeclineFriendRequestData, sessionID: string): IGetBodyResponseData; /** * Handle client/friend/request/cancel */ @@ -84,15 +97,15 @@ export declare class DialogueCallbacks implements OnUpdate { /** Handle client/friend/delete */ deleteFriend(url: string, request: IDeleteFriendRequest, sessionID: string): INullResponseData; /** Handle client/friend/ignore/set */ - ignoreFriend(url: string, request: { - uid: string; - }, sessionID: string): INullResponseData; + ignoreFriend(url: string, request: IUIDRequestData, sessionID: string): INullResponseData; /** Handle client/friend/ignore/remove */ - unIgnoreFriend(url: string, request: { - uid: string; - }, sessionID: string): INullResponseData; + unIgnoreFriend(url: string, request: IUIDRequestData, sessionID: string): INullResponseData; clearMail(url: string, request: IClearMailMessageRequest, sessionID: string): IGetBodyResponseData; removeMail(url: string, request: IRemoveMailMessageRequest, sessionID: string): IGetBodyResponseData; + createGroupMail(url: string, info: ICreateGroupMailRequest, sessionID: string): IGetBodyResponseData; + changeMailGroupOwner(url: string, info: IChangeGroupMailOwnerRequest, sessionID: string): IGetBodyResponseData; + addUserToMail(url: string, info: IAddUserGroupMailRequest, sessionID: string): IGetBodyResponseData; + removeUserFromMail(url: string, info: IRemoveUserGroupMailRequest, sessionID: string): IGetBodyResponseData; onUpdate(timeSinceLastRun: number): Promise; getRoute(): string; } diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/GameCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/GameCallbacks.d.ts index 09124c6..b41454f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/GameCallbacks.d.ts @@ -1,23 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IReportNicknameRequestData } from "@spt-aki/models/eft/game/IReportNicknameRequestData"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; @@ -47,6 +49,11 @@ export declare class GameCallbacks implements OnLoad { * @returns IGameConfigResponse */ getGameConfig(url: string, info: IGameEmptyCrcRequestData, sessionID: string): IGetBodyResponseData; + /** + * Handle client/game/mode + * @returns IGameModeResponse + */ + getGameMode(url: string, info: IGameModeRequestData, sessionID: string): IGetBodyResponseData; /** * Handle client/server/list */ @@ -69,10 +76,10 @@ export declare class GameCallbacks implements OnLoad { * @returns string */ getVersion(url: string, info: IEmptyRequestData, sessionID: string): string; - reportNickname(url: string, info: IReportNicknameRequestData, sessionID: string): INullResponseData; + reportNickname(url: string, info: IUIDRequestData, sessionID: string): INullResponseData; /** - * Handle singleplayer/settings/getRaidTime - * @returns string - */ + * Handle singleplayer/settings/getRaidTime + * @returns string + */ getRaidTime(url: string, request: IGetRaidTimeRequest, sessionID: string): IGetRaidTimeResponse; } diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/HealthCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/HideoutCallbacks.d.ts index 65c989a..fadab9b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; @@ -26,11 +26,11 @@ export declare class HideoutCallbacks implements OnUpdate { /** * Handle HideoutUpgrade event */ - upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; + upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; /** * Handle HideoutUpgradeComplete event */ - upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; + upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; /** * Handle HideoutPutItemsInAreaSlots */ @@ -62,11 +62,11 @@ export declare class HideoutCallbacks implements OnUpdate { /** * Handle HideoutQuickTimeEvent */ - handleQTEEvent(pmcData: IPmcData, request: IHandleQTEEventRequestData, sessionId: string): IItemEventRouterResponse; + handleQTEEvent(pmcData: IPmcData, request: IHandleQTEEventRequestData, sessionId: string, output: IItemEventRouterResponse): IItemEventRouterResponse; /** * Handle client/game/profile/items/moving - RecordShootingRangePoints */ - recordShootingRangePoints(pmcData: IPmcData, request: IRecordShootingRangePoints, sessionId: string): IItemEventRouterResponse; + recordShootingRangePoints(pmcData: IPmcData, request: IRecordShootingRangePoints, sessionId: string, output: IItemEventRouterResponse): IItemEventRouterResponse; /** * Handle client/game/profile/items/moving - RecordShootingRangePoints */ diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/HttpCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/InraidCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/InraidCallbacks.d.ts index ea77d62..a058b99 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/InraidCallbacks.d.ts @@ -1,8 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ @@ -37,14 +39,24 @@ export declare class InraidCallbacks { * @returns JSON as string */ getRaidMenuSettings(): string; - /** - * Handle singleplayer/settings/weapon/durability - * @returns - */ - getWeaponDurability(): string; /** * Handle singleplayer/airdrop/config * @returns JSON as string */ getAirdropConfig(): string; + /** + * Handle singleplayer/btr/config + * @returns JSON as string + */ + getBTRConfig(): string; + /** + * Handle singleplayer/traderServices/getTraderServices + */ + getTraderServices(url: string, info: IEmptyRequestData, sessionId: string): string; + /** + * Handle singleplayer/traderServices/itemDelivery + */ + itemDelivery(url: string, request: IItemDeliveryRequestData, sessionId: string): INullResponseData; + getTraitorScavHostileChance(url: string, info: IEmptyRequestData, sessionId: string): string; + getSandboxMaxPatrolValue(url: string, info: IEmptyRequestData, sessionId: string): string; } diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/InventoryCallbacks.d.ts index ddbb070..e0968e6 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/InventoryCallbacks.d.ts @@ -1,51 +1,61 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; - constructor(inventoryController: InventoryController); - /** Handle Move event */ - moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; + protected questController: QuestController; + constructor(inventoryController: InventoryController, questController: QuestController); + /** Handle client/game/profile/items/moving Move event */ + moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; /** Handle Remove event */ - removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; + removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; /** Handle Split event */ - splitItem(pmcData: IPmcData, body: IInventorySplitRequestData, sessionID: string): IItemEventRouterResponse; - mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string): IItemEventRouterResponse; - transferItem(pmcData: IPmcData, body: IInventoryTransferRequestData, sessionID: string): IItemEventRouterResponse; + splitItem(pmcData: IPmcData, body: IInventorySplitRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + transferItem(pmcData: IPmcData, request: IInventoryTransferRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; /** Handle Swap */ 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; - unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; - examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; + bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; /** Handle ReadEncyclopedia */ readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; /** Handle ApplyInventoryChanges */ - 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; + sortInventory(pmcData: IPmcData, body: IInventorySortRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + createMapMarker(pmcData: IPmcData, body: IInventoryCreateMarkerRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + deleteMapMarker(pmcData: IPmcData, body: IInventoryDeleteMarkerRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + editMapMarker(pmcData: IPmcData, body: IInventoryEditMarkerRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; /** Handle OpenRandomLootContainer */ - openRandomLootContainer(pmcData: IPmcData, body: IOpenRandomLootContainerRequestData, sessionID: string): IItemEventRouterResponse; - redeemProfileReward(pmcData: IPmcData, body: IRedeemProfileRequestData, sessionId: string): IItemEventRouterResponse; + openRandomLootContainer(pmcData: IPmcData, body: IOpenRandomLootContainerRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + redeemProfileReward(pmcData: IPmcData, body: IRedeemProfileRequestData, sessionId: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + setFavoriteItem(pmcData: IPmcData, body: ISetFavoriteItems, sessionId: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + /** + * TODO - MOVE INTO QUEST CODE + * Handle game/profile/items/moving - QuestFail + */ + failQuest(pmcData: IPmcData, request: IFailQuestRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; } diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/ItemEventCallbacks.d.ts index b040607..2d42ae3 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/ItemEventCallbacks.d.ts @@ -1,13 +1,19 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/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; + handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): Promise>; + /** + * Return true if the passed in list of warnings contains critical issues + * @param warnings The list of warnings to check for critical errors + * @returns + */ + private isCriticalError; protected getErrorCode(warnings: Warning[]): number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/LocationCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/MatchCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/MatchCallbacks.d.ts index a6f2ccf..f002178 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/MatchCallbacks.d.ts @@ -1,27 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IAcceptGroupInviteRequest } from "@spt-aki/models/eft/match/IAcceptGroupInviteRequest"; -import { IAcceptGroupInviteResponse } from "@spt-aki/models/eft/match/IAcceptGroupInviteResponse"; -import { ICancelGroupInviteRequest } from "@spt-aki/models/eft/match/ICancelGroupInviteRequest"; -import { ICreateGroupRequestData } from "@spt-aki/models/eft/match/ICreateGroupRequestData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetGroupStatusRequestData } from "@spt-aki/models/eft/match/IGetGroupStatusRequestData"; -import { IGetGroupStatusResponse } from "@spt-aki/models/eft/match/IGetGroupStatusResponse"; -import { IGetProfileRequestData } from "@spt-aki/models/eft/match/IGetProfileRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IJoinMatchRequestData } from "@spt-aki/models/eft/match/IJoinMatchRequestData"; -import { IJoinMatchResult } from "@spt-aki/models/eft/match/IJoinMatchResult"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRemovePlayerFromGroupRequest } from "@spt-aki/models/eft/match/IRemovePlayerFromGroupRequest"; -import { ISendGroupInviteRequest } from "@spt-aki/models/eft/match/ISendGroupInviteRequest"; -import { ITransferGroupRequest } from "@spt-aki/models/eft/match/ITransferGroupRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; @@ -33,42 +30,47 @@ export declare class MatchCallbacks { exitMatch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; /** Handle client/match/group/exit_from_menu */ exitToMenu(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; + groupCurrent(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; startGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; stopGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; /** Handle client/match/group/invite/send */ - sendGroupInvite(url: string, info: ISendGroupInviteRequest, sessionID: string): IGetBodyResponseData; + sendGroupInvite(url: string, info: IMatchGroupInviteSendRequest, sessionID: string): IGetBodyResponseData; /** Handle client/match/group/invite/accept */ - acceptGroupInvite(url: string, info: IAcceptGroupInviteRequest, sessionID: string): IGetBodyResponseData; + acceptGroupInvite(url: string, info: IRequestIdRequest, sessionId: string): IGetBodyResponseData; + /** Handle client/match/group/invite/decline */ + declineGroupInvite(url: string, info: IRequestIdRequest, sessionId: string): IGetBodyResponseData; /** Handle client/match/group/invite/cancel */ - cancelGroupInvite(url: string, info: ICancelGroupInviteRequest, sessionID: string): IGetBodyResponseData; + cancelGroupInvite(url: string, info: IRequestIdRequest, sessionID: string): IGetBodyResponseData; /** Handle client/match/group/transfer */ - transferGroup(url: string, info: ITransferGroupRequest, sessionID: string): IGetBodyResponseData; + transferGroup(url: string, info: IMatchGroupTransferRequest, sessionId: string): IGetBodyResponseData; /** Handle client/match/group/invite/cancel-all */ - cancelAllGroupInvite(url: string, info: any, sessionID: string): INullResponseData; + cancelAllGroupInvite(url: string, info: IEmptyRequestData, sessionId: string): IGetBodyResponseData; /** @deprecated - not called on raid start/end or game start/exit */ - putMetrics(url: string, info: IPutMetricsRequestData, sessionID: string): INullResponseData; - /** Handle raid/profile/list */ - getProfile(url: string, info: IGetProfileRequestData, sessionID: string): IGetBodyResponseData; - serverAvailable(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; + putMetrics(url: string, info: IPutMetricsRequestData, sessionId: string): INullResponseData; + serverAvailable(url: string, info: IEmptyRequestData, sessionId: string): IGetBodyResponseData; /** Handle match/group/start_game */ - joinMatch(url: string, info: IJoinMatchRequestData, sessionID: string): IGetBodyResponseData; + joinMatch(url: string, info: IMatchGroupStartGameRequest, sessionID: string): IGetBodyResponseData; /** Handle client/getMetricsConfig */ getMetrics(url: string, info: any, sessionID: string): IGetBodyResponseData; /** - * @deprecated - not called on raid start/end or game start/exit + * Called periodically while in a group * Handle client/match/group/status * @returns */ - getGroupStatus(url: string, info: IGetGroupStatusRequestData, sessionID: string): IGetBodyResponseData; - /** Handle client/match/group/create */ - createGroup(url: string, info: ICreateGroupRequestData, sessionID: string): IGetBodyResponseData; + getGroupStatus(url: string, info: IMatchGroupStatusRequest, sessionID: string): IGetBodyResponseData; /** Handle client/match/group/delete */ - deleteGroup(url: string, info: any, sessionID: string): INullResponseData; + deleteGroup(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; leaveGroup(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; /** Handle client/match/group/player/remove */ - removePlayerFromGroup(url: string, info: IRemovePlayerFromGroupRequest, sessionID: string): INullResponseData; + removePlayerFromGroup(url: string, info: IMatchGroupPlayerRemoveRequest, sessionID: string): IGetBodyResponseData; /** Handle client/match/offline/end */ endOfflineRaid(url: string, info: IEndOfflineRaidRequestData, sessionID: string): INullResponseData; /** Handle client/raid/configuration */ getRaidConfiguration(url: string, info: IGetRaidConfigurationRequestData, sessionID: string): INullResponseData; + /** Handle client/raid/configuration-by-profile */ + getConfigurationByProfile(url: string, info: IGetRaidConfigurationRequestData, sessionID: string): INullResponseData; + /** Handle client/match/group/raid/ready */ + raidReady(url: string, info: IEmptyRequestData, sessionId: string): IGetBodyResponseData; + /** Handle client/match/group/raid/not-ready */ + notRaidReady(url: string, info: IEmptyRequestData, sessionId: string): IGetBodyResponseData; } diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/ModCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/NoteCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/NotifierCallbacks.d.ts index 59faade..0436e12 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileRequestData } from "@spt-aki/models/eft/notifier/ISelectProfileRequestData"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; @@ -29,6 +29,6 @@ export declare class NotifierCallbacks { * Handle client/game/profile/select * @returns ISelectProfileResponse */ - selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; + selectProfile(url: string, info: IUIDRequestData, sessionID: string): IGetBodyResponseData; notify(url: string, info: any, sessionID: string): string; } diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/PresetBuildCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/PresetBuildCallbacks.d.ts deleted file mode 100644 index f5a4c49..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/PresetBuildCallbacks.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { PresetBuildController } from "@spt-aki/controllers/PresetBuildController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -export declare class PresetBuildCallbacks { - protected httpResponse: HttpResponseUtil; - protected presetBuildController: PresetBuildController; - constructor(httpResponse: HttpResponseUtil, presetBuildController: PresetBuildController); - /** Handle client/handbook/builds/my/list */ - getHandbookUserlist(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - /** Handle SaveWeaponBuild event */ - saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - /** Handle removeBuild event*/ - removeBuild(pmcData: IPmcData, body: IRemoveBuildRequestData, sessionID: string): IItemEventRouterResponse; - /** Handle RemoveWeaponBuild event*/ - removeWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - /** Handle SaveEquipmentBuild event */ - saveEquipmentBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - /** Handle RemoveEquipmentBuild event*/ - removeEquipmentBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/PresetCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/ProfileCallbacks.d.ts index 2e1db38..3db4ed8 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/ProfileCallbacks.d.ts @@ -1,26 +1,30 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; protected timeUtil: TimeUtil; protected profileController: ProfileController; - constructor(httpResponse: HttpResponseUtil, timeUtil: TimeUtil, profileController: ProfileController); + protected profileHelper: ProfileHelper; + constructor(httpResponse: HttpResponseUtil, timeUtil: TimeUtil, profileController: ProfileController, profileHelper: ProfileHelper); /** * Handle client/game/profile/create */ @@ -62,6 +66,11 @@ export declare class ProfileCallbacks { * Called when creating a character when choosing a character face/voice */ getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; + /** + * Handle client/profile/view + * Called when viewing another players profile + */ + getOtherProfile(url: string, request: IGetOtherProfileRequest, sessionID: string): IGetBodyResponseData; /** * Handle client/profile/settings */ diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/QuestCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/RagfairCallbacks.d.ts index bad2ce0..1e92996 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/RagfairCallbacks.d.ts @@ -1,40 +1,38 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ export declare class RagfairCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; - protected jsonUtil: JsonUtil; protected ragfairServer: RagfairServer; protected ragfairController: RagfairController; protected ragfairTaxService: RagfairTaxService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - constructor(httpResponse: HttpResponseUtil, jsonUtil: JsonUtil, ragfairServer: RagfairServer, ragfairController: RagfairController, ragfairTaxService: RagfairTaxService, configServer: ConfigServer); + constructor(httpResponse: HttpResponseUtil, ragfairServer: RagfairServer, ragfairController: RagfairController, ragfairTaxService: RagfairTaxService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; onUpdate(timeSinceLastRun: number): Promise; @@ -47,7 +45,7 @@ export declare class RagfairCallbacks implements OnLoad, OnUpdate { getMarketPrice(url: string, info: IGetMarketPriceRequestData, sessionID: string): IGetBodyResponseData; /** Handle RagFairAddOffer event */ addOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; - /** \Handle RagFairRemoveOffer event */ + /** Handle RagFairRemoveOffer event */ removeOffer(pmcData: IPmcData, info: IRemoveOfferRequestData, sessionID: string): IItemEventRouterResponse; /** Handle RagFairRenewOffer event */ extendOffer(pmcData: IPmcData, info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/RepairCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/SaveCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/TradeCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/TraderCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/TraderCallbacks.d.ts index 3002b62..c081a9b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/TraderCallbacks.d.ts @@ -1,14 +1,15 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; - constructor(httpResponse: HttpResponseUtil, traderController: TraderController); + constructor(httpResponse: HttpResponseUtil, // TODO: delay required + traderController: TraderController); onLoad(): Promise; onUpdate(): Promise; getRoute(): string; diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/23CustomAbstractChatBot/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/23CustomAbstractChatBot/types/context/ApplicationContext.d.ts b/TypeScript/23CustomAbstractChatBot/types/context/ApplicationContext.d.ts index 5eea16e..4818e3a 100644 --- a/TypeScript/23CustomAbstractChatBot/types/context/ApplicationContext.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/context/ApplicationContext.d.ts @@ -1,18 +1,17 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; /** * Called like: - * + * ``` * const registerPlayerInfo = this.applicationContext.getLatestValue(ContextVariableType.REGISTER_PLAYER_REQUEST).getValue(); * * const activePlayerSessionId = this.applicationContext.getLatestValue(ContextVariableType.SESSION_ID).getValue(); * * const matchInfo = this.applicationContext.getLatestValue(ContextVariableType.RAID_CONFIGURATION).getValue(); - * @param type - * @returns + * ``` */ getLatestValue(type: ContextVariableType): ContextVariable; getValues(type: ContextVariableType): ContextVariable[]; diff --git a/TypeScript/23CustomAbstractChatBot/types/context/ContextVariable.d.ts b/TypeScript/23CustomAbstractChatBot/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/23CustomAbstractChatBot/types/context/ContextVariable.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/AchievementController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/AchievementController.d.ts new file mode 100644 index 0000000..14a32c6 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/AchievementController.d.ts @@ -0,0 +1,23 @@ +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +/** + * Logic for handling In Raid callbacks + */ +export declare class AchievementController { + protected logger: ILogger; + protected databaseServer: DatabaseServer; + constructor(logger: ILogger, databaseServer: DatabaseServer); + /** + * Get base achievements + * @param sessionID Session id + */ + getAchievements(sessionID: string): IGetAchievementsResponse; + /** + * Shows % of 'other' players who've completed each achievement + * @param sessionId Session id + * @returns ICompletedAchievementsResponse + */ + getAchievementStatistics(sessionId: string): ICompletedAchievementsResponse; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/BotController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/BotController.d.ts index f7ba1aa..25f7c29 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/BotController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/BotController.d.ts @@ -1,21 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; @@ -25,42 +30,94 @@ export declare class BotController { protected botGenerationCacheService: BotGenerationCacheService; protected matchBotDetailsCacheService: MatchBotDetailsCacheService; protected localisationService: LocalisationService; + protected seasonalEventService: SeasonalEventService; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected applicationContext: ApplicationContext; - protected jsonUtil: JsonUtil; + protected randomUtil: RandomUtil; + protected cloner: ICloner; protected botConfig: IBotConfig; protected pmcConfig: IPmcConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, botGenerator: BotGenerator, botHelper: BotHelper, botDifficultyHelper: BotDifficultyHelper, botGenerationCacheService: BotGenerationCacheService, matchBotDetailsCacheService: MatchBotDetailsCacheService, localisationService: LocalisationService, profileHelper: ProfileHelper, configServer: ConfigServer, applicationContext: ApplicationContext, jsonUtil: JsonUtil); + constructor(logger: ILogger, databaseServer: DatabaseServer, botGenerator: BotGenerator, botHelper: BotHelper, botDifficultyHelper: BotDifficultyHelper, botGenerationCacheService: BotGenerationCacheService, matchBotDetailsCacheService: MatchBotDetailsCacheService, localisationService: LocalisationService, seasonalEventService: SeasonalEventService, profileHelper: ProfileHelper, configServer: ConfigServer, applicationContext: ApplicationContext, randomUtil: RandomUtil, cloner: ICloner); /** - * Return the number of bot loadout varieties to be generated - * @param type bot Type we want the loadout gen count for + * Return the number of bot load-out varieties to be generated + * @param type bot Type we want the load-out gen count for * @returns number of bots to generate */ getBotPresetGenerationLimit(type: string): number; /** * Handle singleplayer/settings/bot/difficulty - * Get the core.json difficulty settings from database\bots + * Get the core.json difficulty settings from database/bots * @returns IBotCore */ getBotCoreDifficulty(): IBotCore; /** * Get bot difficulty settings - * adjust PMC settings to ensure they engage the correct bot types + * 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 + * @param diffLevel difficulty level server requested settings for + * @param ignoreRaidSettings should raid settings chosen pre-raid be ignored * @returns Difficulty object */ - getBotDifficulty(type: string, difficulty: string): Difficulty; + getBotDifficulty(type: string, diffLevel: string, ignoreRaidSettings?: boolean): Difficulty; + getAllBotDifficulties(): Record; /** * Generate bot profiles and store in cache * @param sessionId Session id * @param info bot generation request info * @returns IBotBase array */ - generate(sessionId: string, info: IGenerateBotsRequestData): IBotBase[]; + generate(sessionId: string, info: IGenerateBotsRequestData): Promise; /** - * Get the difficulty passed in, if its not "asoline", get selected difficulty from config + * On first bot generation bots are generated and stored inside a cache, ready to be used later + * @param request Bot generation request object + * @param pmcProfile Player profile + * @param sessionId Session id + * @returns + */ + protected generateBotsFirstTime(request: IGenerateBotsRequestData, pmcProfile: IPmcData, sessionId: string): Promise; + /** + * Create a BotGenerationDetails for the bot generator to use + * @param condition Client data defining bot type and difficulty + * @param pmcProfile Player who is generating bots + * @param allPmcsHaveSameNameAsPlayer Should all PMCs have same name as player + * @param pmcLevelRangeForMap Min/max levels for PMCs to generate within + * @param botCountToGenerate How many bots to generate + * @param generateAsPmc Force bot being generated a PMC + * @returns BotGenerationDetails + */ + protected getBotGenerationDetailsForWave(condition: Condition, pmcProfile: IPmcData, allPmcsHaveSameNameAsPlayer: boolean, pmcLevelRangeForMap: MinMax, botCountToGenerate: number, generateAsPmc: boolean): BotGenerationDetails; + /** + * Get players profile level + * @param pmcProfile Profile to get level from + * @returns Level as number + */ + protected getPlayerLevelFromProfile(pmcProfile: IPmcData): number; + /** + * Generate many bots and store then on the cache + * @param condition the condition details to generate the bots with + * @param botGenerationDetails the bot details to generate the bot with + * @param sessionId Session id + * @returns A promise for the bots to be done generating + */ + protected generateWithBotDetails(condition: Condition, botGenerationDetails: BotGenerationDetails, sessionId: string): Promise; + /** + * Generate a single bot and store it in the cache + * @param botGenerationDetails the bot details to generate the bot with + * @param sessionId Session id + * @param cacheKey the cache key to store the bot with + * @returns A promise for the bot to be stored + */ + protected generateSingleBotAndStoreInCache(botGenerationDetails: BotGenerationDetails, sessionId: string, cacheKey: string): Promise; + /** + * Pull a single bot out of cache and return, if cache is empty add bots to it and then return + * @param sessionId Session id + * @param request Bot generation request object + * @returns Single IBotBase object + */ + protected returnSingleBotFromCache(sessionId: string, request: IGenerateBotsRequestData): Promise; + /** + * Get the difficulty passed in, if its not "asonline", get selected difficulty from config * @param requestedDifficulty * @returns */ diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/BuildController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/BuildController.d.ts new file mode 100644 index 0000000..7b8957e --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/BuildController.d.ts @@ -0,0 +1,38 @@ +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +export declare class BuildController { + protected logger: ILogger; + protected hashUtil: HashUtil; + protected eventOutputHolder: EventOutputHolder; + protected databaseServer: DatabaseServer; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected itemHelper: ItemHelper; + protected saveServer: SaveServer; + protected cloner: ICloner; + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + /** Handle client/handbook/builds/my/list */ + getUserBuilds(sessionID: string): IUserBuilds; + /** Handle client/builds/weapon/save */ + saveWeaponBuild(sessionId: string, body: IPresetBuildActionRequestData): void; + /** Handle client/builds/equipment/save event */ + saveEquipmentBuild(sessionID: string, request: IPresetBuildActionRequestData): void; + /** Handle client/builds/delete */ + removeBuild(sessionID: string, request: IRemoveBuildRequestData): void; + protected removePlayerBuild(idToRemove: string, sessionID: string): void; + /** + * Handle client/builds/magazine/save + */ + createMagazineTemplate(sessionId: string, request: ISetMagazineRequest): void; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/ClientLogController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/ClientLogController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/CustomizationController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/CustomizationController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/DialogueController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/DialogueController.d.ts index 8d47886..4a94359 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/DialogueController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/DialogueController.d.ts @@ -1,26 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -68,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id @@ -110,7 +114,7 @@ export declare class DialogueController { * Get all uncollected items attached to mail in a particular dialog * @param dialogueId Dialog to get mail attachments from * @param sessionId Session id - * @returns + * @returns IGetAllAttachmentsResponse */ getAllAttachments(dialogueId: string, sessionId: string): IGetAllAttachmentsResponse; /** client/mail/msg/send */ @@ -145,4 +149,6 @@ export declare class DialogueController { * @returns true or false */ protected messageHasExpired(message: Message): boolean; + /** Handle client/friend/request/send */ + sendFriendRequest(sessionID: string, request: IFriendRequestData): IFriendRequestSendResponse; } diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/GameController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/GameController.d.ts index d2a978b..6325d37 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/GameController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/GameController.d.ts @@ -1,46 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; - protected jsonUtil: JsonUtil; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -53,33 +56,43 @@ export declare class GameController { protected itemBaseClassService: ItemBaseClassService; protected giftService: GiftService; protected raidTimeAdjustmentService: RaidTimeAdjustmentService; + protected profileActivityService: ProfileActivityService; protected applicationContext: ApplicationContext; protected configServer: ConfigServer; + protected cloner: ICloner; protected httpConfig: IHttpConfig; protected coreConfig: ICoreConfig; protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; + protected hideoutConfig: IHideoutConfig; protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, jsonUtil: JsonUtil, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, applicationContext: ApplicationContext, configServer: ConfigServer); + protected botConfig: IBotConfig; + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start */ gameStart(_url: string, _info: IEmptyRequestData, sessionID: string, startTimeStampMS: number): void; + protected adjustHideoutCraftTimes(): void; + protected adjustHideoutBuildTimes(): void; + protected adjustLocationBotValues(): void; /** * Out of date/incorrectly made trader mods forget this data */ protected checkTraderRepairValuesExist(): void; protected addCustomLooseLootPositions(): void; protected adjustLooseLootSpawnProbabilities(): void; - protected setHideoutAreasAndCraftsTo40Secs(): void; /** Apply custom limits on bot types as defined in configs/location.json/botTypeLimits */ protected adjustMapBotLimits(): void; /** * Handle client/game/config */ getGameConfig(sessionID: string): IGameConfigResponse; + /** + * Handle client/game/mode + */ + getGameMode(sessionID: string, info: IGameModeRequestData): any; /** * Handle client/server/list */ @@ -112,8 +125,7 @@ export declare class GameController { protected flagAllItemsInDbAsSellableOnFlea(): void; /** * When player logs in, iterate over all active effects and reduce timer - * TODO - add body part HP regen - * @param pmcProfile + * @param pmcProfile Profile to adjust values for */ protected updateProfileHealthValues(pmcProfile: IPmcData): void; /** @@ -130,16 +142,17 @@ export declare class GameController { */ protected sendPraporGiftsToNewProfiles(pmcProfile: IPmcData): void; /** - * Find and split waves with large numbers of bots into smaller waves - BSG appears to reduce the size of these waves to one bot when they're waiting to spawn for too long + * Find and split waves with large numbers of bots into smaller waves - BSG appears to reduce the size of these + * waves to one bot when they're waiting to spawn for too long */ protected splitBotWavesIntoSingleWaves(): void; /** * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** - * Check for any missing assorts inside each traders assort.json data, checking against traders qeustassort.json + * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ protected validateQuestAssortUnlocksExist(): void; /** @@ -151,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -160,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/HandbookController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/HandbookController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/HealthController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/HealthController.d.ts index 5206cba..5482283 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/HealthController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/HealthController.d.ts @@ -1,22 +1,21 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; - protected jsonUtil: JsonUtil; protected eventOutputHolder: EventOutputHolder; protected itemHelper: ItemHelper; protected paymentService: PaymentService; @@ -24,7 +23,8 @@ export declare class HealthController { protected localisationService: LocalisationService; protected httpResponse: HttpResponseUtil; protected healthHelper: HealthHelper; - constructor(logger: ILogger, jsonUtil: JsonUtil, eventOutputHolder: EventOutputHolder, itemHelper: ItemHelper, paymentService: PaymentService, inventoryHelper: InventoryHelper, localisationService: LocalisationService, httpResponse: HttpResponseUtil, healthHelper: HealthHelper); + protected cloner: ICloner; + constructor(logger: ILogger, eventOutputHolder: EventOutputHolder, itemHelper: ItemHelper, paymentService: PaymentService, inventoryHelper: InventoryHelper, localisationService: LocalisationService, httpResponse: HttpResponseUtil, healthHelper: HealthHelper, cloner: ICloner); /** * stores in-raid player health * @param pmcData Player profile diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/HideoutController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/HideoutController.d.ts index 5595648..7d2510d 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/HideoutController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/HideoutController.d.ts @@ -1,43 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -45,6 +47,7 @@ export declare class HideoutController { protected databaseServer: DatabaseServer; protected randomUtil: RandomUtil; protected inventoryHelper: InventoryHelper; + protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected playerService: PlayerService; protected presetHelper: PresetHelper; @@ -55,30 +58,32 @@ export declare class HideoutController { protected hideoutHelper: HideoutHelper; protected scavCaseRewardGenerator: ScavCaseRewardGenerator; protected localisationService: LocalisationService; + protected profileActivityService: ProfileActivityService; protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; protected fenceService: FenceService; - protected static nameBackendCountersCrafting: string; + protected cloner: ICloner; + /** Key used in TaskConditionCounters array */ + protected static nameTaskConditionCountersCrafting: 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, eventOutputHolder: EventOutputHolder, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, itemHelper: ItemHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, eventOutputHolder: EventOutputHolder, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, localisationService: LocalisationService, profileActivityService: ProfileActivityService, configServer: ConfigServer, fenceService: FenceService, cloner: ICloner); /** * Handle HideoutUpgrade event * Start a hideout area upgrade * @param pmcData Player profile * @param request upgrade start request * @param sessionID Session id - * @returns IItemEventRouterResponse + * @param output Client response */ - startUpgrade(pmcData: IPmcData, request: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; + startUpgrade(pmcData: IPmcData, request: IHideoutUpgradeRequestData, sessionID: string, output: IItemEventRouterResponse): void; /** * Handle HideoutUpgradeComplete event * Complete a hideout area upgrade * @param pmcData Player profile * @param request Completed upgrade request * @param sessionID Session id - * @returns IItemEventRouterResponse + * @param output Client response */ - upgradeComplete(pmcData: IPmcData, request: HideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; + upgradeComplete(pmcData: IPmcData, request: HideoutUpgradeCompleteRequestData, sessionID: string, output: IItemEventRouterResponse): void; /** * Upgrade wall status to visible in profile if medstation/water collector are both level 1 * @param pmcData Player profile @@ -202,26 +207,23 @@ export declare class HideoutController { * @param pmcData Player profile * @param request Remove production from area request * @param output Output object to update - * @returns IItemEventRouterResponse */ - protected handleRecipe(sessionID: string, recipe: IHideoutProduction, pmcData: IPmcData, request: IHideoutTakeProductionRequestData, output: IItemEventRouterResponse): IItemEventRouterResponse; + protected handleRecipe(sessionID: string, recipe: IHideoutProduction, pmcData: IPmcData, request: IHideoutTakeProductionRequestData, output: IItemEventRouterResponse): void; + /** + * Get the "CounterHoursCrafting" TaskConditionCounter from a profile + * @param pmcData Profile to get counter from + * @param recipe Recipe being crafted + * @returns ITaskConditionCounter + */ + protected getHoursCraftingTaskConditionCounter(pmcData: IPmcData, recipe: IHideoutProduction): ITaskConditionCounter; /** * Handles generating case rewards and sending to player inventory * @param sessionID Session id * @param pmcData Player profile * @param request Get rewards from scavcase craft request * @param output Output object to update - * @returns IItemEventRouterResponse */ - protected handleScavCase(sessionID: string, pmcData: IPmcData, request: IHideoutTakeProductionRequestData, output: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Start area production for item by adding production to profiles' Hideout.Production array - * @param pmcData Player profile - * @param request Start production request - * @param sessionID Session id - * @returns IItemEventRouterResponse - */ - registerProduction(pmcData: IPmcData, request: IHideoutSingleProductionStartRequestData | IHideoutContinuousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; + protected handleScavCase(sessionID: string, pmcData: IPmcData, request: IHideoutTakeProductionRequestData, output: IItemEventRouterResponse): void; /** * Get quick time event list for hideout * // TODO - implement this @@ -236,7 +238,7 @@ export declare class HideoutController { * @param pmcData Profile to adjust * @param request QTE result object */ - handleQTEEventOutcome(sessionId: string, pmcData: IPmcData, request: IHandleQTEEventRequestData): IItemEventRouterResponse; + handleQTEEventOutcome(sessionId: string, pmcData: IPmcData, request: IHandleQTEEventRequestData, output: IItemEventRouterResponse): void; /** * Record a high score from the shooting range into a player profiles overallcounters * @param sessionId Session id @@ -244,7 +246,7 @@ export declare class HideoutController { * @param request shooting range score request * @returns IItemEventRouterResponse */ - recordShootingRangePoints(sessionId: string, pmcData: IPmcData, request: IRecordShootingRangePoints): IItemEventRouterResponse; + recordShootingRangePoints(sessionId: string, pmcData: IPmcData, request: IRecordShootingRangePoints): void; /** * Handle client/game/profile/items/moving - HideoutImproveArea * @param sessionId Session id diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/InraidController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/InraidController.d.ts index 8ec13ba..f252a7e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/InraidController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/InraidController.d.ts @@ -1,33 +1,42 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ export declare class InraidController { protected logger: ILogger; protected saveServer: SaveServer; - protected jsonUtil: JsonUtil; protected timeUtil: TimeUtil; protected databaseServer: DatabaseServer; protected pmcChatResponseService: PmcChatResponseService; @@ -38,13 +47,22 @@ export declare class InraidController { protected playerScavGenerator: PlayerScavGenerator; protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; + protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; protected configServer: ConfigServer; + protected mailSendService: MailSendService; + protected randomUtil: RandomUtil; protected airdropConfig: IAirdropConfig; - protected inraidConfig: IInRaidConfig; - constructor(logger: ILogger, saveServer: SaveServer, jsonUtil: JsonUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer); + protected btrConfig: IBTRConfig; + protected inRaidConfig: IInRaidConfig; + protected traderConfig: ITraderConfig; + protected locationConfig: ILocationConfig; + protected ragfairConfig: IRagfairConfig; + protected hideoutConfig: IHideoutConfig; + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id @@ -66,8 +84,8 @@ export declare class InraidController { */ protected savePmcProgress(sessionID: string, postRaidRequest: ISaveProgressRequestData): void; /** - * Make changes to pmc profile after they've died in raid, - * Alter bodypart hp, handle insurance, delete inventory items, remove carried quest items + * Make changes to PMC profile after they've died in raid, + * Alter body part hp, handle insurance, delete inventory items, remove carried quest items * @param postRaidSaveRequest Post-raid save request * @param pmcData Pmc profile * @param sessionID Session id @@ -75,7 +93,7 @@ export declare class InraidController { */ protected performPostRaidActionsWhenDead(postRaidSaveRequest: ISaveProgressRequestData, pmcData: IPmcData, sessionID: string): IPmcData; /** - * Adjust player characters bodypart hp post-raid + * Adjust player characters body part hp post-raid * @param postRaidSaveRequest post raid data * @param pmcData player profile */ @@ -83,15 +101,29 @@ export declare class InraidController { /** * Reduce body part hp to % of max * @param pmcData profile to edit - * @param multipler multipler to apply to max health + * @param multiplier multiplier to apply to max health */ - protected reducePmcHealthToPercent(pmcData: IPmcData, multipler: number): void; + protected reducePmcHealthToPercent(pmcData: IPmcData, multiplier: number): void; /** * Handle updating the profile post-pscav raid * @param sessionID Session id * @param postRaidRequest Post-raid data of raid */ protected savePlayerScavProgress(sessionID: string, postRaidRequest: ISaveProgressRequestData): void; + /** + * merge two dictionaries together + * Prioritise pair that has true as a value + * @param primary main dictionary + * @param secondary Secondary dictionary + */ + protected mergePmcAndScavEncyclopedias(primary: IPmcData, secondary: IPmcData): void; + /** + * Post-scav-raid any charisma increase must be propigated into PMC profile + * @param postRaidServerScavProfile Scav profile after adjustments made from raid + * @param postRaidServerPmcProfile Pmc profile after raid + * @param preRaidScavCharismaProgress charisma progress value pre-raid + */ + protected updatePmcCharismaSkillPostScavRaid(postRaidServerScavProfile: IPmcData, postRaidServerPmcProfile: IPmcData, preRaidScavCharismaProgress: number): void; /** * Does provided profile contain any condition counters * @param profile Profile to check for condition counters @@ -128,8 +160,9 @@ export declare class InraidController { * Update profile with scav karma values based on in-raid actions * @param pmcData Pmc profile * @param offraidData Post-raid save request + * @param scavData Scav profile */ - protected handlePostRaidPlayerScavKarmaChanges(pmcData: IPmcData, offraidData: ISaveProgressRequestData): void; + protected handlePostRaidPlayerScavKarmaChanges(pmcData: IPmcData, offraidData: ISaveProgressRequestData, scavData: IPmcData): void; /** * Get the inraid config from configs/inraid.json * @returns InRaid Config @@ -140,4 +173,20 @@ export declare class InraidController { * @returns Airdrop config */ getAirdropConfig(): IAirdropConfig; + /** + * Get BTR config from configs/btr.json + * @returns Airdrop config + */ + getBTRConfig(): IBTRConfig; + /** + * Handle singleplayer/traderServices/getTraderServices + * @returns Trader services data + */ + getTraderServices(sessionId: string, traderId: string): ITraderServiceModel[]; + /** + * Handle singleplayer/traderServices/itemDelivery + */ + itemDelivery(sessionId: string, traderId: string, items: Item[]): void; + getTraitorScavHostileChance(url: string, sessionID: string): number; + getSandboxMaxPatrolValue(url: string, sessionID: string): number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/InsuranceController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/InsuranceController.d.ts index 64c2ae8..cfb05e4 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/InsuranceController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/InsuranceController.d.ts @@ -1,28 +1,35 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ISystemData, Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; + protected mathUtil: MathUtil; + protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected timeUtil: TimeUtil; protected saveServer: SaveServer; @@ -30,14 +37,17 @@ export declare class InsuranceController { protected itemHelper: ItemHelper; protected profileHelper: ProfileHelper; protected dialogueHelper: DialogueHelper; + protected weightedRandomHelper: WeightedRandomHelper; protected traderHelper: TraderHelper; protected paymentService: PaymentService; protected insuranceService: InsuranceService; protected mailSendService: MailSendService; + protected ragfairPriceService: RagfairPriceService; protected configServer: ConfigServer; + protected cloner: ICloner; protected insuranceConfig: IInsuranceConfig; protected roubleTpl: string; - constructor(logger: ILogger, randomUtil: RandomUtil, eventOutputHolder: EventOutputHolder, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileHelper: ProfileHelper, dialogueHelper: DialogueHelper, traderHelper: TraderHelper, paymentService: PaymentService, insuranceService: InsuranceService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, randomUtil: RandomUtil, mathUtil: MathUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileHelper: ProfileHelper, dialogueHelper: DialogueHelper, weightedRandomHelper: WeightedRandomHelper, traderHelper: TraderHelper, paymentService: PaymentService, insuranceService: InsuranceService, mailSendService: MailSendService, ragfairPriceService: RagfairPriceService, configServer: ConfigServer, cloner: ICloner); /** * Process insurance items of all profiles prior to being given back to the player through the mail service. * @@ -66,6 +76,12 @@ export declare class InsuranceController { * @returns void */ protected processInsuredItems(insuranceDetails: Insurance[], sessionID: string): void; + /** + * Count all items in all insurance packages. + * @param insurance + * @returns + */ + protected countAllInsuranceItems(insurance: Insurance[]): number; /** * Remove an insurance package from a profile using the package's system data information. * @@ -73,31 +89,35 @@ export declare class InsuranceController { * @param index The array index of the insurance package to remove. * @returns void */ - protected removeInsurancePackageFromProfile(sessionID: string, packageInfo: ISystemData): void; + protected removeInsurancePackageFromProfile(sessionID: string, insPackage: Insurance): void; /** * Finds the items that should be deleted based on the given Insurance object. * - * @param insured The insurance object containing the items to evaluate for deletion. + * @param rootItemParentID - The ID that should be assigned to all "hideout"/root items. + * @param insured - The insurance object containing the items to evaluate for deletion. * @returns A Set containing the IDs of items that should be deleted. */ - protected findItemsToDelete(insured: Insurance): Set; - /** - * Populate a Map object of items for quick lookup by their ID. - * - * @param insured The insurance object containing the items to populate the map with. - * @returns A Map where the keys are the item IDs and the values are the corresponding Item objects. - */ - protected populateItemsMap(insured: Insurance): Map; + protected findItemsToDelete(rootItemParentID: string, insured: Insurance): Set; /** * Initialize a Map object that holds main-parents to all of their attachments. Note that "main-parent" in this * context refers to the parent item that an attachment is attached to. For example, a suppressor attached to a gun, * not the backpack that the gun is located in (the gun's parent). * + * @param rootItemParentID - The ID that should be assigned to all "hideout"/root items. * @param insured - The insurance object containing the items to evaluate. * @param itemsMap - A Map object for quick item look-up by item ID. * @returns A Map object containing parent item IDs to arrays of their attachment items. */ - protected populateParentAttachmentsMap(insured: Insurance, itemsMap: Map): Map; + protected populateParentAttachmentsMap(rootItemParentID: string, insured: Insurance, itemsMap: Map): Map; + /** + * Remove attachments that can not be moddable in-raid from the parentAttachmentsMap. If no moddable attachments + * remain, the parent is removed from the map as well. + * + * @param parentAttachmentsMap - A Map object containing parent item IDs to arrays of their attachment items. + * @param itemsMap - A Map object for quick item look-up by item ID. + * @returns A Map object containing parent item IDs to arrays of their attachment items which are not moddable in-raid. + */ + protected removeNonModdableAttachments(parentAttachmentsMap: Map, itemsMap: Map): Map; /** * Process "regular" insurance items. Any insured item that is not an attached, attachment is considered a "regular" * item. This method iterates over them, preforming item deletion rolls to see if they should be deleted. If so, @@ -105,15 +125,13 @@ export declare class InsuranceController { * * @param insured The insurance object containing the items to evaluate. * @param toDelete A Set to keep track of items marked for deletion. + * @param parentAttachmentsMap A Map object containing parent item IDs to arrays of their attachment items. * @returns void */ - protected processRegularItems(insured: Insurance, toDelete: Set): void; + protected processRegularItems(insured: Insurance, toDelete: Set, parentAttachmentsMap: Map): void; /** * Process parent items and their attachments, updating the toDelete Set accordingly. * - * This method iterates over a map of parent items to their attachments and performs evaluations on each. - * It marks items for deletion based on certain conditions and updates the toDelete Set accordingly. - * * @param mainParentToAttachmentsMap A Map object containing parent item IDs to arrays of their attachment items. * @param itemsMap A Map object for quick item look-up by item ID. * @param traderId The trader ID from the Insurance object. @@ -132,35 +150,15 @@ export declare class InsuranceController { * @returns void */ protected processAttachmentByParent(attachments: Item[], traderId: string, toDelete: Set): void; + protected logAttachmentsBeingRemoved(attachmentIdsToRemove: string[], attachments: Item[], attachmentPrices: Record): void; + protected weightAttachmentsByPrice(attachments: Item[]): Record; /** - * Sorts the attachment items by their max price in descending order. - * - * @param attachments The array of attachments items. - * @returns An array of items enriched with their max price and common locale-name. + * Get count of items to remove from weapon (take into account trader + price of attachment) + * @param weightedAttachmentByPrice Dict of item Tpls and thier rouble price + * @param traderId Trader attachment insured against + * @returns Attachment count to remove */ - protected sortAttachmentsByPrice(attachments: Item[]): EnrichedItem[]; - /** - * Logs the details of each attachment item. - * - * @param attachments The array of attachment items. - */ - protected logAttachmentsDetails(attachments: EnrichedItem[]): void; - /** - * Counts the number of successful rolls for the attachment items. - * - * @param attachments The array of attachment items. - * @param traderId The ID of the trader that has insured these attachments. - * @returns The number of successful rolls. - */ - protected countSuccessfulRolls(attachments: Item[], traderId: string): number; - /** - * Marks the most valuable attachments for deletion based on the number of successful rolls made. - * - * @param attachments The array of attachment items. - * @param successfulRolls The number of successful rolls. - * @param toDelete The array that accumulates the IDs of the items to be deleted. - */ - protected attachmentDeletionByValue(attachments: EnrichedItem[], successfulRolls: number, toDelete: Set): void; + protected getAttachmentCountToRemove(weightedAttachmentByPrice: Record, traderId: string): number; /** * Remove items from the insured items that should not be returned to the player. * @@ -169,40 +167,23 @@ export declare class InsuranceController { * @returns void */ protected removeItemsFromInsurance(insured: Insurance, toDelete: Set): void; - /** - * Adopts orphaned items by resetting them as base-level items. Helpful in situations where a parent has been - * deleted from insurance, but any insured items within the parent should remain. This method will remove the - * reference from the children to the parent and set item properties to main-level values. - * - * @param insured Insurance object containing items. - */ - protected adoptOrphanedItems(insured: Insurance): void; - /** - * Fetches the parentId property of an item with a slotId "hideout". Not sure if this is actually dynamic, but this - * method should be a reliable way to fetch it, if it ever does change. - * - * @param items Array of items to search through. - * @returns The parentId of an item with slotId 'hideout'. Empty string if not found. - */ - protected fetchHideoutItemParent(items: Item[]): string; /** * Handle sending the insurance message to the user that potentially contains the valid insurance items. * * @param sessionID The session ID that should receive the insurance message. * @param insurance The context of insurance to use. - * @param noItems Whether or not there are any items to return to the player. * @returns void */ - protected sendMail(sessionID: string, insurance: Insurance, noItems: boolean): void; + protected sendMail(sessionID: string, insurance: Insurance): void; /** - * Determines whether a insured item should be removed from the player's inventory based on a random roll and + * Determines whether an insured item should be removed from the player's inventory based on a random roll and * trader-specific return chance. * * @param traderId The ID of the trader who insured the item. * @param insuredItem Optional. The item to roll for. Only used for logging. - * @returns true if the insured item should be removed from inventory, false otherwise. + * @returns true if the insured item should be removed from inventory, false otherwise, or null on error. */ - protected rollForDelete(traderId: string, insuredItem?: Item): boolean; + protected rollForDelete(traderId: string, insuredItem?: Item): boolean | null; /** * Handle Insure event * Add insurance to an item @@ -223,8 +204,3 @@ export declare class InsuranceController { */ cost(request: IGetInsuranceCostRequestData, sessionID: string): IGetInsuranceCostResponseData; } -interface EnrichedItem extends Item { - name: string; - maxPrice: number; -} -export {}; diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/InventoryController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/InventoryController.d.ts index 02e2127..04ddea9 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/InventoryController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/InventoryController.d.ts @@ -1,45 +1,47 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; protected itemHelper: ItemHelper; protected randomUtil: RandomUtil; protected databaseServer: DatabaseServer; @@ -47,6 +49,7 @@ export declare class InventoryController { protected presetHelper: PresetHelper; protected inventoryHelper: InventoryHelper; protected questHelper: QuestHelper; + protected hideoutHelper: HideoutHelper; protected ragfairOfferService: RagfairOfferService; protected profileHelper: ProfileHelper; protected paymentHelper: PaymentHelper; @@ -55,7 +58,8 @@ export declare class InventoryController { protected lootGenerator: LootGenerator; protected eventOutputHolder: EventOutputHolder; protected httpResponseUtil: HttpResponseUtil; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, itemHelper: ItemHelper, randomUtil: RandomUtil, databaseServer: DatabaseServer, fenceService: FenceService, presetHelper: PresetHelper, inventoryHelper: InventoryHelper, questHelper: QuestHelper, ragfairOfferService: RagfairOfferService, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, localisationService: LocalisationService, playerService: PlayerService, lootGenerator: LootGenerator, eventOutputHolder: EventOutputHolder, httpResponseUtil: HttpResponseUtil); + protected cloner: ICloner; + constructor(logger: ILogger, hashUtil: HashUtil, itemHelper: ItemHelper, randomUtil: RandomUtil, databaseServer: DatabaseServer, fenceService: FenceService, presetHelper: PresetHelper, inventoryHelper: InventoryHelper, questHelper: QuestHelper, hideoutHelper: HideoutHelper, ragfairOfferService: RagfairOfferService, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, localisationService: LocalisationService, playerService: PlayerService, lootGenerator: LootGenerator, eventOutputHolder: EventOutputHolder, httpResponseUtil: HttpResponseUtil, cloner: ICloner); /** * Move Item * change location of item with parentId and slotId @@ -64,55 +68,52 @@ export declare class InventoryController { * @param pmcData Profile * @param moveRequest Move request data * @param sessionID Session id - * @returns IItemEventRouterResponse + * @param output Client response */ - moveItem(pmcData: IPmcData, moveRequest: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; + moveItem(pmcData: IPmcData, moveRequest: IInventoryMoveRequestData, sessionID: string, output: IItemEventRouterResponse): void; /** * Get a event router response with inventory trader message * @param output Item event router response * @returns Item event router response */ - protected getTraderExploitErrorResponse(output: IItemEventRouterResponse): 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; + protected appendTraderExploitErrorResponse(output: IItemEventRouterResponse): void; /** * Handle Remove event * Implements functionality "Discard" from Main menu (Stash etc.) * Removes item from PMC Profile */ - discardItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; + discardItem(pmcData: IPmcData, request: IInventoryRemoveRequestData, sessionID: string, output: IItemEventRouterResponse): void; /** * Split Item * spliting 1 stack into 2 * @param pmcData Player profile (unused, getOwnerInventoryItems() gets profile) * @param request Split request * @param sessionID Session/player id + * @param output Client response * @returns IItemEventRouterResponse */ - splitItem(pmcData: IPmcData, request: IInventorySplitRequestData, sessionID: string): IItemEventRouterResponse; + splitItem(pmcData: IPmcData, request: IInventorySplitRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; /** * Fully merge 2 inventory stacks together into one stack (merging where both stacks remain is called 'transfer') * Deletes item from `body.item` and adding number of stacks into `body.with` * @param pmcData Player profile (unused, getOwnerInventoryItems() gets profile) * @param body Merge request * @param sessionID Player id + * @param output Client response * @returns IItemEventRouterResponse */ - mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string): IItemEventRouterResponse; + mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; /** * TODO: Adds no data to output to send to client, is this by design? - * TODO: should make use of getOwnerInventoryItems(), stack being transferred may not always be on pmc * Transfer items from one stack into another while keeping original stack * Used to take items from scav inventory into stash or to insert ammo into mags (shotgun ones) and reloading weapon by clicking "Reload" * @param pmcData Player profile * @param body Transfer request * @param sessionID Session id + * @param output Client response * @returns IItemEventRouterResponse */ - transferItem(pmcData: IPmcData, body: IInventoryTransferRequestData, sessionID: string): IItemEventRouterResponse; + transferItem(pmcData: IPmcData, body: IInventoryTransferRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; /** * Swap Item * its used for "reload" if you have weapon in hands and magazine is somewhere else in rig or backpack in equipment @@ -122,7 +123,7 @@ export declare class InventoryController { /** * Handles folding of Weapons */ - foldItem(pmcData: IPmcData, body: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse; + foldItem(pmcData: IPmcData, request: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse; /** * Toggles "Toggleable" items like night vision goggles and face shields. * @param pmcData player profile @@ -147,31 +148,37 @@ export declare class InventoryController { * @param sessionID Session id * @returns IItemEventRouterResponse */ - bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; + bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): void; /** * Unbind an inventory item from quick access menu at bottom of player screen * Handle unbind event * @param pmcData Player profile * @param bindRequest Request object * @param sessionID Session id - * @returns IItemEventRouterResponse + * @param output Client response */ - unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; + unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string, output: IItemEventRouterResponse): void; /** * Handles examining an item * @param pmcData player profile * @param body request object * @param sessionID session id + * @param output Client response * @returns response */ - examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], pmcProfile: IPmcData): void; + examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object - * @param body response request - * @returns tplid + * @param request Response request + * @returns tplId */ - protected getExaminedItemTpl(body: IInventoryExamineRequestData): string; + protected getExaminedItemTpl(request: IInventoryExamineRequestData): string; readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; /** * Handle ApplyInventoryChanges @@ -179,33 +186,33 @@ export declare class InventoryController { * @param pmcData Player profile * @param request sort request * @param sessionID Session id - * @returns IItemEventRouterResponse */ - sortInventory(pmcData: IPmcData, request: IInventorySortRequestData, sessionID: string): IItemEventRouterResponse; + sortInventory(pmcData: IPmcData, request: IInventorySortRequestData, sessionID: string): void; /** * Add note to a map * @param pmcData Player profile * @param request Add marker request * @param sessionID Session id + * @param output Client response * @returns IItemEventRouterResponse */ - createMapMarker(pmcData: IPmcData, request: IInventoryCreateMarkerRequestData, sessionID: string): IItemEventRouterResponse; + createMapMarker(pmcData: IPmcData, request: IInventoryCreateMarkerRequestData, sessionID: string, output: IItemEventRouterResponse): void; /** * Delete a map marker * @param pmcData Player profile * @param request Delete marker request * @param sessionID Session id - * @returns IItemEventRouterResponse + * @param output Client response */ - deleteMapMarker(pmcData: IPmcData, request: IInventoryDeleteMarkerRequestData, sessionID: string): IItemEventRouterResponse; + deleteMapMarker(pmcData: IPmcData, request: IInventoryDeleteMarkerRequestData, sessionID: string, output: IItemEventRouterResponse): void; /** * Edit an existing map marker * @param pmcData Player profile * @param request Edit marker request * @param sessionID Session id - * @returns IItemEventRouterResponse + * @param output Client response */ - editMapMarker(pmcData: IPmcData, request: IInventoryEditMarkerRequestData, sessionID: string): IItemEventRouterResponse; + editMapMarker(pmcData: IPmcData, request: IInventoryEditMarkerRequestData, sessionID: string, output: IItemEventRouterResponse): void; /** * Strip out characters from note string that are not: letter/numbers/unicode/spaces * @param mapNoteText Marker text to sanitise @@ -216,10 +223,11 @@ export declare class InventoryController { * Handle OpenRandomLootContainer event * Handle event fired when a container is unpacked (currently only the halloween pumpkin) * @param pmcData Profile data - * @param body open loot container request data + * @param body Open loot container request data * @param sessionID Session id - * @returns IItemEventRouterResponse + * @param output Client response */ - openRandomLootContainer(pmcData: IPmcData, body: IOpenRandomLootContainerRequestData, sessionID: string): IItemEventRouterResponse; - redeemProfileReward(pmcData: IPmcData, request: IRedeemProfileRequestData, sessionId: string): IItemEventRouterResponse; + openRandomLootContainer(pmcData: IPmcData, body: IOpenRandomLootContainerRequestData, sessionID: string, output: IItemEventRouterResponse): void; + redeemProfileReward(pmcData: IPmcData, request: IRedeemProfileRequestData, sessionId: string): void; + setFavoriteItem(pmcData: IPmcData, request: ISetFavoriteItems, sessionId: string): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/LauncherController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/LauncherController.d.ts index 5de2416..58bc7b2 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/LauncherController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/LauncherController.d.ts @@ -1,31 +1,35 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; + protected timeUtil: TimeUtil; + protected randomUtil: RandomUtil; protected saveServer: SaveServer; protected httpServerHelper: HttpServerHelper; protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" @@ -36,8 +40,15 @@ export declare class LauncherController { login(info: ILoginRequestData): string; register(info: IRegisterData): string; protected createAccount(info: IRegisterData): string; + protected generateProfileId(): string; + protected formatID(timeStamp: number, counter: number): string; changeUsername(info: IChangeRequestData): string; changePassword(info: IChangeRequestData): string; + /** + * Handle launcher requesting profile be wiped + * @param info IRegisterData + * @returns Session id + */ wipe(info: IRegisterData): string; getCompatibleTarkovVersion(): string; /** diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/LocationController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/LocationController.d.ts index eb4144a..f1d5e0c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/LocationController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/LocationController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { - protected jsonUtil: JsonUtil; protected hashUtil: HashUtil; protected randomUtil: RandomUtil; protected weightedRandomHelper: WeightedRandomHelper; @@ -28,14 +28,16 @@ export declare class LocationController { protected locationGenerator: LocationGenerator; protected localisationService: LocalisationService; protected raidTimeAdjustmentService: RaidTimeAdjustmentService; + protected itemFilterService: ItemFilterService; protected lootGenerator: LootGenerator; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected configServer: ConfigServer; protected applicationContext: ApplicationContext; + protected cloner: ICloner; protected airdropConfig: IAirdropConfig; protected locationConfig: ILocationConfig; - constructor(jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, weightedRandomHelper: WeightedRandomHelper, logger: ILogger, locationGenerator: LocationGenerator, localisationService: LocalisationService, raidTimeAdjustmentService: RaidTimeAdjustmentService, lootGenerator: LootGenerator, databaseServer: DatabaseServer, timeUtil: TimeUtil, configServer: ConfigServer, applicationContext: ApplicationContext); + constructor(hashUtil: HashUtil, randomUtil: RandomUtil, weightedRandomHelper: WeightedRandomHelper, logger: ILogger, locationGenerator: LocationGenerator, localisationService: LocalisationService, raidTimeAdjustmentService: RaidTimeAdjustmentService, itemFilterService: ItemFilterService, lootGenerator: LootGenerator, databaseServer: DatabaseServer, timeUtil: TimeUtil, configServer: ConfigServer, applicationContext: ApplicationContext, cloner: ICloner); /** * Handle client/location/getLocalloot * Get a location (map) with generated loot data @@ -59,7 +61,7 @@ export declare class LocationController { generateAll(sessionId: string): ILocationsGenerateAllResponse; /** * Handle client/location/getAirdropLoot - * Get loot for an airdop container + * Get loot for an airdrop container * Generates it randomly based on config/airdrop.json values * @returns Array of LootItem objects */ diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/MatchController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/MatchController.d.ts index ca950b1..c08ebb0 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/MatchController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/MatchController.d.ts @@ -1,31 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICreateGroupRequestData } from "@spt-aki/models/eft/match/ICreateGroupRequestData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetGroupStatusRequestData } from "@spt-aki/models/eft/match/IGetGroupStatusRequestData"; -import { IGetGroupStatusResponse } from "@spt-aki/models/eft/match/IGetGroupStatusResponse"; -import { IGetProfileRequestData } from "@spt-aki/models/eft/match/IGetProfileRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IJoinMatchRequestData } from "@spt-aki/models/eft/match/IJoinMatchRequestData"; -import { IJoinMatchResult } from "@spt-aki/models/eft/match/IJoinMatchResult"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; @@ -43,21 +41,17 @@ export declare class MatchController { protected lootGenerator: LootGenerator; protected applicationContext: ApplicationContext; protected matchConfig: IMatchConfig; - protected inraidConfig: IInRaidConfig; + protected inRaidConfig: IInRaidConfig; protected traderConfig: ITraderConfig; protected pmcConfig: IPmcConfig; constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, randomUtil: RandomUtil, hashUtil: HashUtil, profileHelper: ProfileHelper, matchLocationService: MatchLocationService, traderHelper: TraderHelper, botLootCacheService: BotLootCacheService, configServer: ConfigServer, profileSnapshotService: ProfileSnapshotService, botGenerationCacheService: BotGenerationCacheService, mailSendService: MailSendService, lootGenerator: LootGenerator, applicationContext: ApplicationContext); getEnabled(): boolean; - /** Handle raid/profile/list */ - getProfile(info: IGetProfileRequestData): IPmcData[]; - /** Handle client/match/group/create */ - createGroup(sessionID: string, info: ICreateGroupRequestData): any; /** Handle client/match/group/delete */ deleteGroup(info: any): void; /** Handle match/group/start_game */ - joinMatch(info: IJoinMatchRequestData, sessionId: string): IJoinMatchResult; + joinMatch(info: IMatchGroupStartGameRequest, sessionId: string): IProfileStatusResponse; /** Handle client/match/group/status */ - getGroupStatus(info: IGetGroupStatusRequestData): IGetGroupStatusResponse; + getGroupStatus(info: IMatchGroupStatusRequest): IMatchGroupStatusResponse; /** * Handle /client/raid/configuration * @param request Raid config request @@ -81,10 +75,11 @@ export declare class MatchController { protected sendCoopTakenFenceMessage(sessionId: string): void; /** * Handle when a player extracts using a coop extract - add rep to fence + * @param sessionId Session/player id * @param pmcData Profile * @param extractName Name of extract taken */ - protected handleCoopExtract(pmcData: IPmcData, extractName: string): void; + protected handleCoopExtract(sessionId: string, pmcData: IPmcData, extractName: string): void; /** * Was extract by car * @param extractName name of extract diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/NoteController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/NoteController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/NotifierController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/NotifierController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/PresetBuildController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/PresetBuildController.d.ts deleted file mode 100644 index 7aa10e1..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/PresetBuildController.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class PresetBuildController { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected eventOutputHolder: EventOutputHolder; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected saveServer: SaveServer; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, jsonUtil: JsonUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, saveServer: SaveServer); - /** Handle client/handbook/builds/my/list */ - getUserBuilds(sessionID: string): IUserBuilds; - /** Handle SaveWeaponBuild event */ - saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionId: string): IItemEventRouterResponse; - /** Handle SaveEquipmentBuild event */ - saveEquipmentBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - protected saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string, buildType: string): IItemEventRouterResponse; - /** Handle RemoveWeaponBuild event*/ - removeBuild(pmcData: IPmcData, body: IRemoveBuildRequestData, sessionID: string): IItemEventRouterResponse; - /** Handle RemoveWeaponBuild event*/ - removeWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - /** Handle RemoveEquipmentBuild event*/ - removeEquipmentBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - protected removePlayerBuild(pmcData: IPmcData, id: string, sessionID: string): IItemEventRouterResponse; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/PresetController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/PresetController.d.ts index c1ae523..0098a41 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/PresetController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/PresetController.d.ts @@ -1,8 +1,10 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { + protected logger: ILogger; protected presetHelper: PresetHelper; protected databaseServer: DatabaseServer; - constructor(presetHelper: PresetHelper, databaseServer: DatabaseServer); + constructor(logger: ILogger, presetHelper: PresetHelper, databaseServer: DatabaseServer); initialize(): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/ProfileController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/ProfileController.d.ts index b1b7b8b..e39a632 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/ProfileController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/ProfileController.d.ts @@ -1,28 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -32,6 +36,7 @@ export declare class ProfileController { protected itemHelper: ItemHelper; protected profileFixerService: ProfileFixerService; protected localisationService: LocalisationService; + protected seasonalEventService: SeasonalEventService; protected mailSendService: MailSendService; protected playerScavGenerator: PlayerScavGenerator; protected eventOutputHolder: EventOutputHolder; @@ -39,7 +44,7 @@ export declare class ProfileController { protected dialogueHelper: DialogueHelper; protected questHelper: QuestHelper; protected profileHelper: ProfileHelper; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, mailSendService: MailSendService, playerScavGenerator: PlayerScavGenerator, eventOutputHolder: EventOutputHolder, traderHelper: TraderHelper, dialogueHelper: DialogueHelper, questHelper: QuestHelper, profileHelper: ProfileHelper); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, seasonalEventService: SeasonalEventService, mailSendService: MailSendService, playerScavGenerator: PlayerScavGenerator, eventOutputHolder: EventOutputHolder, traderHelper: TraderHelper, dialogueHelper: DialogueHelper, questHelper: QuestHelper, profileHelper: ProfileHelper); /** * Handle /launcher/profiles */ @@ -59,6 +64,11 @@ export declare class ProfileController { * @returns Profiles _id value */ createProfile(info: IProfileCreateRequestData, sessionID: string): string; + /** + * make profiles pmcData.Inventory.equipment unique + * @param pmcData Profile to update + */ + protected updateInventoryEquipmentId(pmcData: IPmcData): void; /** * Delete a profile * @param sessionID Id of profile to delete @@ -71,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset @@ -101,4 +111,9 @@ export declare class ProfileController { * Handle client/game/profile/search */ getFriends(info: ISearchFriendRequestData, sessionID: string): ISearchFriendResponse[]; + /** + * Handle client/profile/status + */ + getProfileStatus(sessionId: string): GetProfileStatusResponseData; + getOtherProfile(sessionId: string, request: IGetOtherProfileRequest): IGetOtherProfileResponse; } diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/QuestController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/QuestController.d.ts index 140573b..0a32b05 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/QuestController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/QuestController.d.ts @@ -1,35 +1,35 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { AvailableForConditions, IQuest, Reward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; - protected jsonUtil: JsonUtil; protected httpResponseUtil: HttpResponseUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; @@ -45,8 +45,9 @@ export declare class QuestController { protected seasonalEventService: SeasonalEventService; protected localisationService: LocalisationService; protected configServer: ConfigServer; + protected cloner: ICloner; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, jsonUtil: JsonUtil, httpResponseUtil: HttpResponseUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, itemHelper: ItemHelper, dialogueHelper: DialogueHelper, mailSendService: MailSendService, profileHelper: ProfileHelper, traderHelper: TraderHelper, questHelper: QuestHelper, questConditionHelper: QuestConditionHelper, playerService: PlayerService, localeService: LocaleService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, httpResponseUtil: HttpResponseUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, itemHelper: ItemHelper, dialogueHelper: DialogueHelper, mailSendService: MailSendService, profileHelper: ProfileHelper, traderHelper: TraderHelper, questHelper: QuestHelper, questConditionHelper: QuestConditionHelper, playerService: PlayerService, localeService: LocaleService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, cloner: ICloner); /** * Handle client/quest/list * Get all quests visible to player @@ -68,12 +69,6 @@ export declare class QuestController { * @returns true = show to player */ protected showEventQuestToPlayer(questId: string): boolean; - /** - * Is the quest for the opposite side the player is on - * @param playerSide Player side (usec/bear) - * @param questId QuestId to check - */ - protected questIsForOtherSide(playerSide: string, questId: string): boolean; /** * Handle QuestAccept event * Handle the client accepting a quest and starting it @@ -113,6 +108,12 @@ export declare class QuestController { * @returns ItemEvent client response */ completeQuest(pmcData: IPmcData, body: ICompleteQuestRequestData, sessionID: string): IItemEventRouterResponse; + /** + * Return a list of quests that would fail when supplied quest is completed + * @param completedQuestId quest completed id + * @returns array of IQuest objects + */ + protected getQuestsFailedByCompletingQuest(completedQuestId: string, pmcProfile: IPmcData): IQuest[]; /** * Remove a quest entirely from a profile * @param sessionId Player id @@ -133,7 +134,7 @@ export declare class QuestController { * @param completedQuestId Completed quest id * @param questRewards Rewards given to player */ - protected sendSuccessDialogMessageOnQuestComplete(sessionID: string, pmcData: IPmcData, completedQuestId: string, questRewards: Reward[]): void; + protected sendSuccessDialogMessageOnQuestComplete(sessionID: string, pmcData: IPmcData, completedQuestId: string, questRewards: Item[]): void; /** * Look for newly available quests after completing a quest with a requirement to wait x minutes (time-locked) before being available and add data to profile * @param pmcData Player profile to update @@ -141,12 +142,6 @@ export declare class QuestController { * @param completedQuestId Quest just completed */ protected addTimeLockedQuestsToProfile(pmcData: IPmcData, quests: IQuest[], completedQuestId: string): 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 provided quests * Update quest in profile, otherwise add fresh quest object with failed status @@ -179,7 +174,7 @@ export declare class QuestController { * @param output Response to send to user * @returns IItemEventRouterResponse */ - protected showQuestItemHandoverMatchError(handoverQuestRequest: IHandoverQuestRequestData, itemHandedOver: Item, handoverRequirements: AvailableForConditions, output: IItemEventRouterResponse): IItemEventRouterResponse; + protected showQuestItemHandoverMatchError(handoverQuestRequest: IHandoverQuestRequestData, itemHandedOver: Item, handoverRequirements: IQuestCondition, output: IItemEventRouterResponse): IItemEventRouterResponse; /** * Increment a backend counter stored value by an amount, * Create counter if it does not exist @@ -188,5 +183,13 @@ export declare class QuestController { * @param questId quest id counter is associated with * @param counterValue value to increment the backend counter with */ - protected updateProfileBackendCounterValue(pmcData: IPmcData, conditionId: string, questId: string, counterValue: number): void; + protected updateProfileTaskConditionCounterValue(pmcData: IPmcData, conditionId: string, questId: string, counterValue: number): void; + /** + * Handle /client/game/profile/items/moving - QuestFail + * @param pmcData Pmc profile + * @param request Fail qeust request + * @param sessionID Session id + * @returns IItemEventRouterResponse + */ + failQuest(pmcData: IPmcData, request: IFailQuestRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; } diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/RagfairController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/RagfairController.d.ts index 71cbbbc..9567d62 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/RagfairController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/RagfairController.d.ts @@ -1,43 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -69,9 +70,17 @@ export declare class RagfairController { protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; constructor(logger: ILogger, timeUtil: TimeUtil, httpResponse: HttpResponseUtil, eventOutputHolder: EventOutputHolder, ragfairServer: RagfairServer, ragfairPriceService: RagfairPriceService, databaseServer: DatabaseServer, itemHelper: ItemHelper, saveServer: SaveServer, ragfairSellHelper: RagfairSellHelper, ragfairTaxService: RagfairTaxService, ragfairSortHelper: RagfairSortHelper, ragfairOfferHelper: RagfairOfferHelper, profileHelper: ProfileHelper, paymentService: PaymentService, handbookHelper: HandbookHelper, paymentHelper: PaymentHelper, inventoryHelper: InventoryHelper, traderHelper: TraderHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, ragfairOfferGenerator: RagfairOfferGenerator, localisationService: LocalisationService, configServer: ConfigServer); + /** + * Handles client/ragfair/find + * Returns flea offers that match required search parameters + * @param sessionID Player id + * @param searchRequest Search request data + * @returns IGetOffersResult + */ getOffers(sessionID: string, searchRequest: ISearchRequestData): IGetOffersResult; /** - * Handle client/ragfair/offer/findbyid + * Handle client/ragfair/offer/findbyid + * Occurs when searching for `#x` on flea * @param sessionId Player id * @param request Request data * @returns IRagfairOffer @@ -80,7 +89,7 @@ export declare class RagfairController { /** * Get offers for the client based on type of search being performed * @param searchRequest Client search request data - * @param itemsToAdd comes from ragfairHelper.filterCategories() + * @param itemsToAdd Comes from ragfairHelper.filterCategories() * @param traderAssorts Trader assorts * @param pmcProfile Player profile * @returns array of offers @@ -89,18 +98,10 @@ export declare class RagfairController { /** * Get categories for the type of search being performed, linked/required/all * @param searchRequest Client search request data - * @param offers ragfair offers to get categories for - * @returns record with tpls + counts + * @param offers Ragfair offers to get categories for + * @returns record with templates + counts */ protected getSpecificCategories(pmcProfile: IPmcData, searchRequest: ISearchRequestData, offers: IRagfairOffer[]): Record; - /** - * Add Required offers to offers result - * @param searchRequest Client search request data - * @param assorts - * @param pmcProfile Player profile - * @param result Result object being sent back to client - */ - protected addRequiredOffersToResult(searchRequest: ISearchRequestData, assorts: Record, pmcProfile: IPmcData, result: IGetOffersResult): void; /** * Add index to all offers passed in (0-indexed) * @param offers Offers to add index value to @@ -108,16 +109,26 @@ export declare class RagfairController { protected addIndexValueToOffers(offers: IRagfairOffer[]): void; /** * Update a trader flea offer with buy restrictions stored in the traders assort - * @param offer flea offer to update - * @param profile full profile of player + * @param offer Flea offer to update + * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, profile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count - * @param offer Flea offer to adjust + * @param offer Flea offer to adjust stack size of */ protected setTraderOfferStackSize(offer: IRagfairOffer): void; + /** + * Is the flea search being performed a 'linked' search type + * @param info Search request + * @returns True if it is a 'linked' search type + */ protected isLinkedSearch(info: ISearchRequestData): boolean; + /** + * Is the flea search being performed a 'required' search type + * @param info Search request + * @returns True if it is a 'required' search type + */ protected isRequiredSearch(info: ISearchRequestData): boolean; /** * Check all profiles and sell player offers / send player money for listing if it sold @@ -163,25 +174,33 @@ export declare class RagfairController { */ protected calculateRequirementsPriceInRub(requirements: Requirement[]): number; /** - * Using item ids from flea offer request, find corrispnding items from player inventory and return as array + * Using item ids from flea offer request, find corresponding items from player inventory and return as array * @param pmcData Player profile * @param itemIdsFromFleaOfferRequest Ids from request - * @param errorMessage if item is not found, add error message to this parameter * @returns Array of items from player inventory */ - protected getItemsToListOnFleaFromInventory(pmcData: IPmcData, itemIdsFromFleaOfferRequest: string[], errorMessage: string): Item[]; - createPlayerOffer(profile: IAkiProfile, requirements: Requirement[], items: Item[], sellInOnePiece: boolean, amountToSend: number): IRagfairOffer; + protected getItemsToListOnFleaFromInventory(pmcData: IPmcData, itemIdsFromFleaOfferRequest: string[]): { + items: Item[] | null; + errorMessage: string | null; + }; + createPlayerOffer(sessionId: string, requirements: Requirement[], items: Item[], sellInOnePiece: boolean): IRagfairOffer; getAllFleaPrices(): Record; getStaticPrices(): Record; /** * User requested removal of the offer, actually reduces the time to 71 seconds, * allowing for the possibility of extending the auction before it's end time - * @param offerId offer to 'remove' - * @param sessionID Players id + * @param removeRequest Remove offer request + * @param sessionId Players id * @returns IItemEventRouterResponse */ - removeOffer(offerId: string, sessionID: string): IItemEventRouterResponse; - extendOffer(info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; + removeOffer(removeRequest: IRemoveOfferRequestData, sessionId: string): IItemEventRouterResponse; + /** + * Extend a ragfair offers listing time + * @param extendRequest Extend offer request + * @param sessionId Players id + * @returns IItemEventRouterResponse + */ + extendOffer(extendRequest: IExtendOfferRequestData, sessionId: string): IItemEventRouterResponse; /** * Create a basic trader request object with price and currency type * @param currency What currency: RUB, EURO, USD diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/RepairController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/RepairController.d.ts index 070f348..61726ef 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/RepairController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/RepairController.d.ts @@ -1,16 +1,17 @@ -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; @@ -20,8 +21,9 @@ export declare class RepairController { protected paymentService: PaymentService; protected repairHelper: RepairHelper; protected repairService: RepairService; + protected profileHelper: ProfileHelper; protected repairConfig: IRepairConfig; - constructor(logger: ILogger, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, repairService: RepairService); + constructor(logger: ILogger, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, repairService: RepairService, profileHelper: ProfileHelper); /** * Handle TraderRepair event * Repair with trader diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/RepeatableQuestController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/RepeatableQuestController.d.ts index 7068128..e0f3753 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/RepeatableQuestController.d.ts @@ -1,36 +1,34 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected randomUtil: RandomUtil; protected httpResponse: HttpResponseUtil; - protected jsonUtil: JsonUtil; protected profileHelper: ProfileHelper; protected profileFixerService: ProfileFixerService; - protected ragfairServerHelper: RagfairServerHelper; protected eventOutputHolder: EventOutputHolder; protected paymentService: PaymentService; protected objectId: ObjectId; @@ -38,8 +36,9 @@ export declare class RepeatableQuestController { protected repeatableQuestHelper: RepeatableQuestHelper; protected questHelper: QuestHelper; protected configServer: ConfigServer; + protected cloner: ICloner; protected questConfig: IQuestConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, randomUtil: RandomUtil, httpResponse: HttpResponseUtil, jsonUtil: JsonUtil, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, ragfairServerHelper: RagfairServerHelper, eventOutputHolder: EventOutputHolder, paymentService: PaymentService, objectId: ObjectId, repeatableQuestGenerator: RepeatableQuestGenerator, repeatableQuestHelper: RepeatableQuestHelper, questHelper: QuestHelper, configServer: ConfigServer); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, randomUtil: RandomUtil, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, eventOutputHolder: EventOutputHolder, paymentService: PaymentService, objectId: ObjectId, repeatableQuestGenerator: RepeatableQuestGenerator, repeatableQuestHelper: RepeatableQuestHelper, questHelper: QuestHelper, configServer: ConfigServer, cloner: ICloner); /** * Handle client/repeatalbeQuests/activityPeriods * Returns an array of objects in the format of repeatable quests to the client. @@ -62,9 +61,9 @@ export declare class RepeatableQuestController { * The new quests generated are again persisted in profile.RepeatableQuests * * @param {string} _info Request from client - * @param {string} sessionID Player's session id + * @param {string} sessionID Player's session id * - * @returns {array} array of "repeatableQuestObjects" as descibed above + * @returns {array} Array of "repeatableQuestObjects" as described above */ getClientRepeatableQuests(_info: IEmptyRequestData, sessionID: string): IPmcDataRepeatableQuest[]; /** @@ -95,6 +94,20 @@ export declare class RepeatableQuestController { */ protected generateQuestPool(repeatableConfig: IRepeatableQuestConfig, pmcLevel: number): IQuestTypePool; protected createBaseQuestPool(repeatableConfig: IRepeatableQuestConfig): IQuestTypePool; + /** + * Return the locations this PMC is allowed to get daily quests for based on their level + * @param locations The original list of locations + * @param pmcLevel The level of the player PMC + * @returns A filtered list of locations that allow the player PMC level to access it + */ + protected getAllowedLocations(locations: Record, pmcLevel: number): Partial>; + /** + * Return true if the given pmcLevel is allowed on the given location + * @param location The location name to check + * @param pmcLevel The level of the pmc + * @returns True if the given pmc level is allowed to access the given location + */ + protected isPmcLevelAllowedOnLocation(location: string, pmcLevel: number): boolean; debugLogRepeatableQuestIds(pmcData: IPmcData): void; /** * Handle RepeatableQuestChange event diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/TradeController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/TradeController.d.ts index 3824e2b..9daed8c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/TradeController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/TradeController.d.ts @@ -1,57 +1,90 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; + protected databaseServer: DatabaseServer; protected eventOutputHolder: EventOutputHolder; protected tradeHelper: TradeHelper; + protected timeUtil: TimeUtil; + protected randomUtil: RandomUtil; + protected hashUtil: HashUtil; protected itemHelper: ItemHelper; protected profileHelper: ProfileHelper; protected traderHelper: TraderHelper; - protected jsonUtil: JsonUtil; protected ragfairServer: RagfairServer; protected httpResponse: HttpResponseUtil; protected localisationService: LocalisationService; protected ragfairPriceService: RagfairPriceService; + protected mailSendService: MailSendService; protected configServer: ConfigServer; + protected roubleTpl: string; protected ragfairConfig: IRagfairConfig; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, eventOutputHolder: EventOutputHolder, tradeHelper: TradeHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, traderHelper: TraderHelper, jsonUtil: JsonUtil, ragfairServer: RagfairServer, httpResponse: HttpResponseUtil, localisationService: LocalisationService, ragfairPriceService: RagfairPriceService, configServer: ConfigServer); + constructor(logger: ILogger, databaseServer: DatabaseServer, eventOutputHolder: EventOutputHolder, tradeHelper: TradeHelper, timeUtil: TimeUtil, randomUtil: RandomUtil, hashUtil: HashUtil, itemHelper: ItemHelper, profileHelper: ProfileHelper, traderHelper: TraderHelper, ragfairServer: RagfairServer, httpResponse: HttpResponseUtil, localisationService: LocalisationService, ragfairPriceService: RagfairPriceService, mailSendService: MailSendService, configServer: ConfigServer); /** Handle TradingConfirm event */ confirmTrading(pmcData: IPmcData, request: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; /** Handle RagFairBuyOffer event */ - confirmRagfairTrading(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; + confirmRagfairTrading(pmcData: IPmcData, request: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; + /** + * Buy an item off the flea sold by a trader + * @param sessionId Session id + * @param pmcData Player profile + * @param fleaOffer Offer being purchased + * @param requestOffer request data from client + * @param output Output to send back to client + */ + protected buyTraderItemFromRagfair(sessionId: string, pmcData: IPmcData, fleaOffer: IRagfairOffer, requestOffer: IOfferRequest, output: IItemEventRouterResponse): void; + /** + * Buy an item off the flea sold by a PMC + * @param sessionId Session id + * @param pmcData Player profile + * @param fleaOffer Offer being purchased + * @param requestOffer Request data from client + * @param output Output to send back to client + */ + protected buyPmcItemFromRagfair(sessionId: string, pmcData: IPmcData, fleaOffer: IRagfairOffer, requestOffer: IOfferRequest, output: IItemEventRouterResponse): void; + /** + * Does Player have necessary trader loyalty to purchase flea offer + * @param sellerIsTrader is seller trader + * @param fleaOffer FLea offer being bought + * @param pmcData Player profile + * @returns True if player can buy offer + */ + protected playerLacksTraderLoyaltyLevelToBuyOffer(fleaOffer: IRagfairOffer, pmcData: IPmcData): boolean; /** Handle SellAllFromSavage event */ sellScavItemsToFence(pmcData: IPmcData, request: ISellScavItemsToFenceRequestData, sessionId: string): IItemEventRouterResponse; /** - * Sell all sellable items to a trader from inventory - * WILL DELETE ITEMS FROM INVENTORY + CHILDREN OF ITEMS SOLD + * Send the specified rouble total to player as mail * @param sessionId Session id - * @param profileWithItemsToSell Profile with items to be sold to trader - * @param profileThatGetsMoney Profile that gets the money after selling items * @param trader Trader to sell items to - * @returns IItemEventRouterResponse + * @param output IItemEventRouterResponse */ - protected sellInventoryToTrader(sessionId: string, profileWithItemsToSell: IPmcData, profileThatGetsMoney: IPmcData, trader: Traders): IItemEventRouterResponse; + protected mailMoneyToPlayer(sessionId: string, roublesToSend: number, trader: Traders): void; /** * Looks up an items children and gets total handbook price for them * @param parentItemId parent item that has children we want to sum price of @@ -61,5 +94,4 @@ export declare class TradeController { * @returns Rouble price */ protected getPriceOfItemAndChildren(parentItemId: string, items: Item[], handbookPrices: Record, traderDetails: ITraderBase): number; - protected confirmTradingInternal(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string, foundInRaid?: boolean, upd?: Upd): IItemEventRouterResponse; } diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/TraderController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/TraderController.d.ts index d85977f..9a85203 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/TraderController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/TraderController.d.ts @@ -1,16 +1,20 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; + protected timeUtil: TimeUtil; protected databaseServer: DatabaseServer; protected traderAssortHelper: TraderAssortHelper; protected profileHelper: ProfileHelper; @@ -19,11 +23,13 @@ export declare class TraderController { protected traderPurchasePersisterService: TraderPurchasePersisterService; protected fenceService: FenceService; protected fenceBaseAssortGenerator: FenceBaseAssortGenerator; - protected jsonUtil: JsonUtil; - constructor(logger: ILogger, databaseServer: DatabaseServer, traderAssortHelper: TraderAssortHelper, profileHelper: ProfileHelper, traderHelper: TraderHelper, traderAssortService: TraderAssortService, traderPurchasePersisterService: TraderPurchasePersisterService, fenceService: FenceService, fenceBaseAssortGenerator: FenceBaseAssortGenerator, jsonUtil: JsonUtil); + protected configServer: ConfigServer; + protected cloner: ICloner; + protected traderConfig: ITraderConfig; + constructor(logger: ILogger, timeUtil: TimeUtil, databaseServer: DatabaseServer, traderAssortHelper: TraderAssortHelper, profileHelper: ProfileHelper, traderHelper: TraderHelper, traderAssortService: TraderAssortService, traderPurchasePersisterService: TraderPurchasePersisterService, fenceService: FenceService, fenceBaseAssortGenerator: FenceBaseAssortGenerator, configServer: ConfigServer, cloner: ICloner); /** * Runs when onLoad event is fired - * Iterate over traders, ensure an unmolested copy of their assorts is stored in traderAssortService + * Iterate over traders, ensure a pristine copy of their assorts is stored in traderAssortService * Store timestamp of next assort refresh in nextResupply property of traders .base object */ load(): void; diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/WeatherController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/WeatherController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/23CustomAbstractChatBot/types/controllers/WishlistController.d.ts b/TypeScript/23CustomAbstractChatBot/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/23CustomAbstractChatBot/types/controllers/WishlistController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/23CustomAbstractChatBot/types/di/Router.d.ts b/TypeScript/23CustomAbstractChatBot/types/di/Router.d.ts index b77dece..01ca547 100644 --- a/TypeScript/23CustomAbstractChatBot/types/di/Router.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -11,20 +11,20 @@ export declare class Router { export declare class StaticRouter extends Router { private routes; constructor(routes: RouteAction[]); - handleStatic(url: string, info: any, sessionID: string, output: string): any; + handleStatic(url: string, info: any, sessionID: string, output: string): Promise; getHandledRoutes(): HandledRoute[]; } export declare class DynamicRouter extends Router { private routes; constructor(routes: RouteAction[]); - handleDynamic(url: string, info: any, sessionID: string, output: string): any; + handleDynamic(url: string, info: any, sessionID: string, output: string): Promise; getHandledRoutes(): HandledRoute[]; } export declare class ItemEventRouterDefinition extends Router { - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; + handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; @@ -33,6 +33,6 @@ export declare class HandledRoute { } 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); + action: (url: string, info: any, sessionID: string, output: string) => Promise; + constructor(url: string, action: (url: string, info: any, sessionID: string, output: string) => Promise); } diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/BotEquipmentModGenerator.d.ts index 2e73798..a74010c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/BotEquipmentModGenerator.d.ts @@ -1,27 +1,33 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentFilterDetails, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; +import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { protected logger: ILogger; - protected jsonUtil: JsonUtil; protected hashUtil: HashUtil; protected randomUtil: RandomUtil; protected probabilityHelper: ProbabilityHelper; @@ -34,39 +40,49 @@ export declare class BotEquipmentModGenerator { protected botHelper: BotHelper; protected botGeneratorHelper: BotGeneratorHelper; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; + protected weightedRandomHelper: WeightedRandomHelper; + protected presetHelper: PresetHelper; protected localisationService: LocalisationService; protected botEquipmentModPoolService: BotEquipmentModPoolService; protected configServer: ConfigServer; + protected cloner: ICloner; protected botConfig: IBotConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, probabilityHelper: ProbabilityHelper, databaseServer: DatabaseServer, itemHelper: ItemHelper, botEquipmentFilterService: BotEquipmentFilterService, itemFilterService: ItemFilterService, profileHelper: ProfileHelper, botWeaponModLimitService: BotWeaponModLimitService, botHelper: BotHelper, botGeneratorHelper: BotGeneratorHelper, botWeaponGeneratorHelper: BotWeaponGeneratorHelper, localisationService: LocalisationService, botEquipmentModPoolService: BotEquipmentModPoolService, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, probabilityHelper: ProbabilityHelper, databaseServer: DatabaseServer, itemHelper: ItemHelper, botEquipmentFilterService: BotEquipmentFilterService, itemFilterService: ItemFilterService, profileHelper: ProfileHelper, botWeaponModLimitService: BotWeaponModLimitService, botHelper: BotHelper, botGeneratorHelper: BotGeneratorHelper, botWeaponGeneratorHelper: BotWeaponGeneratorHelper, weightedRandomHelper: WeightedRandomHelper, presetHelper: PresetHelper, localisationService: LocalisationService, botEquipmentModPoolService: BotEquipmentModPoolService, configServer: ConfigServer, cloner: ICloner); /** * Check mods are compatible and add to array * @param equipment Equipment item to add mods to * @param modPool Mod list to choose frm * @param parentId parentid of item to add mod to * @param parentTemplate template objet of item to add mods to - * @param modSpawnChances dictionary of mod items and their chance to spawn for this bot type - * @param botRole the bot role being generated for * @param forceSpawn should this mod be forced to spawn * @returns Item + compatible mods as an array */ - generateModsForEquipment(equipment: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances, botRole: string, forceSpawn?: boolean): Item[]; + generateModsForEquipment(equipment: Item[], parentId: string, parentTemplate: ITemplateItem, settings: IGenerateEquipmentProperties, shouldForceSpawn?: boolean): Item[]; + /** + * Filter a bots plate pool based on its current level + * @param settings Bot equipment generation settings + * @param modSlot Armor slot being filtered + * @param existingPlateTplPool Plates tpls to choose from + * @param armorItem + * @returns Array of plate tpls to choose from + */ + protected filterPlateModsForSlotByLevel(settings: IGenerateEquipmentProperties, modSlot: string, existingPlateTplPool: string[], armorItem: ITemplateItem): IFilterPlateModsForSlotByLevelResult; /** * Add mods to a weapon using the provided mod pool * @param sessionId session id * @param weapon Weapon to add mods to * @param modPool Pool of compatible mods to attach to weapon - * @param weaponParentId parentId of weapon + * @param weaponId parentId of weapon * @param parentTemplate Weapon which mods will be generated on * @param modSpawnChances Mod spawn chances * @param ammoTpl Ammo tpl to use when generating magazines/cartridges * @param botRole Role of bot weapon is generated for - * @param botLevel lvel of the bot weapon is being generated for - * @param modLimits limits placed on certian mod types per gun + * @param botLevel Level of the bot weapon is being generated for + * @param modLimits limits placed on certain mod types per gun * @param botEquipmentRole role of bot when accessing bot.json equipment config settings * @returns Weapon + mods array */ - generateModsForWeapon(sessionId: string, weapon: Item[], modPool: Mods, weaponParentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances, ammoTpl: string, botRole: string, botLevel: number, modLimits: BotModLimits, botEquipmentRole: string): Item[]; + generateModsForWeapon(sessionId: string, weapon: Item[], modPool: Mods, weaponId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances, ammoTpl: string, botRole: string, botLevel: number, modLimits: BotModLimits, botEquipmentRole: string): Item[]; /** * Is this modslot a front or rear sight * @param modSlot Slot to check @@ -93,16 +109,16 @@ export declare class BotEquipmentModGenerator { * @param parentTemplate item template * @returns Slot item */ - protected getModItemSlot(modSlot: string, parentTemplate: ITemplateItem): Slot; + protected getModItemSlotFromDb(modSlot: string, parentTemplate: ITemplateItem): Slot; /** * 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 + * @param botEquipConfig Various config settings for generating this type of bot + * @returns ModSpawn.SPAWN when mod should be spawned, ModSpawn.DEFAULT_MOD when default mod should spawn, ModSpawn.SKIP when mod is skipped */ - protected shouldModBeSpawned(itemSlot: Slot, modSlot: string, modSpawnChances: ModsChances): boolean; + protected shouldModBeSpawned(itemSlot: Slot, modSlot: string, modSpawnChances: ModsChances, botEquipConfig: EquipmentFilters): ModSpawn; /** * @param modSlot Slot mod will fit into * @param isRandomisableSlot Will generate a randomised mod pool if true @@ -112,9 +128,32 @@ export declare class BotEquipmentModGenerator { * @param weapon array with only weapon tpl in it, ready for mods to be added * @param ammoTpl ammo tpl to use if slot requires a cartridge to be added (e.g. mod_magazine) * @param parentTemplate Parent item the mod will go into - * @returns ITemplateItem + * @returns itemHelper.getItem() result */ - protected chooseModToPutIntoSlot(modSlot: string, isRandomisableSlot: boolean, botWeaponSightWhitelist: Record, botEquipBlacklist: EquipmentFilterDetails, itemModPool: Record, weapon: Item[], ammoTpl: string, parentTemplate: ITemplateItem): [boolean, ITemplateItem]; + protected chooseModToPutIntoSlot(modSlot: string, isRandomisableSlot: boolean, botWeaponSightWhitelist: Record, botEquipBlacklist: EquipmentFilterDetails, itemModPool: Record, weapon: Item[], ammoTpl: string, parentTemplate: ITemplateItem, modSpawnResult: ModSpawn): [boolean, ITemplateItem]; + protected pickWeaponModTplForSlotFromPool(modPool: string[], parentSlot: Slot, modSpawnResult: ModSpawn, weapon: Item[], modSlotname: string): IChooseRandomCompatibleModResult; + /** + * Filter mod pool down based on various criteria: + * Is slot flagged as randomisable + * Is slot required + * Is slot flagged as default mod only + * @param itemModPool Existing pool of mods to choose + * @param modSpawnResult outcome of random roll to select if mod should be added + * @param parentTemplate Mods parent + * @param weaponTemplate Mods root parent (weapon/equipment) + * @param modSlot name of mod slot to choose for + * @param botEquipBlacklist + * @param isRandomisableSlot is flagged as a randomisable slot + * @returns + */ + protected getModPoolForSlot(itemModPool: Record, modSpawnResult: ModSpawn, parentTemplate: ITemplateItem, weaponTemplate: ITemplateItem, modSlot: string, botEquipBlacklist: EquipmentFilterDetails, isRandomisableSlot: boolean): string[]; + /** + * Get default preset for weapon, get specific weapon presets for edge cases (mp5/silenced dvl) + * @param weaponTemplate + * @param parentItemTpl + * @returns Default preset found + */ + protected getMatchingPreset(weaponTemplate: ITemplateItem, parentItemTpl: string): IPreset; /** * Temp fix to prevent certain combinations of weapons with mods that are known to be incompatible * @param weapon Weapon @@ -128,7 +167,7 @@ export declare class BotEquipmentModGenerator { * @param modTpl _tpl * @param parentId parentId * @param modSlot slotId - * @param modTemplate Used to add additional properites in the upd object + * @param modTemplate Used to add additional properties in the upd object * @returns Item object */ protected createModItem(modId: string, modTpl: string, parentId: string, modSlot: string, modTemplate: ITemplateItem, botRole: string): Item; @@ -141,21 +180,22 @@ export declare class BotEquipmentModGenerator { /** * Get a random mod from an items compatible mods Filter array * @param modTpl ???? default value to return if nothing found - * @param parentSlot item mod will go into, used to get combatible items + * @param parentSlot item mod will go into, used to get compatible items * @param modSlot Slot to get mod to fill * @param items items to ensure picked mod is compatible with * @returns item tpl */ - protected getModTplFromItemDb(modTpl: string, parentSlot: Slot, modSlot: string, items: Item[]): string; + protected getRandomModTplFromItemDb(modTpl: string, parentSlot: Slot, modSlot: string, items: Item[]): string; /** - * Log errors if mod is not compatible with slot - * @param modToAdd template of mod to check - * @param itemSlot slot the item will be placed in - * @param modSlot slot the mod will fill - * @param parentTemplate template of the mods parent item + * Check if mod exists in db + is for a required slot + * @param modToAdd Db template of mod to check + * @param slotAddedToTemplate Slot object the item will be placed as child into + * @param modSlot Slot the mod will fill + * @param parentTemplate Db template of the mods being added + * @param botRole Bots wildspawntype (assault/pmcBot etc) * @returns true if valid */ - protected isModValidForSlot(modToAdd: [boolean, ITemplateItem], itemSlot: Slot, modSlot: string, parentTemplate: ITemplateItem): boolean; + protected isModValidForSlot(modToAdd: [boolean, ITemplateItem], slotAddedToTemplate: Slot, modSlot: string, parentTemplate: ITemplateItem, botRole: string): boolean; /** * Find mod tpls of a provided type and add to modPool * @param desiredSlotName slot to look up and add we are adding tpls for (e.g mod_scope) @@ -191,9 +231,9 @@ export declare class BotEquipmentModGenerator { */ protected fillCamora(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem): void; /** - * Take a record of camoras and merge the compatable shells into one array + * Take a record of camoras and merge the compatible shells into one array * @param camorasWithShells camoras we want to merge into one array - * @returns string array of shells fro luitple camora sources + * @returns string array of shells for multiple camora sources */ protected mergeCamoraPoolsTogether(camorasWithShells: Record): string[]; /** diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/BotGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/BotGenerator.d.ts index 8144f70..49eb70c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/BotGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/BotGenerator.d.ts @@ -1,30 +1,29 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Health as PmcHealth, IBaseJsonSkills, IBaseSkill, IBotBase, Info, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; protected randomUtil: RandomUtil; protected timeUtil: TimeUtil; - protected jsonUtil: JsonUtil; protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected botInventoryGenerator: BotInventoryGenerator; @@ -36,9 +35,10 @@ export declare class BotGenerator { protected seasonalEventService: SeasonalEventService; protected localisationService: LocalisationService; protected configServer: ConfigServer; + protected cloner: ICloner; protected botConfig: IBotConfig; protected pmcConfig: IPmcConfig; - constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, timeUtil: TimeUtil, jsonUtil: JsonUtil, profileHelper: ProfileHelper, databaseServer: DatabaseServer, botInventoryGenerator: BotInventoryGenerator, botLevelGenerator: BotLevelGenerator, botEquipmentFilterService: BotEquipmentFilterService, weightedRandomHelper: WeightedRandomHelper, botHelper: BotHelper, botDifficultyHelper: BotDifficultyHelper, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, databaseServer: DatabaseServer, botInventoryGenerator: BotInventoryGenerator, botLevelGenerator: BotLevelGenerator, botEquipmentFilterService: BotEquipmentFilterService, weightedRandomHelper: WeightedRandomHelper, botHelper: BotHelper, botDifficultyHelper: BotDifficultyHelper, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, cloner: ICloner); /** * Generate a player scav bot object * @param role e.g. assault / pmcbot @@ -48,12 +48,12 @@ export declare class BotGenerator { */ generatePlayerScav(sessionId: string, role: string, difficulty: string, botTemplate: IBotType): IBotBase; /** - * Create x number of bots of the type/side/difficulty defined in botGenerationDetails + * Create 1 bots of the type/side/difficulty defined in botGenerationDetails * @param sessionId Session id * @param botGenerationDetails details on how to generate bots - * @returns array of bots + * @returns constructed bot */ - prepareAndGenerateBots(sessionId: string, botGenerationDetails: BotGenerationDetails): IBotBase[]; + prepareAndGenerateBot(sessionId: string, botGenerationDetails: BotGenerationDetails): IBotBase; /** * Get a clone of the database\bots\base.json file * @returns IBotBase object @@ -78,11 +78,12 @@ export declare class BotGenerator { /** * Create a bot nickname * @param botJsonTemplate x.json from database - * @param isPlayerScav Will bot be player scav + * @param botGenerationDetails * @param botRole role of bot e.g. assault + * @param sessionId profile session id * @returns Nickname for bot */ - protected generateBotNickname(botJsonTemplate: IBotType, isPlayerScav: boolean, botRole: string, sessionId: string): string; + protected generateBotNickname(botJsonTemplate: IBotType, botGenerationDetails: BotGenerationDetails, botRole: string, sessionId?: string): string; /** * Log the number of PMCs generated to the debug console * @param output Generated bot array, ready to send to client @@ -113,8 +114,8 @@ export declare class BotGenerator { * @param bot bot to update * @returns updated IBotBase object */ - protected generateId(bot: IBotBase): IBotBase; - protected generateInventoryID(profile: IBotBase): IBotBase; + protected generateId(bot: IBotBase): void; + protected generateInventoryID(profile: IBotBase): void; /** * Randomise a bots game version and account category * Chooses from all the game versions (standard, eod etc) @@ -127,5 +128,5 @@ export declare class BotGenerator { * @param bot bot to add dogtag to * @returns Bot with dogtag added */ - protected generateDogtag(bot: IBotBase): IBotBase; + protected addDogtagToBot(bot: IBotBase): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/BotInventoryGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/BotInventoryGenerator.d.ts index cd3609f..aa9c6cf 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -51,26 +51,31 @@ export declare class BotInventoryGenerator { /** * Add equipment to a bot * @param templateInventory bot/x.json data from db - * @param equipmentChances Chances items will be added to bot + * @param wornItemChances Chances items will be added to bot * @param botRole Role bot has (assault/pmcBot) * @param botInventory Inventory to add equipment to * @param botLevel Level of bot */ - protected generateAndAddEquipmentToBot(templateInventory: Inventory, equipmentChances: Chances, botRole: string, botInventory: PmcInventory, botLevel: number): void; + protected generateAndAddEquipmentToBot(templateInventory: Inventory, wornItemChances: Chances, botRole: string, botInventory: PmcInventory, botLevel: number): void; + /** + * Remove non-armored rigs from parameter data + * @param templateInventory + */ + protected filterRigsToThoseWithProtection(templateInventory: Inventory): void; + /** + * Remove armored rigs from parameter data + * @param templateInventory + */ + protected filterRigsToThoseWithoutProtection(templateInventory: Inventory): void; /** * Add a piece of equipment with mods to inventory from the provided pools - * @param equipmentSlot Slot to select an item for - * @param equipmentPool Possible items to choose from - * @param modPool Possible mods to apply to item chosen - * @param spawnChances Chances items will be chosen to be added - * @param botRole Role of bot e.g. assault - * @param inventory Inventory to add item into - * @param randomisationDetails settings from bot.json to adjust how item is generated + * @param settings Values to adjust how item is chosen and added to bot + * @returns true when item added */ - protected generateEquipment(equipmentSlot: string, equipmentPool: Record, modPool: Mods, spawnChances: Chances, botRole: string, inventory: PmcInventory, randomisationDetails: RandomisationDetails): void; + protected generateEquipment(settings: IGenerateEquipmentProperties): boolean; /** * Get all possible mods for item and filter down based on equipment blacklist from bot.json config - * @param itemTpl Item mod pool is being retreived and filtered + * @param itemTpl Item mod pool is being retrieved and filtered * @param equipmentBlacklist blacklist to filter mod pool with * @returns Filtered pool of mods */ @@ -112,3 +117,20 @@ export declare class BotInventoryGenerator { shouldSpawn: boolean; }, templateInventory: Inventory, botInventory: PmcInventory, equipmentChances: Chances, botRole: string, isPmc: boolean, itemGenerationWeights: Generation, botLevel: number): void; } +export interface IGenerateEquipmentProperties { + /** Root Slot being generated */ + rootEquipmentSlot: string; + /** Equipment pool for root slot being generated */ + rootEquipmentPool: Record; + modPool: Mods; + /** Dictionary of mod items and their chance to spawn for this bot type */ + spawnChances: Chances; + /** Role being generated for */ + botRole: string; + /** Level of bot being generated */ + botLevel: number; + inventory: PmcInventory; + botEquipmentConfig: EquipmentFilters; + /** Settings from bot.json to adjust how item is generated */ + randomisationDetails: RandomisationDetails; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/BotLevelGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/BotLevelGenerator.d.ts index c8b590f..71fad1f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/BotLevelGenerator.d.ts @@ -1,11 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IExpTable } from "@spt-aki/models/eft/common/IGlobals"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; @@ -13,17 +12,26 @@ export declare class BotLevelGenerator { constructor(logger: ILogger, randomUtil: RandomUtil, databaseServer: DatabaseServer); /** * Return a randomised bot level and exp value - * @param levelDetails min and max of level for bot - * @param botGenerationDetails Deatils to help generate a bot - * @param bot being level is being generated for + * @param levelDetails Min and max of level for bot + * @param botGenerationDetails Details to help generate a bot + * @param bot Bot the level is being generated for * @returns IRandomisedBotLevelResult object */ generateBotLevel(levelDetails: MinMax, botGenerationDetails: BotGenerationDetails, bot: IBotBase): IRandomisedBotLevelResult; /** - * Get the highest level a bot can be relative to the players level, but no futher than the max size from globals.exp_table - * @param playerLevel Players current level - * @param relativeDeltaMax max delta above player level to go - * @returns highest level possible for bot + * Get the highest level a bot can be relative to the players level, but no further than the max size from globals.exp_table + * @param botGenerationDetails Details to help generate a bot + * @param levelDetails + * @param maxLevel Max possible level + * @returns Highest level possible for bot */ - protected getHighestRelativeBotLevel(playerLevel: number, relativeDeltaMax: number, levelDetails: MinMax, expTable: IExpTable[]): number; + protected getHighestRelativeBotLevel(botGenerationDetails: BotGenerationDetails, levelDetails: MinMax, maxLevel: number): number; + /** + * Get the lowest level a bot can be relative to the players level, but no lower than 1 + * @param botGenerationDetails Details to help generate a bot + * @param levelDetails + * @param maxlevel Max level allowed + * @returns Lowest level possible for bot + */ + protected getLowestRelativeBotLevel(botGenerationDetails: BotGenerationDetails, levelDetails: MinMax, maxlevel: number): number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/BotLootGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/BotLootGenerator.d.ts index 7a4c521..4301cea 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/BotLootGenerator.d.ts @@ -1,40 +1,46 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; protected randomUtil: RandomUtil; protected itemHelper: ItemHelper; + protected inventoryHelper: InventoryHelper; protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; protected botGeneratorHelper: BotGeneratorHelper; protected botWeaponGenerator: BotWeaponGenerator; - protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; protected weightedRandomHelper: WeightedRandomHelper; + protected botHelper: BotHelper; protected botLootCacheService: BotLootCacheService; protected localisationService: LocalisationService; protected configServer: ConfigServer; + protected cloner: ICloner; protected botConfig: IBotConfig; protected pmcConfig: IPmcConfig; - constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, itemHelper: ItemHelper, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, botGeneratorHelper: BotGeneratorHelper, botWeaponGenerator: BotWeaponGenerator, botWeaponGeneratorHelper: BotWeaponGeneratorHelper, weightedRandomHelper: WeightedRandomHelper, botLootCacheService: BotLootCacheService, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, botGeneratorHelper: BotGeneratorHelper, botWeaponGenerator: BotWeaponGenerator, weightedRandomHelper: WeightedRandomHelper, botHelper: BotHelper, botLootCacheService: BotLootCacheService, localisationService: LocalisationService, configServer: ConfigServer, cloner: ICloner); + protected getItemSpawnLimitsForBot(botRole: string): IItemSpawnLimitSettings; /** * Add loot to bots containers * @param sessionId Session id @@ -66,17 +72,26 @@ export declare class BotLootGenerator { */ 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 + * Take random items from a pool and add to an inventory until totalItemCount or totalValueLimit or space limit is reached + * @param pool Pool of items to pick from with weight * @param equipmentSlots What equipment 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 itemSpawnLimits Item spawn limits the bot must adhere to * @param totalValueLimitRub Total value of loot allowed in roubles * @param isPmc Is 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; + protected addLootFromPool(pool: Record, equipmentSlots: string[], totalItemCount: number, inventoryToAddItemsTo: PmcInventory, botRole: string, itemSpawnLimits?: IItemSpawnLimitSettings, totalValueLimitRub?: number, isPmc?: boolean, containersIdFull?: Set): void; + protected createWalletLoot(walletId: string): Item[][]; + /** + * Some items need child items to function, add them to the itemToAddChildrenTo array + * @param itemToAddTemplate Db template of item to check + * @param itemToAddChildrenTo Item to add children to + * @param isPmc Is the item being generated for a pmc (affects money/ammo stack sizes) + * @param botRole role bot has that owns item + */ + protected addRequiredChildItemsToParent(itemToAddTemplate: ITemplateItem, itemToAddChildrenTo: Item[], isPmc: boolean, botRole: string): void; /** * Add generated weapons to inventory as loot * @param botInventory inventory to add preset to @@ -86,45 +101,29 @@ export declare class BotLootGenerator { * @param botRole bots role .e.g. pmcBot * @param isPmc are we generating for a pmc */ - protected addLooseWeaponsToInventorySlot(sessionId: string, botInventory: PmcInventory, equipmentSlot: string, templateInventory: Inventory, modChances: ModsChances, botRole: string, isPmc: boolean, botLevel: number): 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 getRandomItemFromPoolByRole(pool: ITemplateItem[], botRole: string): ITemplateItem; - /** - * Get the loot nvalue from botconfig - * @param botRole Role of bot e.g. assault/bosstagilla/sptBear - * @returns nvalue as number - */ - protected getBotLootNValueByRole(botRole: string): number; + protected addLooseWeaponsToInventorySlot(sessionId: string, botInventory: PmcInventory, equipmentSlot: string, templateInventory: Inventory, modChances: ModsChances, botRole: string, isPmc: boolean, botLevel: number, containersIdFull?: Set): void; /** * Hydrate item limit array to contain items that have a limit for a specific bot type * 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; + protected initItemLimitArray(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 + * @param itemSpawnLimits * @returns true if item has reached spawn limit */ - protected itemHasReachedSpawnLimit(itemTemplate: ITemplateItem, botRole: string, isPmc: boolean, limitCount: Record, itemSpawnLimits: Record): boolean; + protected itemHasReachedSpawnLimit(itemTemplate: ITemplateItem, botRole: string, itemSpawnLimits: IItemSpawnLimitSettings): boolean; /** * Randomise the stack size of a money object, uses different values for pmc or scavs - * @param isPmc Is money on a PMC bot + * @param botRole Role bot has that has money stack * @param itemTemplate item details from db * @param moneyItem Money item to randomise */ - protected randomiseMoneyStackSize(isPmc: boolean, itemTemplate: ITemplateItem, moneyItem: Item): void; + protected randomiseMoneyStackSize(botRole: string, itemTemplate: ITemplateItem, moneyItem: Item): void; /** * Randomise the size of an ammo stack * @param isPmc Is ammo on a PMC bot @@ -135,11 +134,10 @@ export declare class BotLootGenerator { /** * 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; + protected getItemSpawnLimitsForBotType(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 diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/BotWeaponGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/BotWeaponGenerator.d.ts index 125b43f..42618e1 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/BotWeaponGenerator.d.ts @@ -1,28 +1,27 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { - protected jsonUtil: JsonUtil; protected logger: ILogger; protected hashUtil: HashUtil; protected databaseServer: DatabaseServer; @@ -37,11 +36,12 @@ export declare class BotWeaponGenerator { protected localisationService: LocalisationService; protected repairService: RepairService; protected inventoryMagGenComponents: IInventoryMagGen[]; + protected cloner: ICloner; protected readonly modMagazineSlotId = "mod_magazine"; protected botConfig: IBotConfig; protected pmcConfig: IPmcConfig; protected repairConfig: IRepairConfig; - constructor(jsonUtil: JsonUtil, logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, weightedRandomHelper: WeightedRandomHelper, botGeneratorHelper: BotGeneratorHelper, randomUtil: RandomUtil, configServer: ConfigServer, botWeaponGeneratorHelper: BotWeaponGeneratorHelper, botWeaponModLimitService: BotWeaponModLimitService, botEquipmentModGenerator: BotEquipmentModGenerator, localisationService: LocalisationService, repairService: RepairService, inventoryMagGenComponents: IInventoryMagGen[]); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, weightedRandomHelper: WeightedRandomHelper, botGeneratorHelper: BotGeneratorHelper, randomUtil: RandomUtil, configServer: ConfigServer, botWeaponGeneratorHelper: BotWeaponGeneratorHelper, botWeaponModLimitService: BotWeaponModLimitService, botEquipmentModGenerator: BotEquipmentModGenerator, localisationService: LocalisationService, repairService: RepairService, inventoryMagGenComponents: IInventoryMagGen[], cloner: ICloner); /** * Pick a random weapon based on weightings and generate a functional weapon * @param equipmentSlot Primary/secondary/holster diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/FenceBaseAssortGenerator.d.ts index 5eab03e..b8c9266 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,26 +1,53 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; + protected hashUtil: HashUtil; protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; protected itemHelper: ItemHelper; + protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; + protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** - * Create base fence assorts dynamically and store in db + * Create base fence assorts dynamically and store in memory */ generateFenceBaseAssorts(): void; + /** + * Check ammo in boxes + loose ammos has a penetration value above the configured value in trader.json / ammoMaxPenLimit + * @param rootItemDb Ammo box or ammo item from items.db + * @returns True if penetration value is above limit set in config + */ + protected isAmmoAbovePenetrationLimit(rootItemDb: ITemplateItem): boolean; + /** + * Get the penetration power value of an ammo, works with ammo boxes and raw ammos + * @param rootItemDb Ammo box or ammo item from items.db + * @returns Penetration power of passed in item, null if it doesnt have a power + */ + protected getAmmoPenetrationPower(rootItemDb: ITemplateItem): number; + /** + * Add soft inserts + armor plates to an armor + * @param armor Armor item array to add mods into + * @param itemDbDetails Armor items db template + */ + protected addChildrenToArmorModSlots(armor: Item[], itemDbDetails: ITemplateItem): void; /** * Check if item is valid for being added to fence assorts * @param item Item to check diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/IFilterPlateModsForSlotByLevelResult.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/IFilterPlateModsForSlotByLevelResult.d.ts new file mode 100644 index 0000000..7e1dbfd --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/generators/IFilterPlateModsForSlotByLevelResult.d.ts @@ -0,0 +1,11 @@ +export interface IFilterPlateModsForSlotByLevelResult { + result: Result; + plateModTpls: string[]; +} +export declare enum Result { + UNKNOWN_FAILURE = -1, + SUCCESS = 1, + NO_DEFAULT_FILTER = 2, + NOT_PLATE_HOLDING_SLOT = 3, + LACKS_PLATE_WEIGHTS = 4 +} diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/LocationGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/LocationGenerator.d.ts index 1305af1..7571e14 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/LocationGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/LocationGenerator.d.ts @@ -1,22 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IContainerMinMax, IStaticContainer } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IStaticAmmoDetails, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/tables/ILootBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; @@ -31,10 +29,8 @@ export interface IContainerGroupCount { export declare class LocationGenerator { protected logger: ILogger; protected databaseServer: DatabaseServer; - protected jsonUtil: JsonUtil; protected objectId: ObjectId; protected randomUtil: RandomUtil; - protected ragfairServerHelper: RagfairServerHelper; protected itemHelper: ItemHelper; protected mathUtil: MathUtil; protected seasonalEventService: SeasonalEventService; @@ -42,8 +38,9 @@ export declare class LocationGenerator { protected presetHelper: PresetHelper; protected localisationService: LocalisationService; protected configServer: ConfigServer; + protected cloner: ICloner; protected locationConfig: ILocationConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, jsonUtil: JsonUtil, objectId: ObjectId, randomUtil: RandomUtil, ragfairServerHelper: RagfairServerHelper, itemHelper: ItemHelper, mathUtil: MathUtil, seasonalEventService: SeasonalEventService, containerHelper: ContainerHelper, presetHelper: PresetHelper, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, databaseServer: DatabaseServer, objectId: ObjectId, randomUtil: RandomUtil, itemHelper: ItemHelper, mathUtil: MathUtil, seasonalEventService: SeasonalEventService, containerHelper: ContainerHelper, presetHelper: PresetHelper, localisationService: LocalisationService, configServer: ConfigServer, cloner: ICloner); /** * Create an array of container objects with randomised loot * @param locationBase Map base to generate containers for @@ -147,5 +144,5 @@ export declare class LocationGenerator { * @returns Item object */ protected getItemInArray(items: Item[], chosenTpl: string): Item; - protected createStaticLootItem(tpl: string, staticAmmoDist: Record, parentId?: string): IContainerItem; + protected createStaticLootItem(chosenTpl: string, staticAmmoDist: Record, parentId?: string): IContainerItem; } diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/LootGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/LootGenerator.d.ts index d8e816c..79b8183 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/LootGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; @@ -38,6 +38,13 @@ export declare class LootGenerator { * @returns An array of loot items */ createRandomLoot(options: LootRequest): LootItem[]; + /** + * Filter armor items by their front plates protection level - top if its a helmet + * @param armor Armor preset to check + * @param options Loot request options - armor level etc + * @returns True if item has desired armor level + */ + protected armorIsDesiredProtectionLevel(armor: IPreset, options: LootRequest): boolean; /** * Construct item limit record to hold max and current item count for each item type * @param limits limits as defined in config @@ -65,49 +72,42 @@ export declare class LootGenerator { protected getRandomisedStackCount(item: ITemplateItem, options: LootRequest): number; /** * Find a random item in items.json and add to result array - * @param globalDefaultPresets presets to choose from - * @param itemTypeCounts item limit counts - * @param itemBlacklist items to skip - * @param result array to add found preset to + * @param presetPool Presets to choose from + * @param itemTypeCounts Item limit counts + * @param itemBlacklist Items to skip + * @param result Array to add chosen preset to * @returns true if preset was valid and added to pool */ - protected findAndAddRandomPresetToLoot(globalDefaultPresets: [string, IPreset][], itemTypeCounts: Record, itemBlacklist: string[], result: LootItem[]): boolean; /** * Sealed weapon containers have a weapon + associated mods inside them + assortment of other things (food/meds) * @param containerSettings sealed weapon container settings - * @returns Array of items to add to player inventory + * @returns Array of item with children arrays */ - getSealedWeaponCaseLoot(containerSettings: ISealedAirdropContainerSettings): AddItem[]; + getSealedWeaponCaseLoot(containerSettings: ISealedAirdropContainerSettings): Item[][]; /** * Get non-weapon mod rewards for a sealed container * @param containerSettings Sealed weapon container settings * @param weaponDetailsDb Details for the weapon to reward player - * @returns AddItem array + * @returns Array of item with children arrays */ - protected getSealedContainerNonWeaponModRewards(containerSettings: ISealedAirdropContainerSettings, weaponDetailsDb: ITemplateItem): AddItem[]; + protected getSealedContainerNonWeaponModRewards(containerSettings: ISealedAirdropContainerSettings, weaponDetailsDb: ITemplateItem): Item[][]; /** * Iterate over the container weaponModRewardLimits settings and create an array of weapon mods to reward player * @param containerSettings Sealed weapon container settings * @param linkedItemsToWeapon All items that can be attached/inserted into weapon * @param chosenWeaponPreset The weapon preset given to player as reward - * @returns AddItem array + * @returns Array of item with children arrays */ - protected getSealedContainerWeaponModRewards(containerSettings: ISealedAirdropContainerSettings, linkedItemsToWeapon: ITemplateItem[], chosenWeaponPreset: IPreset): AddItem[]; + protected getSealedContainerWeaponModRewards(containerSettings: ISealedAirdropContainerSettings, linkedItemsToWeapon: ITemplateItem[], chosenWeaponPreset: IPreset): Item[][]; /** * Handle event-related loot containers - currently just the halloween jack-o-lanterns that give food rewards * @param rewardContainerDetails - * @returns AddItem array + * @returns Array of item with children arrays */ - getRandomLootContainerLoot(rewardContainerDetails: RewardDetails): AddItem[]; - /** - * A bug in inventoryHelper.addItem() means you cannot add the same item to the array twice with a count of 1, it causes duplication - * Default adds 1, or increments count - * @param itemTplToAdd items tpl we want to add to array - * @param resultsArray Array to add item tpl to - */ - protected addOrIncrementItemToArray(itemTplToAdd: string, resultsArray: AddItem[]): void; + getRandomLootContainerLoot(rewardContainerDetails: RewardDetails): Item[][]; } export {}; diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/PMCLootGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/PMCLootGenerator.d.ts index 251bde2..9f6bcdc 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/PMCLootGenerator.d.ts @@ -1,10 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items @@ -14,22 +16,25 @@ export declare class PMCLootGenerator { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; protected itemFilterService: ItemFilterService; + protected ragfairPriceService: RagfairPriceService; protected seasonalEventService: SeasonalEventService; - protected pocketLootPool: string[]; - protected vestLootPool: string[]; - protected backpackLootPool: string[]; + protected weightedRandomHelper: WeightedRandomHelper; + protected pocketLootPool: Record; + protected vestLootPool: Record; + protected backpackLootPool: Record; protected pmcConfig: IPmcConfig; - constructor(itemHelper: ItemHelper, databaseServer: DatabaseServer, configServer: ConfigServer, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService); + protected roubleTpl: string; + constructor(itemHelper: ItemHelper, databaseServer: DatabaseServer, configServer: ConfigServer, itemFilterService: ItemFilterService, ragfairPriceService: RagfairPriceService, seasonalEventService: SeasonalEventService, weightedRandomHelper: WeightedRandomHelper); /** * Create an array of loot items a PMC can have in their pockets * @returns string array of tpls */ - generatePMCPocketLootPool(): string[]; + generatePMCPocketLootPool(botRole: string): Record; /** * Create an array of loot items a PMC can have in their vests * @returns string array of tpls */ - generatePMCVestLootPool(): string[]; + generatePMCVestLootPool(botRole: string): Record; /** * Check if item has a width/height that lets it fit into a 2x2 slot * 1x1 / 1x2 / 2x1 / 2x2 @@ -41,5 +46,5 @@ export declare class PMCLootGenerator { * Create an array of loot items a PMC can have in their backpack * @returns string array of tpls */ - generatePMCBackpackLootPool(): string[]; + generatePMCBackpackLootPool(botRole: string): Record; } diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/PlayerScavGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/PlayerScavGenerator.d.ts index feea27f..da874fc 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/PlayerScavGenerator.d.ts @@ -1,48 +1,53 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; protected databaseServer: DatabaseServer; protected hashUtil: HashUtil; protected itemHelper: ItemHelper; - protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; protected botGeneratorHelper: BotGeneratorHelper; protected saveServer: SaveServer; protected profileHelper: ProfileHelper; protected botHelper: BotHelper; - protected jsonUtil: JsonUtil; protected fenceService: FenceService; protected botLootCacheService: BotLootCacheService; protected localisationService: LocalisationService; protected botGenerator: BotGenerator; protected configServer: ConfigServer; + protected cloner: ICloner; protected playerScavConfig: IPlayerScavConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, databaseServer: DatabaseServer, hashUtil: HashUtil, itemHelper: ItemHelper, botWeaponGeneratorHelper: BotWeaponGeneratorHelper, botGeneratorHelper: BotGeneratorHelper, saveServer: SaveServer, profileHelper: ProfileHelper, botHelper: BotHelper, jsonUtil: JsonUtil, fenceService: FenceService, botLootCacheService: BotLootCacheService, localisationService: LocalisationService, botGenerator: BotGenerator, configServer: ConfigServer); + constructor(logger: ILogger, randomUtil: RandomUtil, databaseServer: DatabaseServer, hashUtil: HashUtil, itemHelper: ItemHelper, botGeneratorHelper: BotGeneratorHelper, saveServer: SaveServer, profileHelper: ProfileHelper, botHelper: BotHelper, fenceService: FenceService, botLootCacheService: BotLootCacheService, localisationService: LocalisationService, botGenerator: BotGenerator, configServer: ConfigServer, cloner: ICloner); /** * 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; + /** + * Add items picked from `playerscav.lootItemsToAddChancePercent` + * @param possibleItemsToAdd dict of tpl + % chance to be added + * @param scavData + * @param containersToAddTo Possible slotIds to add loot to + */ + protected addAdditionalLootToPlayerScavContainers(possibleItemsToAdd: Record, scavData: IBotBase, containersToAddTo: string[]): void; /** * Get the scav karama level for a profile * Is also the fence trader rep level diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/RagfairAssortGenerator.d.ts index 26acae2..4c6cf1c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/RagfairAssortGenerator.d.ts @@ -1,52 +1,50 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { - protected jsonUtil: JsonUtil; protected hashUtil: HashUtil; protected itemHelper: ItemHelper; + protected presetHelper: PresetHelper; protected databaseServer: DatabaseServer; protected seasonalEventService: SeasonalEventService; protected configServer: ConfigServer; - protected generatedAssortItems: Item[]; + protected generatedAssortItems: Item[][]; protected ragfairConfig: IRagfairConfig; - constructor(jsonUtil: JsonUtil, hashUtil: HashUtil, itemHelper: ItemHelper, databaseServer: DatabaseServer, seasonalEventService: SeasonalEventService, configServer: ConfigServer); + protected ragfairItemInvalidBaseTypes: string[]; + constructor(hashUtil: HashUtil, itemHelper: ItemHelper, presetHelper: PresetHelper, databaseServer: DatabaseServer, seasonalEventService: SeasonalEventService, configServer: ConfigServer); /** - * Get an array of unique items that can be sold on the flea - * @returns array of unique items + * Get an array of arrays that can be sold on the flea + * Each sub array contains item + children (if any) + * @returns array of arrays */ - getAssortItems(): Item[]; + getAssortItems(): Item[][]; /** * Check internal generatedAssortItems array has objects * @returns true if array has objects */ protected assortsAreGenerated(): boolean; /** - * Generate an array of items the flea can sell - * @returns array of unique items + * Generate an array of arrays (item + children) the flea can sell + * @returns array of arrays (item + children) */ - protected generateRagfairAssortItems(): Item[]; + protected generateRagfairAssortItems(): Item[][]; /** - * Get presets from globals.json - * @returns Preset object array + * Get presets from globals to add to flea + * ragfairConfig.dynamic.showDefaultPresetsOnly decides if its all presets or just defaults + * @returns IPreset array */ - protected getPresets(): IPreset[]; - /** - * Get default presets from globals.json - * @returns Preset object array - */ - protected getDefaultPresets(): IPreset[]; + protected getPresetsToAdd(): IPreset[]; /** * Create a base assort item and return it with populated values + 999999 stack count + unlimited count = true * @param tplId tplid to add to item * @param id id to add to item - * @returns hydrated Item object + * @returns Hydrated Item object */ - protected createRagfairAssortItem(tplId: string, id?: string): Item; + protected createRagfairAssortRootItem(tplId: string, id?: string): Item; } diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/RagfairOfferGenerator.d.ts index 25316c0..e0dd09f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/RagfairOfferGenerator.d.ts @@ -1,29 +1,28 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; - protected jsonUtil: JsonUtil; protected hashUtil: HashUtil; protected randomUtil: RandomUtil; protected timeUtil: TimeUtil; @@ -40,6 +39,7 @@ export declare class RagfairOfferGenerator { protected fenceService: FenceService; protected itemHelper: ItemHelper; protected configServer: ConfigServer; + protected cloner: ICloner; protected ragfairConfig: IRagfairConfig; protected allowedFleaPriceItemsForBarter: { tpl: string; @@ -47,7 +47,7 @@ export declare class RagfairOfferGenerator { }[]; /** Internal counter to ensure each offer created has a unique value for its intId property */ protected offerCounter: number; - constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, ragfairServerHelper: RagfairServerHelper, handbookHelper: HandbookHelper, saveServer: SaveServer, presetHelper: PresetHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferService: RagfairOfferService, ragfairPriceService: RagfairPriceService, localisationService: LocalisationService, paymentHelper: PaymentHelper, fenceService: FenceService, itemHelper: ItemHelper, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, ragfairServerHelper: RagfairServerHelper, handbookHelper: HandbookHelper, saveServer: SaveServer, presetHelper: PresetHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferService: RagfairOfferService, ragfairPriceService: RagfairPriceService, localisationService: LocalisationService, paymentHelper: PaymentHelper, fenceService: FenceService, itemHelper: ItemHelper, configServer: ConfigServer, cloner: ICloner); /** * Create a flea offer and store it in the Ragfair server offers array * @param userID Owner of the offer @@ -119,22 +119,28 @@ export declare class RagfairOfferGenerator { * Create multiple offers for items by using a unique list of items we've generated previously * @param expiredOffers optional, expired offers to regenerate */ - generateDynamicOffers(expiredOffers?: Item[]): Promise; + generateDynamicOffers(expiredOffers?: Item[][]): Promise; /** - * @param assortItemIndex Index of assort item - * @param assortItemsToProcess Item array containing index - * @param expiredOffers Currently expired offers on flea + * @param assortItemWithChildren Item with its children to process into offers + * @param isExpiredOffer is an expired offer * @param config Ragfair dynamic config */ - protected createOffersForItems(assortItemIndex: string, assortItemsToProcess: Item[], expiredOffers: Item[], config: Dynamic): Promise; + protected createOffersFromAssort(assortItemWithChildren: Item[], isExpiredOffer: boolean, config: Dynamic): Promise; + /** + * iterate over an items chidren and look for plates above desired level and remove them + * @param presetWithChildren preset to check for plates + * @param plateSettings Settings + * @returns True if plate removed + */ + protected removeBannedPlatesFromPreset(presetWithChildren: Item[], plateSettings: IArmorPlateBlacklistSettings): boolean; /** * Create one flea offer for a specific item - * @param items Item to create offer for + * @param itemWithChildren Item to create offer for * @param isPreset Is item a weapon preset * @param itemDetails raw db item details * @returns Item array */ - protected createSingleOfferForItem(items: Item[], isPreset: boolean, itemDetails: [boolean, ITemplateItem]): Promise; + protected createSingleOfferForItem(itemWithChildren: Item[], isPreset: boolean, itemDetails: [boolean, ITemplateItem]): Promise; /** * Generate trader offers on flea using the traders assort data * @param traderID Trader to generate offers for @@ -144,11 +150,10 @@ export declare class RagfairOfferGenerator { * Get array of an item with its mods + condition properties (e.g durability) * Apply randomisation adjustments to condition if item base is found in ragfair.json/dynamic/condition * @param userID id of owner of item - * @param itemWithMods Item and mods, get condition of first item (only first array item is used) + * @param itemWithMods Item and mods, get condition of first item (only first array item is modified) * @param itemDetails db details of first item - * @returns */ - protected randomiseItemUpdProperties(userID: string, itemWithMods: Item[], itemDetails: ITemplateItem): Item[]; + protected randomiseOfferItemUpdProperties(userID: string, itemWithMods: Item[], itemDetails: ITemplateItem): void; /** * Get the relevant condition id if item tpl matches in ragfair.json/condition * @param tpl Item to look for matching condition object @@ -158,24 +163,32 @@ export declare class RagfairOfferGenerator { /** * Alter an items condition based on its item base type * @param conditionSettingsId also the parentId of item being altered - * @param item Item to adjust condition details of + * @param itemWithMods Item to adjust condition details of * @param itemDetails db item details of first item in array */ - protected randomiseItemCondition(conditionSettingsId: string, item: Item, itemDetails: ITemplateItem): void; + protected randomiseItemCondition(conditionSettingsId: string, itemWithMods: Item[], itemDetails: ITemplateItem): void; /** * Adjust an items durability/maxDurability value - * @param item item (weapon/armor) to adjust - * @param multiplier Value to multiple durability by + * @param item item (weapon/armor) to Adjust + * @param itemDbDetails Weapon details from db + * @param maxMultiplier Value to multiply max durability by + * @param currentMultiplier Value to multiply current durability by */ - protected randomiseDurabilityValues(item: Item, multiplier: number): void; + protected randomiseWeaponDurability(item: Item, itemDbDetails: ITemplateItem, maxMultiplier: number, currentMultiplier: number): void; + /** + * Randomise the durabiltiy values for an armors plates and soft inserts + * @param armorWithMods Armor item with its child mods + * @param currentMultiplier Chosen multipler to use for current durability value + * @param maxMultiplier Chosen multipler to use for max durability value + */ + protected randomiseArmorDurabilityValues(armorWithMods: Item[], currentMultiplier: number, maxMultiplier: number): void; /** * Add missing conditions to an item if needed * Durabiltiy for repairable items * HpResource for medical items * @param item item to add conditions to - * @returns Item with conditions added */ - protected addMissingConditions(item: Item): Item; + protected addMissingConditions(item: Item): void; /** * Create a barter-based barter scheme, if not possible, fall back to making barter scheme currency based * @param offerItems Items for sale in offer @@ -192,10 +205,10 @@ export declare class RagfairOfferGenerator { }[]; /** * Create a random currency-based barter scheme for an array of items - * @param offerItems Items on offer + * @param offerWithChildren Items on offer * @param isPackOffer Is the barter scheme being created for a pack offer * @param multipler What to multiply the resulting price by * @returns Barter scheme for offer */ - protected createCurrencyBarterScheme(offerItems: Item[], isPackOffer: boolean, multipler?: number): IBarterScheme[]; + protected createCurrencyBarterScheme(offerWithChildren: Item[], isPackOffer: boolean, multipler?: number): IBarterScheme[]; } diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/RepeatableQuestGenerator.d.ts index 35297fa..2b68eef 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/RepeatableQuestGenerator.d.ts @@ -1,53 +1,34 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ICompletion, ICompletionAvailableFor, IElimination, IEliminationCondition, IExploration, IExplorationCondition, IPickup, IRepeatableQuest, IReward, IRewards } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { - protected timeUtil: TimeUtil; protected logger: ILogger; protected randomUtil: RandomUtil; - protected httpResponse: HttpResponseUtil; protected mathUtil: MathUtil; - protected jsonUtil: JsonUtil; protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; - protected presetHelper: PresetHelper; - protected profileHelper: ProfileHelper; - protected profileFixerService: ProfileFixerService; - protected handbookHelper: HandbookHelper; - protected ragfairServerHelper: RagfairServerHelper; - protected eventOutputHolder: EventOutputHolder; protected localisationService: LocalisationService; - protected paymentService: PaymentService; protected objectId: ObjectId; - protected itemFilterService: ItemFilterService; protected repeatableQuestHelper: RepeatableQuestHelper; + protected repeatableQuestRewardGenerator: RepeatableQuestRewardGenerator; protected configServer: ConfigServer; + protected cloner: ICloner; protected questConfig: IQuestConfig; - constructor(timeUtil: TimeUtil, logger: ILogger, randomUtil: RandomUtil, httpResponse: HttpResponseUtil, mathUtil: MathUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, handbookHelper: HandbookHelper, ragfairServerHelper: RagfairServerHelper, eventOutputHolder: EventOutputHolder, localisationService: LocalisationService, paymentService: PaymentService, objectId: ObjectId, itemFilterService: ItemFilterService, repeatableQuestHelper: RepeatableQuestHelper, configServer: ConfigServer); + constructor(logger: ILogger, randomUtil: RandomUtil, mathUtil: MathUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, localisationService: LocalisationService, objectId: ObjectId, repeatableQuestHelper: RepeatableQuestHelper, repeatableQuestRewardGenerator: RepeatableQuestRewardGenerator, configServer: ConfigServer, cloner: ICloner); /** * 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 @@ -66,7 +47,7 @@ export declare class RepeatableQuestGenerator { * @param repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest * @returns Object of quest type format for "Elimination" (see assets/database/templates/repeatableQuests.json) */ - protected generateEliminationQuest(pmcLevel: number, traderId: string, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IElimination; + protected generateEliminationQuest(pmcLevel: number, traderId: string, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IRepeatableQuest; /** * Get a number of kills neded to complete elimination quest * @param targetKey Target type desired e.g. anyPmc/bossBully/Savage @@ -82,7 +63,7 @@ export declare class RepeatableQuestGenerator { * @param {string} location the location on which to fulfill the elimination quest * @returns {IEliminationCondition} object of "Elimination"-location-subcondition */ - protected generateEliminationLocation(location: string[]): IEliminationCondition; + protected generateEliminationLocation(location: string[]): IQuestConditionCounterCondition; /** * Create kill condition for an elimination quest * @param target Bot type target of elimination quest e.g. "AnyPmc", "Savage" @@ -92,7 +73,7 @@ export declare class RepeatableQuestGenerator { * @param allowedWeaponCategory What category of weapon must be used - undefined = any * @returns IEliminationCondition object */ - protected generateEliminationCondition(target: string, targetedBodyParts: string[], distance: number, allowedWeapon: string, allowedWeaponCategory: string): IEliminationCondition; + protected generateEliminationCondition(target: string, targetedBodyParts: string[], distance: number, allowedWeapon: string, allowedWeaponCategory: string): IQuestConditionCounterCondition; /** * Generates a valid Completion quest * @@ -101,7 +82,7 @@ export declare class RepeatableQuestGenerator { * @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) */ - protected generateCompletionQuest(pmcLevel: number, traderId: string, repeatableConfig: IRepeatableQuestConfig): ICompletion; + protected generateCompletionQuest(pmcLevel: number, traderId: string, repeatableConfig: IRepeatableQuestConfig): IRepeatableQuest; /** * 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) @@ -110,7 +91,7 @@ export declare class RepeatableQuestGenerator { * @param {integer} value amount of items of this specific type to request * @returns {object} object of "Completion"-condition */ - protected generateCompletionAvailableForFinish(itemTpl: string, value: number): ICompletionAvailableFor; + protected generateCompletionAvailableForFinish(itemTpl: string, value: number): IQuestCondition; /** * Generates a valid Exploration quest * @@ -120,8 +101,15 @@ export declare class RepeatableQuestGenerator { * @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) */ - protected generateExplorationQuest(pmcLevel: number, traderId: string, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IExploration; - protected generatePickupQuest(pmcLevel: number, traderId: string, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IPickup; + protected generateExplorationQuest(pmcLevel: number, traderId: string, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IRepeatableQuest; + /** + * Filter a maps exits to just those for the desired side + * @param locationKey Map id (e.g. factory4_day) + * @param playerSide Scav/Pmc + * @returns Array of Exit objects + */ + protected getLocationExitsForSide(locationKey: string, playerSide: string): Exit[]; + protected generatePickupQuest(pmcLevel: number, traderId: string, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IRepeatableQuest; /** * Convert a location into an quest code can read (e.g. factory4_day into 55f2d3fd4bdc2d5f408b4567) * @param locationKey e.g factory4_day @@ -135,70 +123,7 @@ export declare class RepeatableQuestGenerator { * @param {string} exit The exit name to generate the condition for * @returns {object} Exit condition */ - protected generateExplorationExitCondition(exit: Exit): IExplorationCondition; - /** - * 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 - */ - protected generateReward(pmcLevel: number, difficulty: number, traderId: string, repeatableConfig: IRepeatableQuestConfig, questConfig: IBaseQuestConfig): IRewards; - /** - * Should reward item have stack size increased (25% chance) - * @param item Item to possibly increase stack size of - * @param maxRoublePriceToStack Maximum rouble price an item can be to still be chosen for stacking - * @returns True if it should - */ - protected canIncreaseRewardItemStackSize(item: ITemplateItem, maxRoublePriceToStack: number): boolean; - /** - * Get a randomised number a reward items stack size should be based on its handbook price - * @param item Reward item to get stack size for - * @returns Stack size value - */ - protected getRandomisedRewardItemStackSizeByPrice(item: ITemplateItem): number; - /** - * Select a number of items that have a colelctive value of the passed in parameter - * @param repeatableConfig Config - * @param roublesBudget Total value of items to return - * @returns Array of reward items that fit budget - */ - protected chooseRewardItemsWithinBudget(repeatableConfig: IRepeatableQuestConfig, roublesBudget: number, traderId: string): ITemplateItem[]; - /** - * 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 unknown reasons the client wants the index - * @returns {object} Object of "Reward"-item-type - */ - protected generateRewardItem(tpl: string, value: number, index: number, preset?: Item[]): IReward; - /** - * Picks rewardable items from items.json. This means they need to fit into the inventory and they shouldn't be keys (debatable) - * @param repeatableQuestConfig Config file - * @returns List of rewardable items [[_tpl, itemTemplate],...] - */ - protected getRewardableItems(repeatableQuestConfig: IRepeatableQuestConfig, traderId: string): [string, ITemplateItem][]; - /** - * 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 {string} tpl template id of item to check - * @returns True if item is valid reward - */ - protected isValidRewardItem(tpl: string, repeatableQuestConfig: IRepeatableQuestConfig, itemBaseWhitelist: string[]): boolean; + protected generateExplorationExitCondition(exit: Exit): IQuestConditionCounterCondition; /** * 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 diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/RepeatableQuestRewardGenerator.d.ts new file mode 100644 index 0000000..ea750dd --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -0,0 +1,106 @@ +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +export declare class RepeatableQuestRewardGenerator { + protected logger: ILogger; + protected randomUtil: RandomUtil; + protected mathUtil: MathUtil; + protected databaseServer: DatabaseServer; + protected itemHelper: ItemHelper; + protected presetHelper: PresetHelper; + protected handbookHelper: HandbookHelper; + protected localisationService: LocalisationService; + protected objectId: ObjectId; + protected itemFilterService: ItemFilterService; + protected seasonalEventService: SeasonalEventService; + protected configServer: ConfigServer; + protected cloner: ICloner; + protected questConfig: IQuestConfig; + constructor(logger: ILogger, randomUtil: RandomUtil, mathUtil: MathUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, presetHelper: PresetHelper, handbookHelper: HandbookHelper, localisationService: LocalisationService, objectId: ObjectId, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, cloner: ICloner); + /** + * 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. + * + * Additionally, 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 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 repeatable kind (daily, weekly) as configured in QuestConfig for the requested quest + * @returns {object} object of "Reward"-type that can be given for a repeatable mission + */ + generateReward(pmcLevel: number, difficulty: number, traderId: string, repeatableConfig: IRepeatableQuestConfig, questConfig: IBaseQuestConfig): IQuestRewards; + /** + * @param rewardItems List of reward items to filter + * @param roublesBudget The budget remaining for rewards + * @param minPrice The minimum priced item to include + * @returns True if any items remain in `rewardItems`, false otherwise + */ + protected filterRewardPoolWithinBudget(rewardItems: ITemplateItem[], roublesBudget: number, minPrice: number): ITemplateItem[]; + /** + * Get a randomised number a reward items stack size should be based on its handbook price + * @param item Reward item to get stack size for + * @returns Stack size value + */ + protected getRandomisedRewardItemStackSizeByPrice(item: ITemplateItem): number; + /** + * Should reward item have stack size increased (25% chance) + * @param item Item to possibly increase stack size of + * @param maxRoublePriceToStack Maximum rouble price an item can be to still be chosen for stacking + * @returns True if it should + */ + protected canIncreaseRewardItemStackSize(item: ITemplateItem, maxRoublePriceToStack: number): boolean; + protected calculateAmmoStackSizeThatFitsBudget(itemSelected: ITemplateItem, roublesBudget: number, rewardNumItems: number): number; + /** + * Select a number of items that have a colelctive value of the passed in parameter + * @param repeatableConfig Config + * @param roublesBudget Total value of items to return + * @returns Array of reward items that fit budget + */ + protected chooseRewardItemsWithinBudget(repeatableConfig: IRepeatableQuestConfig, roublesBudget: number, traderId: string): ITemplateItem[]; + /** + * 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 unknown reasons the client wants the index + * @returns {object} Object of "Reward"-item-type + */ + protected generateRewardItem(tpl: string, value: number, index: number, preset?: Item[]): IQuestReward; + /** + * Picks rewardable items from items.json. This means they need to fit into the inventory and they shouldn't be keys (debatable) + * @param repeatableQuestConfig Config file + * @returns List of rewardable items [[_tpl, itemTemplate],...] + */ + getRewardableItems(repeatableQuestConfig: IRepeatableQuestConfig, traderId: string): [string, ITemplateItem][]; + /** + * 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 {string} tpl template id of item to check + * @returns True if item is valid reward + */ + protected isValidRewardItem(tpl: string, repeatableQuestConfig: IRepeatableQuestConfig, itemBaseWhitelist: string[]): boolean; + protected addMoneyReward(traderId: string, rewards: IQuestRewards, rewardRoubles: number, rewardIndex: number): void; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/ScavCaseRewardGenerator.d.ts index 11e1bc3..f22dcfc 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,17 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ @@ -20,20 +21,22 @@ export declare class ScavCaseRewardGenerator { protected randomUtil: RandomUtil; protected hashUtil: HashUtil; protected itemHelper: ItemHelper; + protected presetHelper: PresetHelper; protected databaseServer: DatabaseServer; protected ragfairPriceService: RagfairPriceService; + protected seasonalEventService: SeasonalEventService; protected itemFilterService: ItemFilterService; protected configServer: ConfigServer; protected scavCaseConfig: IScavCaseConfig; protected dbItemsCache: ITemplateItem[]; protected dbAmmoItemsCache: ITemplateItem[]; - constructor(logger: ILogger, randomUtil: RandomUtil, hashUtil: HashUtil, itemHelper: ItemHelper, databaseServer: DatabaseServer, ragfairPriceService: RagfairPriceService, itemFilterService: ItemFilterService, configServer: ConfigServer); + constructor(logger: ILogger, randomUtil: RandomUtil, hashUtil: HashUtil, itemHelper: ItemHelper, presetHelper: PresetHelper, databaseServer: DatabaseServer, ragfairPriceService: RagfairPriceService, seasonalEventService: SeasonalEventService, itemFilterService: ItemFilterService, configServer: ConfigServer); /** * Create an array of rewards that will be given to the player upon completing their scav case build * @param recipeId recipe of the scav case craft * @returns Product array */ - generate(recipeId: string): Product[]; + generate(recipeId: string): Item[][]; /** * Get all db items that are not blacklisted in scavcase config or global blacklist * Store in class field @@ -72,17 +75,7 @@ export declare class ScavCaseRewardGenerator { * @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: Upd; - }, rarity: string): void; + protected randomiseContainerItemRewards(rewardItems: ITemplateItem[], rarity: string): Item[][]; /** * @param dbItems all items from the items.json * @param itemFilters controls how the dbItems will be filtered and returned (handbook price) diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/WeatherGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/WeatherGenerator.d.ts index 5501ee6..c9ca02a 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/WeatherGenerator.d.ts @@ -1,21 +1,24 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; protected randomUtil: RandomUtil; protected timeUtil: TimeUtil; + protected seasonalEventService: SeasonalEventService; protected applicationContext: ApplicationContext; protected configServer: ConfigServer; protected weatherConfig: IWeatherConfig; - constructor(weightedRandomHelper: WeightedRandomHelper, logger: ILogger, randomUtil: RandomUtil, timeUtil: TimeUtil, applicationContext: ApplicationContext, configServer: ConfigServer); + private serverStartTimestampMS; + constructor(weightedRandomHelper: WeightedRandomHelper, logger: ILogger, randomUtil: RandomUtil, timeUtil: TimeUtil, seasonalEventService: SeasonalEventService, applicationContext: ApplicationContext, configServer: ConfigServer); /** * Get current + raid datetime and format into correct BSG format and return * @param data Weather data @@ -28,13 +31,13 @@ export declare class WeatherGenerator { * @param currentDate current date * @returns formatted time */ - protected getBsgFormattedInRaidTime(currentDate: Date): string; + protected getBsgFormattedInRaidTime(): string; /** * Get the current in-raid time * @param currentDate (new Date()) * @returns Date object of current in-raid time */ - getInRaidTime(currentDate: Date): Date; + getInRaidTime(): Date; /** * Get current time formatted to fit BSGs requirement * @param date date to format into bsg style diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index edc4734..c2b496f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,23 +1,25 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; protected localisationService: LocalisationService; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; + protected botGeneratorHelper: BotGeneratorHelper; protected randomUtil: RandomUtil; - constructor(logger: ILogger, itemHelper: ItemHelper, localisationService: LocalisationService, botWeaponGeneratorHelper: BotWeaponGeneratorHelper, randomUtil: RandomUtil); + constructor(logger: ILogger, itemHelper: ItemHelper, localisationService: LocalisationService, botWeaponGeneratorHelper: BotWeaponGeneratorHelper, botGeneratorHelper: BotGeneratorHelper, randomUtil: RandomUtil); getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; process(inventoryMagGen: InventoryMagGen): void; /** - * Get a random compatible external magazine for a weapon, excluses internal magazines from possible pool + * Get a random compatible external magazine for a weapon, exclude internal magazines from possible pool * @param weaponTpl Weapon to get mag for * @returns tpl of magazine */ diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/AssortHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/AssortHelper.d.ts index 52dda35..72d1600 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/AssortHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; @@ -14,7 +14,7 @@ export declare class AssortHelper { protected questHelper: QuestHelper; constructor(logger: ILogger, itemHelper: ItemHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, questHelper: QuestHelper); /** - * Remove assorts from a trader that have not been unlocked yet (via player completing corrisponding quest) + * Remove assorts from a trader that have not been unlocked yet (via player completing corresponding quest) * @param pmcProfile Player profile * @param traderId Traders id the assort belongs to * @param traderAssorts All assort items from same trader diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/BotDifficultyHelper.d.ts index 84beba3..db6145e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/BotDifficultyHelper.d.ts @@ -1,22 +1,22 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; - protected jsonUtil: JsonUtil; protected databaseServer: DatabaseServer; protected randomUtil: RandomUtil; protected localisationService: LocalisationService; protected botHelper: BotHelper; protected configServer: ConfigServer; + protected cloner: ICloner; protected pmcConfig: IPmcConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, localisationService: LocalisationService, botHelper: BotHelper, configServer: ConfigServer); + constructor(logger: ILogger, databaseServer: DatabaseServer, randomUtil: RandomUtil, localisationService: LocalisationService, botHelper: BotHelper, configServer: ConfigServer, cloner: ICloner); getPmcDifficultySettings(pmcType: "bear" | "usec", difficulty: string, usecType: string, bearType: string): Difficulty; /** * Get difficulty settings for desired bot type, if not found use assault bot types diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/BotGeneratorHelper.d.ts index e7f32ed..bb3526f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/BotGeneratorHelper.d.ts @@ -1,28 +1,34 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; protected databaseServer: DatabaseServer; protected durabilityLimitsHelper: DurabilityLimitsHelper; protected itemHelper: ItemHelper; + protected inventoryHelper: InventoryHelper; + protected containerHelper: ContainerHelper; protected applicationContext: ApplicationContext; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected botConfig: IBotConfig; protected pmcConfig: IPmcConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, databaseServer: DatabaseServer, durabilityLimitsHelper: DurabilityLimitsHelper, itemHelper: ItemHelper, applicationContext: ApplicationContext, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, randomUtil: RandomUtil, databaseServer: DatabaseServer, durabilityLimitsHelper: DurabilityLimitsHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, containerHelper: ContainerHelper, applicationContext: ApplicationContext, localisationService: LocalisationService, configServer: ConfigServer); /** * Adds properties to an item * e.g. Repairable / HasHinge / Foldable / MaxDurability @@ -30,7 +36,7 @@ export declare class BotGeneratorHelper { * @param botRole Used by weapons to randomize the durability values. Null for non-equipped items * @returns Item Upd object with extra properties */ - generateExtraPropertiesForItem(itemTemplate: ITemplateItem, botRole?: any): { + generateExtraPropertiesForItem(itemTemplate: ITemplateItem, botRole?: string): { upd?: Upd; }; /** @@ -62,32 +68,36 @@ export declare class BotGeneratorHelper { * @returns Repairable object */ protected generateArmorRepairableProperties(itemTemplate: ITemplateItem, botRole: string): Repairable; + isWeaponModIncompatibleWithCurrentMods(itemsEquipped: Item[], tplToCheck: string, modSlot: string): IChooseRandomCompatibleModResult; /** * Can item be added to another item without conflict - * @param items Items to check compatibilities with + * @param itemsEquipped Items to check compatibilities with * @param tplToCheck Tpl of the item to check for incompatibilities * @param equipmentSlot Slot the item will be placed into * @returns false if no incompatibilities, also has incompatibility reason */ - isItemIncompatibleWithCurrentItems(items: Item[], tplToCheck: string, equipmentSlot: string): { - incompatible: boolean; - reason: string; - }; + isItemIncompatibleWithCurrentItems(itemsEquipped: Item[], tplToCheck: string, equipmentSlot: string): IChooseRandomCompatibleModResult; /** * Convert a bots role to the equipment role used in config/bot.json * @param botRole Role to convert * @returns Equipment role (e.g. pmc / assault / bossTagilla) */ getBotEquipmentRole(botRole: string): string; -} -/** TODO - move into own class */ -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; + /** + * Adds an item with all its children into specified equipmentSlots, wherever it fits. + * @param equipmentSlots Slot to add item+children into + * @param rootItemId Root item id to use as mod items parentid + * @param rootItemTplId Root itms tpl id + * @param itemWithChildren Item to add + * @param inventory Inventory to add item+children into + * @returns ItemAddedResult result object + */ + addItemWithChildrenToEquipmentSlot(equipmentSlots: string[], rootItemId: string, rootItemTplId: string, itemWithChildren: Item[], inventory: Inventory, containersIdFull?: Set): ItemAddedResult; + /** + * Is the provided item allowed inside a container + * @param slotGrid Items sub-grid we want to place item inside + * @param itemTpl Item tpl being placed + * @returns True if allowed + */ + protected itemAllowedInContainer(slotGrid: Grid, itemTpl: string): boolean; } diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/BotHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/BotHelper.d.ts index 1026070..5e03638 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/BotHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/BotHelper.d.ts @@ -1,23 +1,21 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; - protected jsonUtil: JsonUtil; protected databaseServer: DatabaseServer; protected randomUtil: RandomUtil; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected botConfig: IBotConfig; protected pmcConfig: IPmcConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, databaseServer: DatabaseServer, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** * Get a template object for the specified botRole from bots.types db * @param role botRole to get template for diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/BotWeaponGeneratorHelper.d.ts index 293abb1..5ab4e59 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,29 +1,26 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; protected randomUtil: RandomUtil; protected hashUtil: HashUtil; - protected inventoryHelper: InventoryHelper; protected weightedRandomHelper: WeightedRandomHelper; + protected botGeneratorHelper: BotGeneratorHelper; protected localisationService: LocalisationService; - protected containerHelper: ContainerHelper; - constructor(logger: ILogger, databaseServer: DatabaseServer, itemHelper: ItemHelper, randomUtil: RandomUtil, hashUtil: HashUtil, inventoryHelper: InventoryHelper, weightedRandomHelper: WeightedRandomHelper, localisationService: LocalisationService, containerHelper: ContainerHelper); + constructor(logger: ILogger, databaseServer: DatabaseServer, itemHelper: ItemHelper, randomUtil: RandomUtil, hashUtil: HashUtil, weightedRandomHelper: WeightedRandomHelper, botGeneratorHelper: BotGeneratorHelper, localisationService: LocalisationService); /** * Get a randomized number of bullets for a specific magazine * @param magCounts Weights of magazines @@ -65,22 +62,4 @@ export declare class BotWeaponGeneratorHelper { * @returns tpl of magazine */ getWeaponsDefaultMagazineTpl(weaponTemplate: ITemplateItem): string; - /** - * TODO - move into BotGeneratorHelper, this is not the class for it - * Adds an item with all its children into specified equipmentSlots, wherever it fits. - * @param equipmentSlots Slot to add item+children into - * @param parentId - * @param parentTpl - * @param itemWithChildren Item to add - * @param inventory Inventory to add item+children into - * @returns a `boolean` indicating item was added - */ - addItemWithChildrenToEquipmentSlot(equipmentSlots: string[], parentId: string, parentTpl: string, itemWithChildren: Item[], inventory: Inventory): ItemAddedResult; - /** - * Is the provided item allowed inside a container - * @param slotGrid Items sub-grid we want to place item inside - * @param itemTpl Item tpl being placed - * @returns True if allowed - */ - protected itemAllowedInContainer(slotGrid: Grid, itemTpl: string): boolean; } diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/ContainerHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/ContainerHelper.d.ts index 125fbcb..37aef05 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/ContainerHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/ContainerHelper.d.ts @@ -28,13 +28,12 @@ export declare class ContainerHelper { protected locateSlot(container2D: number[][], containerX: number, containerY: number, x: number, y: number, itemW: number, itemH: number): boolean; /** * Find a free slot for an item to be placed at - * @param container2D Container to palce item in + * @param container2D Container to place item in * @param x Container x size * @param y Container y size * @param itemW Items width * @param itemH Items height * @param rotate is item rotated - * @returns Location to place item */ - fillContainerMapWithItem(container2D: number[][], x: number, y: number, itemW: number, itemH: number, rotate: boolean): number[][]; + fillContainerMapWithItem(container2D: number[][], x: number, y: number, itemW: number, itemH: number, rotate: boolean): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index 8034dc1..9817c5b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,16 +1,16 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; protected chatCommands: IChatCommand[] | ICommandoCommand[]; constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[] | ICommandoCommand[]); /** - * @deprecated use registerChatCommand instead + * @deprecated As of v3.7.6. Use registerChatCommand. */ registerCommandoCommand(chatCommand: IChatCommand | ICommandoCommand): void; registerChatCommand(chatCommand: IChatCommand | ICommandoCommand): void; diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/IChatCommand.d.ts index 247aea7..754fd08 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,7 +1,7 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** - * @deprecated Use IChatCommand instead + * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ export type ICommandoCommand = IChatCommand; export interface IChatCommand { diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts new file mode 100644 index 0000000..a7491b5 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -0,0 +1,47 @@ +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +export declare class GiveSptCommand implements ISptCommand { + protected logger: ILogger; + protected itemHelper: ItemHelper; + protected hashUtil: HashUtil; + protected presetHelper: PresetHelper; + protected mailSendService: MailSendService; + protected localeService: LocaleService; + protected databaseServer: DatabaseServer; + protected itemFilterService: ItemFilterService; + protected cloner: ICloner; + /** + * Regex to account for all these cases: + * spt give "item name" 5 + * spt give templateId 5 + * spt give en "item name in english" 5 + * spt give es "nombre en español" 5 + * spt give 5 <== this is the reply when the algo isn't sure about an item + */ + private static commandRegex; + private static acceptableConfidence; + private static excludedPresetItems; + protected savedCommand: Map; + constructor(logger: ILogger, itemHelper: ItemHelper, hashUtil: HashUtil, presetHelper: PresetHelper, mailSendService: MailSendService, localeService: LocaleService, databaseServer: DatabaseServer, itemFilterService: ItemFilterService, cloner: ICloner); + getCommand(): string; + getCommandHelp(): string; + performAction(commandHandler: IUserDialogInfo, sessionId: string, request: ISendMessageRequest): string; + /** + * A "simple" function that checks if an item is supposed to be given to a player or not + * @param templateItem the template item to check + * @returns true if its obtainable, false if its not + */ + protected isItemAllowed(templateItem: ITemplateItem): boolean; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/SavedCommand.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand.d.ts similarity index 100% rename from TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/SavedCommand.d.ts rename to TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand.d.ts diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/GiveSptCommand.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/GiveSptCommand.d.ts deleted file mode 100644 index e7925bb..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/GiveSptCommand.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/SavedCommand"; -export declare class GiveSptCommand implements ISptCommand { - protected logger: ILogger; - protected itemHelper: ItemHelper; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected presetHelper: PresetHelper; - protected mailSendService: MailSendService; - protected localeService: LocaleService; - protected databaseServer: DatabaseServer; - /** - * Regex to account for all these cases: - * spt give "item name" 5 - * spt give templateId 5 - * spt give en "item name in english" 5 - * spt give es "nombre en español" 5 - * spt give 5 <== this is the reply when the algo isnt sure about an item - */ - private static commandRegex; - private static maxAllowedDistance; - protected savedCommand: SavedCommand; - constructor(logger: ILogger, itemHelper: ItemHelper, hashUtil: HashUtil, jsonUtil: JsonUtil, presetHelper: PresetHelper, mailSendService: MailSendService, localeService: LocaleService, databaseServer: DatabaseServer); - getCommand(): string; - getCommandHelp(): string; - performAction(commandHandler: IUserDialogInfo, sessionId: string, request: ISendMessageRequest): string; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts new file mode 100644 index 0000000..7d3547a --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -0,0 +1,36 @@ +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +export declare class ProfileSptCommand implements ISptCommand { + protected logger: ILogger; + protected itemHelper: ItemHelper; + protected hashUtil: HashUtil; + protected presetHelper: PresetHelper; + protected mailSendService: MailSendService; + protected localeService: LocaleService; + protected databaseServer: DatabaseServer; + protected profileHelper: ProfileHelper; + /** + * Regex to account for all these cases: + * spt profile level 20 + * spt profile skill metabolism 10 + */ + private static commandRegex; + protected savedCommand: SavedCommand; + constructor(logger: ILogger, itemHelper: ItemHelper, hashUtil: HashUtil, presetHelper: PresetHelper, mailSendService: MailSendService, localeService: LocaleService, databaseServer: DatabaseServer, profileHelper: ProfileHelper); + getCommand(): string; + getCommandHelp(): string; + performAction(commandHandler: IUserDialogInfo, sessionId: string, request: ISendMessageRequest): string; + protected handleSkillCommand(skill: string, level: number): IProfileChangeEvent; + protected handleLevelCommand(level: number): IProfileChangeEvent; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts new file mode 100644 index 0000000..3cfc7bd --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -0,0 +1,31 @@ +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +export declare class TraderSptCommand implements ISptCommand { + protected logger: ILogger; + protected itemHelper: ItemHelper; + protected hashUtil: HashUtil; + protected presetHelper: PresetHelper; + protected mailSendService: MailSendService; + protected localeService: LocaleService; + protected databaseServer: DatabaseServer; + /** + * Regex to account for all these cases: + * spt trader prapor rep 100 + * spt trader mechanic spend 1000000 + */ + private static commandRegex; + protected savedCommand: SavedCommand; + constructor(logger: ILogger, itemHelper: ItemHelper, hashUtil: HashUtil, presetHelper: PresetHelper, mailSendService: MailSendService, localeService: LocaleService, databaseServer: DatabaseServer); + getCommand(): string; + getCommandHelp(): string; + performAction(commandHandler: IUserDialogInfo, sessionId: string, request: ISendMessageRequest): string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 391969f..a87bec1 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/SptDialogueChatBot.d.ts index a852dfe..8d3aa97 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,12 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; @@ -14,6 +15,7 @@ export declare class SptDialogueChatBot implements IDialogueChatBot { protected giftService: GiftService; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; + protected weatherConfig: IWeatherConfig; constructor(profileHelper: ProfileHelper, randomUtil: RandomUtil, mailSendService: MailSendService, giftService: GiftService, configServer: ConfigServer); getChatBot(): IUserDialogInfo; /** diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/DialogueHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/DialogueHelper.d.ts index ea1b517..febe696 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/DialogueHelper.d.ts @@ -1,14 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessageContent, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -19,14 +18,6 @@ export declare class DialogueHelper { protected localisationService: LocalisationService; protected itemHelper: ItemHelper; constructor(logger: ILogger, hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, notifierHelper: NotifierHelper, notificationSendHelper: NotificationSendHelper, localisationService: LocalisationService, itemHelper: ItemHelper); - /** - * @deprecated Use MailSendService.sendMessage() or helpers - */ - createMessageContext(templateId: string, messageType: MessageType, maxStoreTime?: any): MessageContent; - /** - * @deprecated Use MailSendService.sendMessage() or helpers - */ - addDialogueMessage(dialogueID: string, messageContent: MessageContent, sessionID: string, rewards?: Item[], messageType?: MessageType): void; /** * Get the preview contents of the last message in a dialogue. * @param dialogue diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/GameEventHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/HandbookHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/HandbookHelper.d.ts index 1e7dffa..6836875 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/HandbookHelper.d.ts @@ -1,6 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -13,21 +16,24 @@ export declare class LookupCollection { } export declare class HandbookHelper { protected databaseServer: DatabaseServer; - protected jsonUtil: JsonUtil; + protected configServer: ConfigServer; + protected cloner: ICloner; + protected itemConfig: IItemConfig; protected lookupCacheGenerated: boolean; protected handbookPriceCache: LookupCollection; - constructor(databaseServer: DatabaseServer, jsonUtil: JsonUtil); + constructor(databaseServer: DatabaseServer, configServer: ConfigServer, cloner: ICloner); /** * Create an in-memory cache of all items with associated handbook price in handbookPriceCache class */ hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ getTemplatePrice(tpl: string): number; + getTemplatePriceForItems(items: Item[]): number; /** * Get all items in template with the given parent category * @param parentId diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/HealthHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/HealthHelper.d.ts index 6aae71f..7fb646c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/HealthHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/HealthHelper.d.ts @@ -1,26 +1,26 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { - protected jsonUtil: JsonUtil; protected logger: ILogger; protected timeUtil: TimeUtil; protected saveServer: SaveServer; protected configServer: ConfigServer; + protected cloner: ICloner; protected healthConfig: IHealthConfig; - constructor(jsonUtil: JsonUtil, logger: ILogger, timeUtil: TimeUtil, saveServer: SaveServer, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, saveServer: SaveServer, configServer: ConfigServer, cloner: ICloner); /** * Resets the profiles vitality/health and vitality/effects properties to their defaults * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/HideoutHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/HideoutHelper.d.ts index 0cfc649..33a9729 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/HideoutHelper.d.ts @@ -1,25 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IAddItemRequestData } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -31,14 +33,17 @@ export declare class HideoutHelper { protected inventoryHelper: InventoryHelper; protected playerService: PlayerService; protected localisationService: LocalisationService; + protected itemHelper: ItemHelper; protected configServer: ConfigServer; + protected cloner: ICloner; static bitcoinFarm: string; + static bitcoinProductionId: string; static waterCollector: string; - static bitcoin: string; + static bitcoinTpl: string; static expeditionaryFuelTank: string; static maxSkillPoint: number; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, eventOutputHolder: EventOutputHolder, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, eventOutputHolder: EventOutputHolder, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, localisationService: LocalisationService, itemHelper: ItemHelper, configServer: ConfigServer, cloner: ICloner); /** * Add production to profiles' Hideout.Production array * @param pmcData Profile to add production to @@ -80,6 +85,16 @@ export declare class HideoutHelper { waterCollectorHasFilter: boolean; }; protected doesWaterCollectorHaveFilter(waterCollector: HideoutArea): boolean; + /** + * Iterate over productions and update their progress timers + * @param pmcData Profile to check for productions and update + * @param hideoutProperties Hideout properties + */ + protected updateProductionTimers(pmcData: IPmcData, hideoutProperties: { + btcFarmCGs: number; + isGeneratorOn: boolean; + waterCollectorHasFilter: boolean; + }): void; /** * Update progress timer for water collector * @param pmcData profile to update @@ -91,16 +106,6 @@ export declare class HideoutHelper { isGeneratorOn: boolean; waterCollectorHasFilter: boolean; }): void; - /** - * Iterate over productions and update their progress timers - * @param pmcData Profile to check for productions and update - * @param hideoutProperties Hideout properties - */ - protected updateProductionTimers(pmcData: IPmcData, hideoutProperties: { - btcFarmCGs: number; - isGeneratorOn: boolean; - waterCollectorHasFilter: boolean; - }): void; /** * Update a productions progress value based on the amount of time that has passed * @param pmcData Player profile @@ -138,17 +143,34 @@ export declare class HideoutHelper { isGeneratorOn: boolean; waterCollectorHasFilter: boolean; }): void; - protected updateFuel(generatorArea: HideoutArea, pmcData: IPmcData): void; - protected updateWaterCollector(sessionId: string, pmcData: IPmcData, area: HideoutArea, isGeneratorOn: boolean): void; + /** + * Decrease fuel from generator slots based on amount of time since last time this occured + * @param generatorArea Hideout area + * @param pmcData Player profile + * @param isGeneratorOn Is the generator turned on since last update + */ + protected updateFuel(generatorArea: HideoutArea, pmcData: IPmcData, isGeneratorOn: boolean): void; + protected updateWaterCollector(sessionId: string, pmcData: IPmcData, area: HideoutArea, hideoutProperties: { + btcFarmCGs: number; + isGeneratorOn: boolean; + waterCollectorHasFilter: boolean; + }): void; + /** + * Get craft time and make adjustments to account for dev profile + crafting skill level + * @param pmcData Player profile making craft + * @param recipeId Recipe being crafted + * @param applyHideoutManagementBonus should the hideout mgmt bonus be appled to the calculation + * @returns Items craft time with bonuses subtracted + */ + getAdjustedCraftTimeWithSkills(pmcData: IPmcData, recipeId: string, applyHideoutManagementBonus?: boolean): number; /** * Adjust water filter objects resourceValue or delete when they reach 0 resource * @param waterFilterArea water filter area to update * @param production production object * @param isGeneratorOn is generator enabled * @param pmcData Player profile - * @returns Updated HideoutArea object */ - protected updateWaterFilters(waterFilterArea: HideoutArea, production: Production, isGeneratorOn: boolean, pmcData: IPmcData): HideoutArea; + protected updateWaterFilters(waterFilterArea: HideoutArea, production: Production, isGeneratorOn: boolean, pmcData: IPmcData): void; /** * Get an adjusted water filter drain rate based on time elapsed since last run, * handle edge case when craft time has gone on longer than total production time @@ -156,9 +178,9 @@ export declare class HideoutHelper { * @param totalProductionTime Total time collecting water * @param productionProgress how far water collector has progressed * @param baseFilterDrainRate Base drain rate - * @returns + * @returns drain rate (adjusted) */ - protected adjustWaterFilterDrainRate(secondsSinceServerTick: number, totalProductionTime: number, productionProgress: number, baseFilterDrainRate: number): number; + protected getTimeAdjustedWaterFilterDrainRate(secondsSinceServerTick: number, totalProductionTime: number, productionProgress: number, baseFilterDrainRate: number): number; /** * Get the water filter drain rate based on hideout bonues player has * @param pmcData Player profile @@ -178,8 +200,8 @@ export declare class HideoutHelper { * @param resourceUnitsConsumed * @returns Upd */ - protected getAreaUpdObject(stackCount: number, resourceValue: number, resourceUnitsConsumed: number): Upd; - protected updateAirFilters(airFilterArea: HideoutArea, pmcData: IPmcData): void; + protected getAreaUpdObject(stackCount: number, resourceValue: number, resourceUnitsConsumed: number, isFoundInRaid: boolean): Upd; + protected updateAirFilters(airFilterArea: HideoutArea, pmcData: IPmcData, isGeneratorOn: boolean): void; protected updateBitcoinFarm(pmcData: IPmcData, btcFarmCGs: number, isGeneratorOn: boolean): Production; /** * Add bitcoin object to btc production products array and set progress time @@ -196,15 +218,15 @@ export declare class HideoutHelper { */ protected getTimeElapsedSinceLastServerTick(pmcData: IPmcData, isGeneratorOn: boolean, recipe?: IHideoutProduction): number; /** - * Get a count of how many BTC can be gathered by the profile + * Get a count of how many possible BTC can be gathered by the profile * @param pmcData Profile to look up - * @returns coin slot count + * @returns Coin slot count */ protected getBTCSlots(pmcData: IPmcData): number; /** - * Get a count of bitcoins player miner can hold + * Get a count of how many additional bitcoins player hideout can hold with elite skill */ - protected getBitcoinMinerContainerSlotSize(): number; + protected getEliteSkillAdditionalBitcoinSlotCount(): number; /** * HideoutManagement skill gives a consumption bonus the higher the level * 0.5% per level per 1-51, (25.5% at max) @@ -213,12 +235,21 @@ export declare class HideoutHelper { */ protected getHideoutManagementConsumptionBonus(pmcData: IPmcData): number; /** - * Adjust craft time based on crafting skill level found in player profile + * Get a multipler based on players skill level and value per level + * @param pmcData Player profile + * @param skill Player skill from profile + * @param valuePerLevel Value from globals.config.SkillsSettings - `PerLevel` + * @returns Multipler from 0 to 1 + */ + protected getSkillBonusMultipliedBySkillLevel(pmcData: IPmcData, skill: SkillTypes, valuePerLevel: number): number; + /** * @param pmcData Player profile * @param productionTime Time to complete hideout craft in seconds - * @returns Adjusted craft time in seconds + * @param skill Skill bonus to get reduction from + * @param amountPerLevel Skill bonus amount to apply + * @returns Seconds to reduce craft time by */ - protected getCraftingSkillProductionTimeReduction(pmcData: IPmcData, productionTime: number): number; + getSkillProductionTimeReduction(pmcData: IPmcData, productionTime: number, skill: SkillTypes, amountPerLevel: number): number; isProduction(productive: Productive): productive is Production; /** * Gather crafted BTC from hideout area and add to inventory @@ -226,15 +257,9 @@ export declare class HideoutHelper { * @param pmcData Player profile * @param request Take production request * @param sessionId Session id - * @returns IItemEventRouterResponse + * @param output Output object to update */ - getBTC(pmcData: IPmcData, request: IHideoutTakeProductionRequestData, sessionId: string): IItemEventRouterResponse; - /** - * Create a single bitcoin request object - * @param pmcData Player profile - * @returns IAddItemRequestData - */ - protected createBitcoinRequest(pmcData: IPmcData): IAddItemRequestData; + getBTC(pmcData: IPmcData, request: IHideoutTakeProductionRequestData, sessionId: string, output: IItemEventRouterResponse): void; /** * Upgrade hideout wall from starting level to interactable level if necessary stations have been upgraded * @param pmcProfile Profile to upgrade wall in @@ -251,4 +276,17 @@ export declare class HideoutHelper { * @param pmcProfile Profile to adjust */ setHideoutImprovementsToCompleted(pmcProfile: IPmcData): void; + /** + * Add/remove bonus combat skill based on number of dogtags in place of fame hideout area + * @param pmcData Player profile + */ + applyPlaceOfFameDogtagBonus(pmcData: IPmcData): void; + /** + * Calculate the raw dogtag combat skill bonus for place of fame based on number of dogtags + * Reverse engineered from client code + * @param pmcData Player profile + * @param activeDogtags Active dogtags in place of fame dogtag slots + * @returns combat bonus + */ + protected getDogtagCombatSkillBonusPercent(pmcData: IPmcData, activeDogtags: Item[]): number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/HttpServerHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/HttpServerHelper.d.ts index d67b4ec..9d5e6df 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; @@ -17,7 +17,7 @@ export declare class HttpServerHelper { constructor(configServer: ConfigServer); getMimeText(key: string): string; /** - * Combine ip and port into url + * Combine ip and port into address * @returns url */ buildUrl(): string; diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/InRaidHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/InRaidHelper.d.ts index b2bba8c..45cb9c1 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/InRaidHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; protected timeUtil: TimeUtil; protected saveServer: SaveServer; - protected jsonUtil: JsonUtil; protected itemHelper: ItemHelper; protected databaseServer: DatabaseServer; protected inventoryHelper: InventoryHelper; @@ -31,9 +31,11 @@ export declare class InRaidHelper { protected localisationService: LocalisationService; protected profileFixerService: ProfileFixerService; protected configServer: ConfigServer; + protected randomUtil: RandomUtil; + protected cloner: ICloner; protected lostOnDeathConfig: ILostOnDeathConfig; protected inRaidConfig: IInRaidConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, saveServer: SaveServer, jsonUtil: JsonUtil, itemHelper: ItemHelper, databaseServer: DatabaseServer, inventoryHelper: InventoryHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, paymentHelper: PaymentHelper, localisationService: LocalisationService, profileFixerService: ProfileFixerService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, saveServer: SaveServer, itemHelper: ItemHelper, databaseServer: DatabaseServer, inventoryHelper: InventoryHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, paymentHelper: PaymentHelper, localisationService: LocalisationService, profileFixerService: ProfileFixerService, configServer: ConfigServer, randomUtil: RandomUtil, cloner: ICloner); /** * Lookup quest item loss from lostOnDeath config * @returns True if items should be removed from inventory @@ -45,19 +47,6 @@ export declare class InRaidHelper { * @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; - /** - * Get the standing gain/loss for killing an npc - * @param victim Who was killed by player - * @returns a numerical standing gain or loss - */ - protected getFenceStandingChangeForKillAsScav(victim: Victim): number; /** * Reset a profile to a baseline, used post-raid * Reset points earned during session property @@ -74,7 +63,7 @@ export declare class InRaidHelper { */ protected resetSkillPointsEarnedDuringRaid(profile: IPmcData): void; /** Check counters are correct in profile */ - protected validateBackendCounters(saveProgressRequest: ISaveProgressRequestData, profileData: IPmcData): void; + protected validateTaskConditionCounters(saveProgressRequest: ISaveProgressRequestData, profileData: IPmcData): void; /** * Update various serverPMC profile values; quests/limb hp/trader standing with values post-raic * @param pmcData Server PMC profile @@ -109,6 +98,12 @@ export declare class InRaidHelper { * @param tradersClientProfile Client */ protected applyTraderStandingAdjustments(tradersServerProfile: Record, tradersClientProfile: Record): void; + /** + * Transfer client achievements into profile + * @param profile Player pmc profile + * @param clientAchievements Achievements from client + */ + protected updateProfileAchievements(profile: IPmcData, clientAchievements: Record): void; /** * Set the SPT inraid location Profile property to 'none' * @param sessionID Session id @@ -129,16 +124,15 @@ export declare class InRaidHelper { * @param sessionID Session id * @param serverProfile Profile to update * @param postRaidProfile Profile returned by client after a raid - * @returns Updated profile */ - setInventory(sessionID: string, serverProfile: IPmcData, postRaidProfile: IPmcData): IPmcData; + setInventory(sessionID: string, serverProfile: IPmcData, postRaidProfile: IPmcData): void; /** - * Clear pmc inventory of all items except those that are exempt + * 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 + * @param sessionId Session id */ - deleteInventory(pmcData: IPmcData, sessionID: string): void; + deleteInventory(pmcData: IPmcData, sessionId: string): void; /** * Get an array of items from a profile that will be lost on death * @param pmcProfile Profile to get items from diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/InventoryHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/InventoryHelper.d.ts index 0bf2925..48431a8 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/InventoryHelper.d.ts @@ -1,29 +1,33 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { AddItem, IAddItemRequestData } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export interface OwnerInventoryItems { +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; /** Inventory items at destination */ @@ -33,7 +37,6 @@ export interface OwnerInventoryItems { } export declare class InventoryHelper { protected logger: ILogger; - protected jsonUtil: JsonUtil; protected hashUtil: HashUtil; protected httpResponse: HttpResponseUtil; protected fenceService: FenceService; @@ -44,53 +47,85 @@ export declare class InventoryHelper { protected itemHelper: ItemHelper; protected containerHelper: ContainerHelper; protected profileHelper: ProfileHelper; + protected presetHelper: PresetHelper; protected localisationService: LocalisationService; protected configServer: ConfigServer; + protected cloner: ICloner; 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, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, httpResponse: HttpResponseUtil, fenceService: FenceService, databaseServer: DatabaseServer, paymentHelper: PaymentHelper, traderAssortHelper: TraderAssortHelper, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, containerHelper: ContainerHelper, profileHelper: ProfileHelper, presetHelper: PresetHelper, localisationService: LocalisationService, configServer: ConfigServer, cloner: ICloner); /** - * BUG: Passing the same item multiple times with a count of 1 will cause multiples of that item to be added (e.g. x3 separate objects of tar cola with count of 1 = 9 tarcolas being added to inventory) - * @param pmcData Profile to add items to - * @param request request data to add items - * @param output response to send back to client - * @param sessionID Session id - * @param callback Code to execute later (function) - * @param foundInRaid Will results added to inventory be set as found in raid - * @param addUpd Additional upd properties for items being added to inventory - * @param useSortingTable Allow items to go into sorting table when stash has no space - * @returns IItemEventRouterResponse - */ - addItem(pmcData: IPmcData, request: IAddItemRequestData, output: IItemEventRouterResponse, sessionID: string, callback: () => void, foundInRaid?: boolean, addUpd?: any, useSortingTable?: boolean): IItemEventRouterResponse; - /** - * Take the given item, find a free slot in passed in inventory and place it there - * If no space in inventory, place in sorting table - * @param itemToAdd Item to add to inventory - * @param stashFS2D Two dimentional stash map - * @param sortingTableFS2D Two dimentional sorting table stash map - * @param itemLib + * Add multiple items to player stash (assuming they all fit) + * @param sessionId Session id + * @param request IAddItemsDirectRequest request * @param pmcData Player profile - * @param useSortingTable Should sorting table be used for overflow items when no inventory space for item - * @param output Client output object - * @returns Client error output if placing item failed + * @param output Client response object */ - protected placeItemInInventory(itemToAdd: IAddItemTempObject, stashFS2D: number[][], sortingTableFS2D: number[][], itemLib: Item[], playerInventory: Inventory, useSortingTable: boolean, output: IItemEventRouterResponse): IItemEventRouterResponse; + addItemsToStash(sessionId: string, request: IAddItemsDirectRequest, pmcData: IPmcData, output: IItemEventRouterResponse): void; /** - * Add ammo to ammo boxes - * @param itemToAdd Item to check is ammo box - * @param parentId Ammo box parent id - * @param output IItemEventRouterResponse object - * @param sessionID Session id - * @param pmcData Profile to add ammobox to - * @param output object to send to client - * @param foundInRaid should ammo be FiR + * Add whatever is passed in `request.itemWithModsToAdd` into player inventory (if it fits) + * @param sessionId Session id + * @param request addItemDirect request + * @param pmcData Player profile + * @param output Client response object */ - protected hydrateAmmoBoxWithAmmo(pmcData: IPmcData, itemToAdd: IAddItemTempObject, parentId: string, sessionID: string, output: IItemEventRouterResponse, foundInRaid: boolean): void; + addItemToStash(sessionId: string, request: IAddItemDirectRequest, pmcData: IPmcData, output: IItemEventRouterResponse): void; /** + * Set FiR status for an item + its children + * @param itemWithChildren An item + * @param foundInRaid Item was found in raid + */ + protected setFindInRaidStatusForItem(itemWithChildren: Item[], foundInRaid: boolean): void; + /** + * Remove properties from a Upd object used by a trader/ragfair that are unnecessary to a player + * @param upd Object to update + */ + protected removeTraderRagfairRelatedUpdProperties(upd: Upd): void; + /** + * Can all probided items be added into player inventory + * @param sessionId Player id + * @param itemsWithChildren array of items with children to try and fit + * @returns True all items fit + */ + canPlaceItemsInInventory(sessionId: string, itemsWithChildren: Item[][]): boolean; + /** + * Do the provided items all fit into the grid + * @param containerFS2D Container grid to fit items into + * @param itemsWithChildren items to try and fit into grid + * @returns True all fit + */ + canPlaceItemsInContainer(containerFS2D: number[][], itemsWithChildren: Item[][]): boolean; + /** + * Does an item fit into a container grid + * @param containerFS2D Container grid + * @param itemWithChildren item to check fits + * @returns True it fits + */ + canPlaceItemInContainer(containerFS2D: number[][], itemWithChildren: Item[]): boolean; + /** + * Find a free location inside a container to fit the item + * @param containerFS2D Container grid to add item to + * @param itemWithChildren Item to add to grid + * @param containerId Id of the container we're fitting item into + * @param desiredSlotId slot id value to use, default is "hideout" + */ + placeItemInContainer(containerFS2D: number[][], itemWithChildren: Item[], containerId: string, desiredSlotId?: string): void; + /** + * Find a location to place an item into inventory and place it + * @param stashFS2D 2-dimensional representation of the container slots + * @param sortingTableFS2D 2-dimensional representation of the sorting table slots + * @param itemWithChildren Item to place + * @param playerInventory + * @param useSortingTable Should sorting table to be used if main stash has no space + * @param output output to send back to client + */ + protected placeItemInInventory(stashFS2D: number[][], sortingTableFS2D: number[][], itemWithChildren: Item[], playerInventory: Inventory, useSortingTable: boolean, output: IItemEventRouterResponse): void; + /** + * Split an items stack size based on its StackMaxSize value * @param assortItems Items to add to inventory * @param requestItem Details of purchased item to add to inventory - * @param result Array split stacks are added to + * @param result Array split stacks are appended to */ - protected splitStackIntoSmallerStacks(assortItems: Item[], requestItem: AddItem, result: IAddItemTempObject[]): void; + protected splitStackIntoSmallerChildStacks(assortItems: Item[], requestItem: AddItem, result: IAddItemTempObject[]): void; /** * Handle Remove event * Remove item from player inventory + insured items array @@ -98,16 +133,51 @@ export declare class InventoryHelper { * @param profile Profile to remove item from (pmc or scav) * @param itemId Items id to remove * @param sessionID Session id - * @param output Existing IItemEventRouterResponse object to append data to, creates new one by default if not supplied + * @param output OPTIONAL - IItemEventRouterResponse + */ + removeItem(profile: IPmcData, itemId: string, sessionID: string, output?: IItemEventRouterResponse): void; + /** + * Delete desired item from a player profiles mail + * @param sessionId Session id + * @param removeRequest Remove request + * @param output OPTIONAL - IItemEventRouterResponse + */ + removeItemAndChildrenFromMailRewards(sessionId: string, removeRequest: IInventoryRemoveRequestData, output?: IItemEventRouterResponse): void; + /** + * Find item by id in player inventory and remove x of its count + * @param pmcData player profile + * @param itemId Item id to decrement StackObjectsCount of + * @param countToRemove Number of item to remove + * @param sessionID Session id + * @param output IItemEventRouterResponse * @returns IItemEventRouterResponse */ - removeItem(profile: IPmcData, itemId: string, sessionID: string, output?: IItemEventRouterResponse): IItemEventRouterResponse; - removeItemAndChildrenFromMailRewards(sessionId: string, removeRequest: IInventoryRemoveRequestData, output: IItemEventRouterResponse): IItemEventRouterResponse; - removeItemByCount(pmcData: IPmcData, itemId: string, count: number, sessionID: string, output?: IItemEventRouterResponse): IItemEventRouterResponse; - getItemSize(itemTpl: string, itemID: string, inventoryItem: Item[]): number[]; + removeItemByCount(pmcData: IPmcData, itemId: string, countToRemove: number, sessionID: string, output?: IItemEventRouterResponse): IItemEventRouterResponse; + /** + * Get the height and width of an item - can have children that alter size + * @param itemTpl Item to get size of + * @param itemID Items id to get size of + * @param inventoryItems + * @returns [width, height] + */ + getItemSize(itemTpl: string, itemID: string, inventoryItems: Item[]): number[]; protected getSizeByInventoryItemHash(itemTpl: string, itemID: string, inventoryItemHash: InventoryHelper.InventoryItemHash): number[]; + /** + * Get a blank two-dimentional representation of a container + * @param containerH Horizontal size of container + * @param containerY Vertical size of container + * @returns Two-dimensional representation of container + */ + protected getBlankContainerMap(containerH: number, containerY: number): number[][]; + /** + * @param containerH Horizontal size of container + * @param containerV Vertical size of container + * @param itemList + * @param containerId Id of the container + * @returns Two-dimensional representation of container + */ + getContainerMap(containerH: number, containerV: number, itemList: Item[], containerId: string): number[][]; protected getInventoryItemHash(inventoryItem: Item[]): InventoryHelper.InventoryItemHash; - getContainerMap(containerW: number, containerH: number, itemList: Item[], containerId: string): number[][]; /** * Return the inventory that needs to be modified (scav/pmc etc) * Changes made to result apply to character inventory @@ -116,19 +186,31 @@ export declare class InventoryHelper { * @param sessionId Session id / playerid * @returns OwnerInventoryItems with inventory of player/scav to adjust */ - getOwnerInventoryItems(request: IInventoryMoveRequestData | IInventorySplitRequestData | IInventoryMergeRequestData, sessionId: string): OwnerInventoryItems; + getOwnerInventoryItems(request: IInventoryMoveRequestData | IInventorySplitRequestData | IInventoryMergeRequestData | IInventoryTransferRequestData, sessionId: string): IOwnerInventoryItems; /** - * Made a 2d array table with 0 - free slot and 1 - used slot - * @param {Object} pmcData - * @param {string} sessionID - * @returns Array + * Get a two dimensional array to represent stash slots + * 0 value = free, 1 = taken + * @param pmcData Player profile + * @param sessionID session id + * @returns 2-dimensional array */ protected getStashSlotMap(pmcData: IPmcData, sessionID: string): number[][]; + /** + * Get a blank two-dimensional array representation of a container + * @param containerTpl Container to get data for + * @returns blank two-dimensional array + */ + getContainerSlotMap(containerTpl: string): number[][]; + /** + * Get a two-dimensional array representation of the players sorting table + * @param pmcData Player profile + * @returns two-dimensional array + */ protected getSortingTableSlotMap(pmcData: IPmcData): number[][]; /** - * Get Player Stash Proper Size - * @param sessionID Playerid - * @returns Array of 2 values, x and y stash size + * Get Players Stash Size + * @param sessionID Players id + * @returns Array of 2 values, horizontal and vertical stash size */ protected getPlayerStashSize(sessionID: string): Record; /** @@ -172,6 +254,15 @@ export declare class InventoryHelper { */ getRandomLootContainerRewardDetails(itemTpl: string): RewardDetails; getInventoryConfig(): IInventoryConfig; + /** + * Recursively checks if the given item is + * inside the stash, that is it has the stash as + * ancestor with slotId=hideout + * @param pmcData Player profile + * @param itemToCheck Item to look for + * @returns True if item exists inside stash + */ + isItemInStash(pmcData: IPmcData, itemToCheck: Item): boolean; } declare namespace InventoryHelper { interface InventoryItemHash { diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/ItemHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/ItemHelper.d.ts index c7daa8c..718dcdd 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/ItemHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/ItemHelper.d.ts @@ -1,20 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/tables/ILootBase"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -28,12 +30,38 @@ export declare class ItemHelper { protected itemFilterService: ItemFilterService; protected localisationService: LocalisationService; protected localeService: LocaleService; + protected compareUtil: CompareUtil; + protected cloner: ICloner; protected readonly defaultInvalidBaseTypes: string[]; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, randomUtil: RandomUtil, objectId: ObjectId, mathUtil: MathUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemBaseClassService: ItemBaseClassService, itemFilterService: ItemFilterService, localisationService: LocalisationService, localeService: LocaleService); + constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, randomUtil: RandomUtil, objectId: ObjectId, mathUtil: MathUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemBaseClassService: ItemBaseClassService, itemFilterService: ItemFilterService, localisationService: LocalisationService, localeService: LocaleService, compareUtil: CompareUtil, cloner: ICloner); + /** + * This method will compare two items (with all its children) and see if the are equivalent. + * This method will NOT compare IDs on the items + * @param item1 first item with all its children to compare + * @param item2 second item with all its children to compare + * @param compareUpdProperties Upd properties to compare between the items + * @returns true if they are the same, false if they arent + */ + isSameItems(item1: Item[], item2: Item[], compareUpdProperties?: Set): boolean; + /** + * This method will compare two items and see if the are equivalent. + * This method will NOT compare IDs on the items + * @param item1 first item to compare + * @param item2 second item to compare + * @param compareUpdProperties Upd properties to compare between the items + * @returns true if they are the same, false if they arent + */ + isSameItem(item1: Item, item2: Item, compareUpdProperties?: Set): boolean; + /** + * Helper method to generate a Upd based on a template + * @param itemTemplate the item template to generate a Upd for + * @returns A Upd with all the default properties set + */ + generateUpdForItem(itemTemplate: ITemplateItem): Upd; /** * Checks if an 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 possession and not quest items + * @param {string} tpl the template id / tpl + * @returns boolean; true for items that may be in player possession and not quest items */ isValidItem(tpl: string, invalidBaseTypes?: string[]): boolean; /** @@ -51,6 +79,44 @@ export declare class ItemHelper { * @returns true if any supplied base classes match */ isOfBaseclasses(tpl: string, baseClassTpls: string[]): boolean; + /** + * Does the provided item have the chance to require soft armor inserts + * Only applies to helmets/vest/armors. + * Not all head gear needs them + * @param itemTpl item to check + * @returns Does item have the possibility ot need soft inserts + */ + armorItemCanHoldMods(itemTpl: string): boolean; + /** + * Does the provided item tpl need soft/removable inserts to function + * @param itemTpl Armor item + * @returns True if item needs some kind of insert + */ + armorItemHasRemovableOrSoftInsertSlots(itemTpl: string): boolean; + /** + * Does the pased in tpl have ability to hold removable plate items + * @param itemTpl item tpl to check for plate support + * @returns True when armor can hold plates + */ + armorItemHasRemovablePlateSlots(itemTpl: string): boolean; + /** + * Does the provided item tpl require soft inserts to become a valid armor item + * @param itemTpl Item tpl to check + * @returns True if it needs armor inserts + */ + itemRequiresSoftInserts(itemTpl: string): boolean; + /** + * Get all soft insert slot ids + * @returns An array of soft insert ids (e.g. soft_armor_back, helmet_top) + */ + getSoftInsertSlotIds(): string[]; + /** + * Returns the items total 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 tpls item tpls to look up the price of + * @returns Total price in roubles + */ + getItemAndChildrenPrice(tpls: string[]): number; /** * 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 @@ -83,43 +149,6 @@ export declare class ItemHelper { * @returns Fixed item */ 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[]; /** * Get cloned copy of all item data from items.json * @returns array of ITemplateItem objects @@ -131,7 +160,14 @@ export declare class ItemHelper { * @returns bool - is valid + template item object as array */ getItem(tpl: string): [boolean, ITemplateItem]; + itemHasSlots(itemTpl: string): boolean; isItemInDb(tpl: string): boolean; + /** + * Calcualte the average quality of an item and its children + * @param items An offers item to process + * @returns % quality modifer between 0 and 1 + */ + getItemQualityModifierForOfferItems(items: Item[]): number; /** * get normalized value (0-1) based on item condition * @param item @@ -149,17 +185,18 @@ export declare class ItemHelper { /** * Recursive function that looks at every item from parameter and gets their childrens Ids + includes parent item in results * @param items Array of items (item + possible children) - * @param itemId Parent items id + * @param baseItemId Parent items id * @returns an array of strings */ - findAndReturnChildrenByItems(items: Item[], itemId: string): string[]; + findAndReturnChildrenByItems(items: Item[], baseItemId: string): string[]; /** * A variant of findAndReturnChildren where the output is list of item objects instead of their ids. - * @param items - * @param baseItemId + * @param items Array of items (item + possible children) + * @param baseItemId Parent items id + * @param modsOnly Include only mod items, exclude items stored inside root item * @returns An array of Item objects */ - findAndReturnChildrenAsItems(items: Item[], baseItemId: string): Item[]; + findAndReturnChildrenAsItems(items: Item[], baseItemId: string, modsOnly?: boolean): 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 @@ -192,28 +229,42 @@ export declare class ItemHelper { */ isItemTplStackable(tpl: string): boolean; /** - * split item stack if it exceeds its items StackMaxSize property + * Split item stack if it exceeds its items StackMaxSize property into child items of passed in parent * @param itemToSplit Item to split into smaller stacks - * @returns Array of split items + * @returns Array of root item + children */ splitStack(itemToSplit: Item): Item[]; + /** + * Turn items like money into separate stacks that adhere to max stack size + * @param itemToSplit Item to split into smaller stacks + * @returns + */ + splitStackIntoSeparateItems(itemToSplit: Item): Item[][]; /** * Find Barter items from array of items * @param {string} by tpl or id - * @param {Item[]} items Array of items to iterate over - * @param {string} barterItemId + * @param {Item[]} itemsToSearch Array of items to iterate over + * @param {string} desiredBarterItemIds * @returns Array of Item objects */ - findBarterItems(by: "tpl" | "id", items: Item[], barterItemId: string): Item[]; + findBarterItems(by: "tpl" | "id", itemsToSearch: Item[], desiredBarterItemIds: string | string[]): Item[]; /** - * Regenerate all guids with new ids, exceptions are for items that cannot be altered (e.g. stash/sorting table) + * Regenerate all GUIDs with new IDs, for the exception of special item types (e.g. quest, sorting table, etc.) This + * function will not mutate the original items array, but will return a new array with new GUIDs. + * + * @param originalItems Items to adjust the IDs of * @param pmcData Player profile - * @param items Items to adjust ID values of - * @param insuredItems insured items to not replace ids for - * @param fastPanel + * @param insuredItems Insured items that should not have their IDs replaced + * @param fastPanel Quick slot panel * @returns Item[] */ - replaceIDs(pmcData: IPmcData, items: Item[], insuredItems?: InsuredItem[], fastPanel?: any): Item[]; + replaceIDs(originalItems: Item[], pmcData?: IPmcData | null, insuredItems?: InsuredItem[] | null, fastPanel?: any): Item[]; + /** + * Mark the passed in array of items as found in raid. + * Modifies passed in items + * @param items The list of items to mark as FiR + */ + setFoundInRaid(items: Item[]): void; /** * WARNING, SLOW. Recursively 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 Items tpl to check parents of @@ -251,12 +302,6 @@ export declare class ItemHelper { * to traverse, where the keys are the item IDs and the values are the corresponding Item objects. This alleviates * some of the performance concerns, as it allows for quick lookups of items by ID. * - * To generate the map: - * ``` - * const itemsMap = new Map(); - * items.forEach(item => itemsMap.set(item._id, item)); - * ``` - * * @param itemId - The unique identifier of the item for which to find the main parent. * @param itemsMap - A Map containing item IDs mapped to their corresponding Item objects for quick lookup. * @returns The Item object representing the top-most parent of the given item, or `null` if no such parent exists. @@ -269,6 +314,22 @@ export declare class ItemHelper { * @returns true if the item is attached attachment, otherwise false. */ isAttachmentAttached(item: Item): boolean; + /** + * Retrieves the equipment parent item for a given item. + * + * This method traverses up the hierarchy of items starting from a given `itemId`, until it finds the equipment + * parent item. In other words, if you pass it an item id of a suppressor, it will traverse up the muzzle brake, + * barrel, upper receiver, gun, nested backpack, and finally return the backpack Item that is equipped. + * + * It's important to note that traversal is expensive, so this method requires that you pass it a Map of the items + * to traverse, where the keys are the item IDs and the values are the corresponding Item objects. This alleviates + * some of the performance concerns, as it allows for quick lookups of items by ID. + * + * @param itemId - The unique identifier of the item for which to find the equipment parent. + * @param itemsMap - A Map containing item IDs mapped to their corresponding Item objects for quick lookup. + * @returns The Item object representing the equipment parent of the given item, or `null` if no such parent exists. + */ + getEquipmentParent(itemId: string, itemsMap: Map): Item | null; /** * Get the inventory size of an item * @param items Item with children @@ -281,13 +342,19 @@ export declare class ItemHelper { * @param item Db item template to look up Cartridge filter values from * @returns Caliber of cartridge */ - getRandomCompatibleCaliberTemplateId(item: ITemplateItem): string; + getRandomCompatibleCaliberTemplateId(item: ITemplateItem): string | null; /** * Add cartridges to the ammo box with correct max stack sizes * @param ammoBox Box to add cartridges to * @param ammoBoxDetails Item template from items db */ addCartridgesToAmmoBox(ammoBox: Item[], ammoBoxDetails: ITemplateItem): void; + /** + * Add a single stack of cartridges to the ammo box + * @param ammoBox Box to add cartridges to + * @param ammoBoxDetails Item template from items db + */ + addSingleStackCartridgesToAmmoBox(ammoBox: Item[], ammoBoxDetails: ITemplateItem): void; /** * Check if item is stored inside of a container * @param item Item to check is inside of container @@ -303,16 +370,18 @@ export declare class ItemHelper { * @param staticAmmoDist Cartridge distribution * @param caliber Caliber of cartridge to add to magazine * @param minSizePercent % the magazine must be filled to + * @param defaultCartridgeTpl Cartridge to use when none found + * @param weapon Weapon the magazine will be used for (if passed in uses Chamber as whitelist) */ - fillMagazineWithRandomCartridge(magazine: Item[], magTemplate: ITemplateItem, staticAmmoDist: Record, caliber?: string, minSizePercent?: number): void; + fillMagazineWithRandomCartridge(magazine: Item[], magTemplate: ITemplateItem, staticAmmoDist: Record, caliber?: string, minSizePercent?: number, defaultCartridgeTpl?: string, weapon?: ITemplateItem): void; /** * Add child items to a magazine of a specific cartridge - * @param magazine Magazine to add child items to + * @param magazineWithChildCartridges Magazine to add child items to * @param magTemplate Db template of magazine * @param cartridgeTpl Cartridge to add to magazine * @param minSizePercent % the magazine must be filled to */ - fillMagazineWithCartridge(magazine: Item[], magTemplate: ITemplateItem, cartridgeTpl: string, minSizePercent?: number): void; + fillMagazineWithCartridge(magazineWithChildCartridges: Item[], magTemplate: ITemplateItem, cartridgeTpl: string, minSizePercent?: number): void; /** * Choose a random bullet type from the list of possible a magazine has * @param magTemplate Magazine template from Db @@ -323,18 +392,21 @@ export declare class ItemHelper { * Chose a randomly weighted cartridge that fits * @param caliber Desired caliber * @param staticAmmoDist Cartridges and thier weights + * @param fallbackCartridgeTpl If a cartridge cannot be found in the above staticAmmoDist param, use this instead + * @param cartridgeWhitelist OPTIONAL whitelist for cartridges * @returns Tpl of cartridge */ - protected drawAmmoTpl(caliber: string, staticAmmoDist: Record): string; + protected drawAmmoTpl(caliber: string, staticAmmoDist: Record, fallbackCartridgeTpl: string, cartridgeWhitelist?: string[]): string; /** * Create a basic cartrige object * @param parentId container cartridges will be placed in * @param ammoTpl Cartridge to insert * @param stackCount Count of cartridges inside parent * @param location Location inside parent (e.g. 0, 1) + * @param foundInRaid OPTIONAL - Are cartridges found in raid (SpawnedInSession) * @returns Item */ - createCartridges(parentId: string, ammoTpl: string, stackCount: number, location: number): Item; + createCartridges(parentId: string, ammoTpl: string, stackCount: number, location: number, foundInRaid?: boolean): Item; /** * Get the size of a stack, return 1 if no stack object count property found * @param item Item to get stack size of @@ -348,6 +420,71 @@ export declare class ItemHelper { */ getItemName(itemTpl: string): string; getItemTplsOfBaseType(desiredBaseType: string): string[]; + /** + * Add child slot items to an item, chooses random child item if multiple choices exist + * @param itemToAdd array with single object (root item) + * @param itemToAddTemplate Db tempalte for root item + * @param modSpawnChanceDict Optional dictionary of mod name + % chance mod will be included in item (e.g. front_plate: 100) + * @param requiredOnly Only add required mods + * @returns Item with children + */ + addChildSlotItems(itemToAdd: Item[], itemToAddTemplate: ITemplateItem, modSpawnChanceDict?: Record, requiredOnly?: boolean): Item[]; + /** + * Get a compatible tpl from the array provided where it is not found in the provided incompatible mod tpls parameter + * @param possibleTpls Tpls to randomly choose from + * @param incompatibleModTpls Incompatible tpls to not allow + * @returns Chosen tpl or null + */ + getCompatibleTplFromArray(possibleTpls: string[], incompatibleModTpls: Set): string; + /** + * Is the provided item._props.Slots._name property a plate slot + * @param slotName Name of slot (_name) of Items Slot array + * @returns True if its a slot that holds a removable palte + */ + isRemovablePlateSlot(slotName: string): boolean; + /** + * Get a list of slot names that hold removable plates + * @returns Array of slot ids (e.g. front_plate) + */ + getRemovablePlateSlotIds(): string[]; + /** + * Generate new unique ids for child items while preserving hierarchy + * @param rootItem Base/primary item + * @param itemWithChildren Primary item + children of primary item + * @returns Item array with updated IDs + */ + reparentItemAndChildren(rootItem: Item, itemWithChildren: Item[]): Item[]; + /** + * Update a root items _id property value to be unique + * @param itemWithChildren Item to update root items _id property + * @param newId Optional: new id to use + * @returns New root id + */ + remapRootItemId(itemWithChildren: Item[], newId?: string): string; + /** + * Adopts orphaned items by resetting them as root "hideout" items. Helpful in situations where a parent has been + * deleted from a group of items and there are children still referencing the missing parent. This method will + * remove the reference from the children to the parent and set item properties to root values. + * + * @param rootId The ID of the "root" of the container. + * @param items Array of Items that should be adjusted. + * @returns Array of Items that have been adopted. + */ + adoptOrphanedItems(rootId: string, items: Item[]): Item[]; + /** + * Populate a Map object of items for quick lookup using their ID. + * + * @param items An array of Items that should be added to a Map. + * @returns A Map where the keys are the item IDs and the values are the corresponding Item objects. + */ + generateItemsMap(items: Item[]): Map; + /** + * Add a blank upd object to passed in item if it does not exist already + * @param item item to add upd to + * @param warningMessageWhenMissing text to write to log when upd object was not found + * @returns True when upd object was added + */ + addUpdObjectToItem(item: Item, warningMessageWhenMissing?: string): boolean; } declare namespace ItemHelper { interface ItemSize { diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/NotificationSendHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/NotificationSendHelper.d.ts index 5f4a533..3a74563 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/NotificationSendHelper.d.ts @@ -1,22 +1,22 @@ -import { INotification } from "@spt-aki/models/eft/notifier/INotifier"; -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected webSocketServer: WebSocketServer; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(webSocketServer: WebSocketServer, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID * @param notificationMessage */ - sendMessage(sessionID: string, notificationMessage: INotification): void; + sendMessage(sessionID: string, notificationMessage: IWsNotificationEvent): void; /** * Send a message directly to the player * @param sessionId Session id diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/NotifierHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/NotifierHelper.d.ts index 9c27224..b947f1b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/NotifierHelper.d.ts @@ -1,26 +1,28 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { INotification } from "@spt-aki/models/eft/notifier/INotifier"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** * The default notification sent when waiting times out. */ - protected defaultNotification: INotification; + protected defaultNotification: IWsNotificationEvent; constructor(httpServerHelper: HttpServerHelper); - getDefaultNotification(): INotification; + getDefaultNotification(): IWsNotificationEvent; /** * Create a new notification that displays the "Your offer was sold!" prompt and removes sold offer from "My Offers" on clientside * @param dialogueMessage Message from dialog that was sent * @param ragfairData Ragfair data to attach to notification * @returns */ - createRagfairOfferSoldNotification(dialogueMessage: Message, ragfairData: MessageContentRagfair): INotification; + createRagfairOfferSoldNotification(dialogueMessage: Message, ragfairData: MessageContentRagfair): IWsRagfairOfferSold; /** * Create a new notification with the specified dialogueMessage object * @param dialogueMessage * @returns */ - createNewMessageNotification(dialogueMessage: Message): INotification; + createNewMessageNotification(dialogueMessage: Message): IWsChatMessageReceived; getWebSocketServer(sessionID: string): string; } diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/PaymentHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/PresetHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/PresetHelper.d.ts index 6722c92..937e225 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/PresetHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/PresetHelper.d.ts @@ -1,23 +1,55 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { - protected jsonUtil: JsonUtil; protected databaseServer: DatabaseServer; + protected itemHelper: ItemHelper; + protected cloner: ICloner; protected lookup: Record; - protected defaultPresets: Record; - constructor(jsonUtil: JsonUtil, databaseServer: DatabaseServer); + protected defaultEquipmentPresets: Record; + protected defaultWeaponPresets: Record; + constructor(databaseServer: DatabaseServer, itemHelper: ItemHelper, cloner: ICloner); hydratePresetStore(input: Record): void; + /** + * Get default weapon and equipment presets + * @returns Dictionary + */ getDefaultPresets(): Record; + /** + * Get default weapon presets + * @returns Dictionary + */ + getDefaultWeaponPresets(): Record; + /** + * Get default equipment presets + * @returns Dictionary + */ + getDefaultEquipmentPresets(): Record; isPreset(id: string): boolean; + /** + * Checks to see if the preset is of the given base class. + * @param id The id of the preset + * @param baseClass The BaseClasses enum to check against + * @returns True if the preset is of the given base class, false otherwise + */ + isPresetBaseClass(id: string, baseClass: BaseClasses): boolean; hasPreset(templateId: string): boolean; getPreset(id: string): IPreset; + getAllPresets(): IPreset[]; getPresets(templateId: string): IPreset[]; /** - * Get the default preset for passed in weapon id - * @param templateId Weapon id to get preset for + * Get the default preset for passed in item id + * @param templateId Item id to get preset for * @returns Null if no default preset, otherwise IPreset */ getDefaultPreset(templateId: string): IPreset; getBaseItemTpl(presetId: string): string; + /** + * Return the price of the preset for the given item tpl, or for the tpl itself if no preset exists + * @param tpl The item template to get the price of + * @returns The price of the given item preset, or base item if no preset exists + */ + getDefaultPresetOrItemPrice(tpl: string): number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/ProbabilityHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/ProfileHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/ProfileHelper.d.ts index 938c796..298ec55 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; - protected jsonUtil: JsonUtil; + protected hashUtil: HashUtil; protected watermark: Watermark; protected timeUtil: TimeUtil; protected saveServer: SaveServer; @@ -22,18 +25,26 @@ export declare class ProfileHelper { protected itemHelper: ItemHelper; protected profileSnapshotService: ProfileSnapshotService; protected localisationService: LocalisationService; - constructor(logger: ILogger, jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileSnapshotService: ProfileSnapshotService, localisationService: LocalisationService); + protected configServer: ConfigServer; + protected cloner: ICloner; + protected inventoryConfig: IInventoryConfig; + constructor(logger: ILogger, hashUtil: HashUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileSnapshotService: ProfileSnapshotService, localisationService: LocalisationService, configServer: ConfigServer, cloner: ICloner); /** * Remove/reset a completed quest condtion from players profile quest data * @param sessionID Session id * @param questConditionId Quest with condition to remove */ - removeCompletedQuestConditionFromProfile(pmcData: IPmcData, questConditionId: Record): void; + removeQuestConditionFromProfile(pmcData: IPmcData, questConditionId: Record): void; /** * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; + /** + * Get the pmc and scav profiles as an array by profile id + * @param sessionID + * @returns Array of IPmcData objects + */ getCompleteProfile(sessionID: string): IPmcData[]; /** * Fix xp doubling on post-raid xp reward screen by sending a 'dummy' profile to the post-raid screen @@ -45,37 +56,70 @@ export declare class ProfileHelper { * @param output pmc and scav profiles array * @param pmcProfile post-raid pmc profile * @param scavProfile post-raid scav profile - * @returns updated profile array + * @returns Updated profile array */ protected postRaidXpWorkaroundFix(sessionId: string, output: IPmcData[], pmcProfile: IPmcData, scavProfile: IPmcData): IPmcData[]; /** * Check if a nickname is used by another profile loaded by the server - * @param nicknameRequest + * @param nicknameRequest nickname request object * @param sessionID Session id * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; - protected nicknameMatches(profileName: string, nicknameRequest: string): boolean; - protected sessionIdMatchesProfileId(profileId: string, sessionId: string): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; + protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile * @param sessionID Session id * @param experienceToAdd Experience to add to PMC character */ addExperienceToPmc(sessionID: string, experienceToAdd: number): void; + /** + * Iterate all profiles and find matching pmc profile by provided id + * @param pmcId Profile id to find + * @returns IPmcData + */ getProfileByPmcId(pmcId: string): IPmcData; + /** + * Get the experiecne for the given level + * @param level level to get xp for + * @returns Number of xp points for level + */ getExperience(level: number): number; + /** + * Get the max level a player can be + * @returns Max level + */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; - getFullProfile(sessionID: string): IAkiProfile; + getDefaultSptDataObject(): any; + /** + * Get full representation of a players profile json + * @param sessionID Profile id to get + * @returns ISptProfile object + */ + getFullProfile(sessionID: string): ISptProfile; + /** + * Get a PMC profile by its session id + * @param sessionID Profile id to return + * @returns IPmcData object + */ getPmcProfile(sessionID: string): IPmcData; + /** + * Get a full profiles scav-specific sub-profile + * @param sessionID Profiles id + * @returns IPmcData object + */ getScavProfile(sessionID: string): IPmcData; /** * Get baseline counter values for a fresh profile - * @returns Stats + * @returns Default profile Stats object */ getDefaultCounters(): Stats; + /** + * is this profile flagged for data removal + * @param sessionID Profile id + * @returns True if profile is to be wiped of data/progress + */ protected isWiped(sessionID: string): boolean; protected getServerVersion(): string; /** @@ -86,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ @@ -120,5 +164,23 @@ export declare class ProfileHelper { * @returns */ addSkillPointsToPlayer(pmcProfile: IPmcData, skill: SkillTypes, pointsToAdd: number, useSkillProgressRateMultipler?: boolean): void; + /** + * Get a speciic common skill from supplied profile + * @param pmcData Player profile + * @param skill Skill to look up and return value from + * @returns Common skill object from desired profile + */ getSkillFromProfile(pmcData: IPmcData, skill: SkillTypes): Common; + /** + * Is the provided session id for a developer account + * @param sessionID Profile id ot check + * @returns True if account is developer + */ + isDeveloperAccount(sessionID: string): boolean; + /** + * Add stash row bonus to profile or increments rows given count if it already exists + * @param sessionId Profile id to give rows to + * @param rowsToAdd How many rows to give profile + */ + addStashRowsBonusToProfile(sessionId: string, rowsToAdd: number): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/QuestConditionHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/QuestConditionHelper.d.ts index 1e4c5f7..c50a9c3 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/QuestConditionHelper.d.ts @@ -1,8 +1,8 @@ -import { AvailableForConditions } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/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[]; - getStandingConditions(q: AvailableForConditions[], furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; - protected filterConditions(q: AvailableForConditions[], questType: string, furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; + getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; + getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; + getLoyaltyConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; + getStandingConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; + protected filterConditions(q: IQuestCondition[], questType: string, furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; } diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/QuestHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/QuestHelper.d.ts index 2b9a531..39ba2a9 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/QuestHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/QuestHelper.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { AvailableForConditions, AvailableForProps, IQuest, Reward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; - protected jsonUtil: JsonUtil; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; protected itemHelper: ItemHelper; @@ -40,10 +40,12 @@ export declare class QuestHelper { protected paymentHelper: PaymentHelper; protected localisationService: LocalisationService; protected traderHelper: TraderHelper; + protected presetHelper: PresetHelper; protected mailSendService: MailSendService; protected configServer: ConfigServer; + protected cloner: ICloner; protected questConfig: IQuestConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, timeUtil: TimeUtil, hashUtil: HashUtil, itemHelper: ItemHelper, questConditionHelper: QuestConditionHelper, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, localeService: LocaleService, ragfairServerHelper: RagfairServerHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, localisationService: LocalisationService, traderHelper: TraderHelper, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, itemHelper: ItemHelper, questConditionHelper: QuestConditionHelper, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, localeService: LocaleService, ragfairServerHelper: RagfairServerHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, localisationService: LocalisationService, traderHelper: TraderHelper, presetHelper: PresetHelper, mailSendService: MailSendService, configServer: ConfigServer, cloner: ICloner); /** * Get status of a quest in player profile by its id * @param pmcData Profile to search @@ -57,7 +59,7 @@ export declare class QuestHelper { * @param condition Quest condition * @returns true if player level is greater than or equal to quest */ - doesPlayerLevelFulfilCondition(playerLevel: number, condition: AvailableForConditions): boolean; + doesPlayerLevelFulfilCondition(playerLevel: number, condition: IQuestCondition): boolean; /** * Get the quests found in both arrays (inner join) * @param before Array of quests #1 @@ -84,28 +86,34 @@ export declare class QuestHelper { * @param profile Player profile * @returns true if loyalty is high enough to fulfill quest requirement */ - traderLoyaltyLevelRequirementCheck(questProperties: AvailableForProps, profile: IPmcData): boolean; + traderLoyaltyLevelRequirementCheck(questProperties: IQuestCondition, profile: IPmcData): boolean; /** * Check if trader has sufficient standing to fulfill quest requirement * @param questProperties Quest props * @param profile Player profile * @returns true if standing is high enough to fulfill quest requirement */ - traderStandingRequirementCheck(questProperties: AvailableForProps, profile: IPmcData): boolean; + traderStandingRequirementCheck(questProperties: IQuestCondition, profile: IPmcData): boolean; protected compareAvailableForValues(current: number, required: number, compareMethod: string): boolean; /** - * take reward item from quest and set FiR status + fix stack sizes + fix mod Ids - * @param reward Reward item to fix + * Take reward item from quest and set FiR status + fix stack sizes + fix mod Ids + * @param questReward Reward item to fix * @returns Fixed rewards */ - protected processReward(reward: Reward): Reward[]; + protected processReward(questReward: IQuestReward): Item[]; + /** + * Add missing mod items to a quest armor reward + * @param originalRewardRootItem Original armor reward item from IQuestReward.items object + * @param questReward Armor reward from quest + */ + protected generateArmorRewardChildSlots(originalRewardRootItem: Item, questReward: IQuestReward): void; /** * Gets a flat list of reward items for the given quest at a specific state (e.g. Fail/Success) * @param quest quest to get rewards for * @param status Quest status that holds the items (Started, Success, Fail) * @returns array of items with the correct maxStack */ - getQuestRewardItems(quest: IQuest, status: QuestStatus): Reward[]; + getQuestRewardItems(quest: IQuest, status: QuestStatus): Item[]; /** * Look up quest in db by accepted quest id and construct a profile-ready object ready to store in profile * @param pmcData Player profile @@ -120,6 +128,12 @@ export declare class QuestHelper { * @returns Quests accessible to player incuding newly unlocked quests now quest (startedQuestId) was started */ getNewlyAccessibleQuestsWhenStartingQuest(startedQuestId: string, sessionID: string): IQuest[]; + /** + * Is the quest for the opposite side the player is on + * @param playerSide Player side (usec/bear) + * @param questId QuestId to check + */ + questIsForOtherSide(playerSide: string, questId: string): boolean; /** * Get quests that can be shown to player after failing a quest * @param failedQuestId Id of the quest failed by player @@ -170,9 +184,8 @@ export declare class QuestHelper { * @param failRequest Fail quest request data * @param sessionID Session id * @param output Client output - * @returns Item event router response */ - failQuest(pmcData: IPmcData, failRequest: IFailQuestRequestData, sessionID: string, output?: IItemEventRouterResponse): IItemEventRouterResponse; + failQuest(pmcData: IPmcData, failRequest: IFailQuestRequestData, sessionID: string, output?: IItemEventRouterResponse): void; /** * Get List of All Quests from db * NOT CLONED @@ -222,7 +235,7 @@ export declare class QuestHelper { * @param questResponse Response to send back to client * @returns Array of reward objects */ - applyQuestReward(profileData: IPmcData, questId: string, state: QuestStatus, sessionId: string, questResponse: IItemEventRouterResponse): Reward[]; + applyQuestReward(profileData: IPmcData, questId: string, state: QuestStatus, sessionId: string, questResponse: IItemEventRouterResponse): Item[]; /** * WIP - Find hideout craft id and add to unlockedProductionRecipe array in player profile * also update client response recipeUnlocked array with craft id @@ -232,7 +245,7 @@ export declare class QuestHelper { * @param sessionID Session id * @param response Response to send back to client */ - protected findAndAddHideoutProductionIdToProfile(pmcData: IPmcData, craftUnlockReward: Reward, questDetails: IQuest, sessionID: string, response: IItemEventRouterResponse): void; + protected findAndAddHideoutProductionIdToProfile(pmcData: IPmcData, craftUnlockReward: IQuestReward, questDetails: IQuest, sessionID: string, response: IItemEventRouterResponse): void; /** * Get players money reward bonus from profile * @param pmcData player profile @@ -253,4 +266,16 @@ export declare class QuestHelper { */ addAllQuestsToProfile(pmcProfile: IPmcData, statuses: QuestStatus[]): void; findAndRemoveQuestFromArrayIfExists(questId: string, quests: IQuestStatus[]): void; + /** + * Return a list of quests that would fail when supplied quest is completed + * @param completedQuestId quest completed id + * @returns array of IQuest objects + */ + getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairHelper.d.ts index 55e6fe8..cab2148 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairHelper.d.ts @@ -1,19 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; - protected jsonUtil: JsonUtil; protected traderAssortHelper: TraderAssortHelper; protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; @@ -21,8 +20,9 @@ export declare class RagfairHelper { protected ragfairLinkedItemService: RagfairLinkedItemService; protected utilityHelper: UtilityHelper; protected configServer: ConfigServer; + protected cloner: ICloner; protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, traderAssortHelper: TraderAssortHelper, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, ragfairLinkedItemService: RagfairLinkedItemService, utilityHelper: UtilityHelper, configServer: ConfigServer); + constructor(logger: ILogger, traderAssortHelper: TraderAssortHelper, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, ragfairLinkedItemService: RagfairLinkedItemService, utilityHelper: UtilityHelper, configServer: ConfigServer, cloner: ICloner); /** * Gets currency TAG from TPL * @param {string} currency diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairOfferHelper.d.ts index 778d657..f8f7661 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairOfferHelper.d.ts @@ -1,31 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -38,10 +40,12 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; protected ragfairOfferService: RagfairOfferService; + protected ragfairRequiredItemsService: RagfairRequiredItemsService; protected localeService: LocaleService; protected localisationService: LocalisationService; protected mailSendService: MailSendService; @@ -49,25 +53,32 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client * @param itemsToAdd ragfairHelper.filterCategories() * @param traderAssorts Trader assorts - * @param pmcProfile Player profile + * @param pmcData Player profile * @returns Offers the player should see */ - getValidOffers(searchRequest: ISearchRequestData, itemsToAdd: string[], traderAssorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; + getValidOffers(searchRequest: ISearchRequestData, itemsToAdd: string[], traderAssorts: Record, pmcData: IPmcData): IRagfairOffer[]; + /** + * Get matching offers that require the desired item and filter out offers from non traders if player is below ragfair unlock level + * @param searchRequest Search request from client + * @param pmcDataPlayer profile + * @returns Matching IRagfairOffer objects + */ + getOffersThatRequireItem(searchRequest: ISearchRequestData, pmcData: IPmcData): IRagfairOffer[]; /** * Get offers from flea/traders specifically when building weapon preset * @param searchRequest Search request data * @param itemsToAdd string array of item tpls to search for * @param traderAssorts All trader assorts player can access/buy - * @param pmcProfile Player profile + * @param pmcData Player profile * @returns IRagfairOffer array */ - getOffersForBuild(searchRequest: ISearchRequestData, itemsToAdd: string[], traderAssorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; + getOffersForBuild(searchRequest: ISearchRequestData, itemsToAdd: string[], traderAssorts: Record, pmcData: IPmcData): IRagfairOffer[]; /** * Check if offer is from trader standing the player does not have * @param offer Offer to check @@ -112,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id @@ -140,6 +151,21 @@ export declare class RagfairOfferHelper { * @returns Localised message text */ protected getLocalisedOfferSoldMessage(itemTpl: string, boughtAmount: number): string; + /** + * Check an offer passes the various search criteria the player requested + * @param searchRequest + * @param offer + * @param pmcData + * @returns True + */ + protected passesSearchFilterCriteria(searchRequest: ISearchRequestData, offer: IRagfairOffer, pmcData: IPmcData): boolean; + /** + * Check that the passed in offer item is functional + * @param offerRootItem The root item of the offer + * @param offer The flea offer + * @returns True if the given item is functional + */ + isItemFunctional(offerRootItem: Item, offer: IRagfairOffer): boolean; /** * Should a ragfair offer be visible to the player * @param searchRequest Search request @@ -150,6 +176,7 @@ export declare class RagfairOfferHelper { * @returns True = should be shown to player */ isDisplayableOffer(searchRequest: ISearchRequestData, itemsToAdd: string[], traderAssorts: Record, offer: IRagfairOffer, pmcProfile: IPmcData): boolean; + isDisplayableOfferThatNeedsItem(searchRequest: ISearchRequestData, offer: IRagfairOffer): boolean; /** * Does the passed in item have a condition property * @param item Item to check diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairSellHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairServerHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairServerHelper.d.ts index 4d2d4c4..a8133a6 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ @@ -33,14 +33,14 @@ export declare class RagfairServerHelper { protected localeService: LocaleService; protected dialogueHelper: DialogueHelper; protected traderHelper: TraderHelper; - protected jsonUtil: JsonUtil; protected mailSendService: MailSendService; protected itemFilterService: ItemFilterService; protected configServer: ConfigServer; + protected cloner: ICloner; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; protected static goodsReturnedTemplate: string; - constructor(logger: ILogger, randomUtil: RandomUtil, hashUtil: HashUtil, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, localeService: LocaleService, dialogueHelper: DialogueHelper, traderHelper: TraderHelper, jsonUtil: JsonUtil, mailSendService: MailSendService, itemFilterService: ItemFilterService, configServer: ConfigServer); + constructor(logger: ILogger, randomUtil: RandomUtil, hashUtil: HashUtil, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, localeService: LocaleService, dialogueHelper: DialogueHelper, traderHelper: TraderHelper, mailSendService: MailSendService, itemFilterService: ItemFilterService, configServer: ConfigServer, cloner: ICloner); /** * Is item valid / on blacklist / quest item * @param itemDetails @@ -53,6 +53,12 @@ export declare class RagfairServerHelper { * @returns True if its blacklsited */ protected isItemOnCustomFleaBlacklist(itemTemplateId: string): boolean; + /** + * Is supplied parent id on the ragfair custom item category blacklist + * @param parentId Parent Id to check is blacklisted + * @returns true if blacklisted + */ + protected isItemCategoryOnCustomFleaBlacklist(itemParentId: string): boolean; /** * is supplied id a trader * @param traderId @@ -96,11 +102,4 @@ export declare class RagfairServerHelper { * @returns */ getPresetItemsByTpl(item: Item): Item[]; - /** - * Generate new unique ids for child items while preserving hierarchy - * @param rootItem Base/primary item of preset - * @param preset Primary item + children of primary item - * @returns Item array with new IDs - */ - reparentPresets(rootItem: Item, preset: Item[]): Item[]; } diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairSortHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/RepairHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/RepairHelper.d.ts index 9ef0eaa..4bd0577 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/RepairHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/RepairHelper.d.ts @@ -1,19 +1,19 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; - protected jsonUtil: JsonUtil; protected randomUtil: RandomUtil; protected databaseServer: DatabaseServer; protected configServer: ConfigServer; + protected cloner: ICloner; protected repairConfig: IRepairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, configServer: ConfigServer); + constructor(logger: ILogger, randomUtil: RandomUtil, databaseServer: DatabaseServer, configServer: ConfigServer, cloner: ICloner); /** * Alter an items durability after a repair by trader/repair kit * @param itemToRepair item to update durability details diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/RepeatableQuestHelper.d.ts index 6e0290d..d92657e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/RepeatableQuestHelper.d.ts @@ -1,14 +1,14 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; - protected jsonUtil: JsonUtil; protected configServer: ConfigServer; + protected cloner: ICloner; protected questConfig: IQuestConfig; - constructor(mathUtil: MathUtil, jsonUtil: JsonUtil, configServer: ConfigServer); + constructor(mathUtil: MathUtil, configServer: ConfigServer, cloner: ICloner); /** * Get the relevant elimination config based on the current players PMC level * @param pmcLevel Level of PMC character diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/SecureContainerHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/TradeHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/TradeHelper.d.ts index bf8360d..7bb999c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/TradeHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/TradeHelper.d.ts @@ -1,19 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; @@ -21,43 +26,43 @@ export declare class TradeHelper { protected itemHelper: ItemHelper; protected paymentService: PaymentService; protected fenceService: FenceService; + protected localisationService: LocalisationService; protected httpResponse: HttpResponseUtil; protected inventoryHelper: InventoryHelper; protected ragfairServer: RagfairServer; + protected traderAssortHelper: TraderAssortHelper; + protected traderPurchasePersisterService: TraderPurchasePersisterService; protected configServer: ConfigServer; + protected cloner: ICloner; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, eventOutputHolder: EventOutputHolder, traderHelper: TraderHelper, itemHelper: ItemHelper, paymentService: PaymentService, fenceService: FenceService, httpResponse: HttpResponseUtil, inventoryHelper: InventoryHelper, ragfairServer: RagfairServer, configServer: ConfigServer); + protected inventoryConfig: IInventoryConfig; + constructor(logger: ILogger, eventOutputHolder: EventOutputHolder, traderHelper: TraderHelper, itemHelper: ItemHelper, paymentService: PaymentService, fenceService: FenceService, localisationService: LocalisationService, httpResponse: HttpResponseUtil, inventoryHelper: InventoryHelper, ragfairServer: RagfairServer, traderAssortHelper: TraderAssortHelper, traderPurchasePersisterService: TraderPurchasePersisterService, configServer: ConfigServer, cloner: ICloner); /** * Buy item from flea or trader * @param pmcData Player profile * @param buyRequestData data from client * @param sessionID Session id * @param foundInRaid Should item be found in raid - * @param upd optional item details used when buying from flea - * @returns + * @param output IItemEventRouterResponse + * @returns IItemEventRouterResponse */ - buyItem(pmcData: IPmcData, buyRequestData: IProcessBuyTradeRequestData, sessionID: string, foundInRaid: boolean, upd: Upd): IItemEventRouterResponse; + buyItem(pmcData: IPmcData, buyRequestData: IProcessBuyTradeRequestData, sessionID: string, foundInRaid: boolean, output: IItemEventRouterResponse): void; /** * Sell item to trader * @param profileWithItemsToSell Profile to remove items from * @param profileToReceiveMoney Profile to accept the money for selling item * @param sellRequest Request data * @param sessionID Session id - * @returns IItemEventRouterResponse + * @param output IItemEventRouterResponse */ - sellItem(profileWithItemsToSell: IPmcData, profileToReceiveMoney: IPmcData, sellRequest: IProcessSellTradeRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Increment the assorts buy count by number of items purchased - * Show error on screen if player attempts to buy more than what the buy max allows - * @param assortBeingPurchased assort being bought - * @param itemsPurchasedCount number of items being bought - */ - protected incrementAssortBuyCount(assortBeingPurchased: Item, itemsPurchasedCount: number): void; + sellItem(profileWithItemsToSell: IPmcData, profileToReceiveMoney: IPmcData, sellRequest: IProcessSellTradeRequestData, sessionID: string, output: IItemEventRouterResponse): void; /** * Traders allow a limited number of purchases per refresh cycle (default 60 mins) + * @param sessionId Session id + * @param traderId Trader assort is purchased from * @param assortBeingPurchased the item from trader being bought * @param assortId Id of assort being purchased - * @param count How many are being bought + * @param count How many of the item are being bought */ - protected checkPurchaseIsWithinTraderItemLimit(assortBeingPurchased: Item, assortId: string, count: number): void; + protected checkPurchaseIsWithinTraderItemLimit(sessionId: string, traderId: string, assortBeingPurchased: Item, assortId: string, count: number): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/TraderAssortHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/TraderAssortHelper.d.ts index 0b6effb..50f6933 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/TraderAssortHelper.d.ts @@ -1,25 +1,24 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; - protected jsonUtil: JsonUtil; protected mathUtil: MathUtil; protected timeUtil: TimeUtil; protected databaseServer: DatabaseServer; @@ -34,10 +33,11 @@ export declare class TraderAssortHelper { protected traderHelper: TraderHelper; protected fenceService: FenceService; protected configServer: ConfigServer; + protected cloner: ICloner; protected traderConfig: ITraderConfig; protected mergedQuestAssorts: Record>; protected createdMergedQuestAssorts: boolean; - constructor(logger: ILogger, jsonUtil: JsonUtil, mathUtil: MathUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, profileHelper: ProfileHelper, assortHelper: AssortHelper, paymentHelper: PaymentHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferGenerator: RagfairOfferGenerator, traderAssortService: TraderAssortService, localisationService: LocalisationService, traderPurchasePersisterService: TraderPurchasePersisterService, traderHelper: TraderHelper, fenceService: FenceService, configServer: ConfigServer); + constructor(logger: ILogger, mathUtil: MathUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, profileHelper: ProfileHelper, assortHelper: AssortHelper, paymentHelper: PaymentHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferGenerator: RagfairOfferGenerator, traderAssortService: TraderAssortService, localisationService: LocalisationService, traderPurchasePersisterService: TraderPurchasePersisterService, traderHelper: TraderHelper, fenceService: FenceService, configServer: ConfigServer, cloner: ICloner); /** * Get a traders assorts * Can be used for returning ragfair / fence assorts @@ -48,6 +48,11 @@ export declare class TraderAssortHelper { * @returns a traders' assorts */ getAssort(sessionId: string, traderId: string, flea?: boolean): ITraderAssort; + /** + * Reset every traders root item `BuyRestrictionCurrent` property to 0 + * @param assortItems Items to adjust + */ + protected resetBuyRestrictionCurrentValue(assortItems: Item[]): void; /** * Create a dict of all assort id = quest id mappings used to work out what items should be shown to player based on the quests they've started/completed/failed */ diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/TraderHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/TraderHelper.d.ts index 8d8da00..aca9d87 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/TraderHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; @@ -59,7 +59,7 @@ export declare class TraderHelper { /** * 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 sessionID session id of player * @param traderID trader id to reset */ resetTrader(sessionID: string, traderID: string): void; @@ -74,13 +74,13 @@ export declare class TraderHelper { * Alter a traders unlocked status * @param traderId Trader to alter * @param status New status to use - * @param sessionId Session id + * @param sessionId Session id of player */ setTraderUnlockedState(traderId: string, status: boolean, sessionId: string): void; /** * Add standing to a trader and level them up if exp goes over level threshold - * @param sessionId Session id - * @param traderId Traders id + * @param sessionId Session id of player + * @param traderId Traders id to add standing to * @param standingToAdd Standing value to add to trader */ addStandingToTrader(sessionId: string, traderId: string, standingToAdd: number): void; @@ -117,11 +117,11 @@ export declare class TraderHelper { */ addTraderPurchasesToPlayerProfile(sessionID: string, newPurchaseDetails: { items: { - item_id: string; + itemId: string; count: number; }[]; - tid: string; - }): void; + traderId: string; + }, itemPurchased: Item): void; /** * Get the highest rouble price for an item from traders * UNUSED diff --git a/TypeScript/23CustomAbstractChatBot/types/helpers/WeightedRandomHelper.d.ts b/TypeScript/23CustomAbstractChatBot/types/helpers/WeightedRandomHelper.d.ts index ab42805..f3a34f3 100644 --- a/TypeScript/23CustomAbstractChatBot/types/helpers/WeightedRandomHelper.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/helpers/WeightedRandomHelper.d.ts @@ -34,4 +34,11 @@ export declare class WeightedRandomHelper { item: any; index: number; }; + /** + * Find the greated common divisor of all weights and use it on the passed in dictionary + * @param weightedDict values to reduce + */ + reduceWeightValues(weightedDict: Record): void; + protected commonDivisor(numbers: number[]): number; + protected gcd(a: number, b: number): number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/ide/BleedingEdgeModsEntry.d.ts b/TypeScript/23CustomAbstractChatBot/types/ide/BleedingEdgeModsEntry.d.ts new file mode 100644 index 0000000..62f714e --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/ide/BleedingEdgeModsEntry.d.ts @@ -0,0 +1,2 @@ +import "reflect-metadata"; +import "source-map-support/register"; diff --git a/TypeScript/23CustomAbstractChatBot/types/loaders/BundleLoader.d.ts b/TypeScript/23CustomAbstractChatBot/types/loaders/BundleLoader.d.ts index 8e24c5a..e270988 100644 --- a/TypeScript/23CustomAbstractChatBot/types/loaders/BundleLoader.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/loaders/BundleLoader.d.ts @@ -1,33 +1,35 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -declare class BundleInfo { - modPath: string; - key: string; - path: string; - filepath: string; - dependencyKeys: string[]; - constructor(modpath: string, bundle: any, bundlePath: string, bundleFilepath: string); +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class BundleInfo { + modpath: string; + filename: string; + crc: number; + dependencies: string[]; + constructor(modpath: string, bundle: BundleManifestEntry, bundleHash: number); } export declare class BundleLoader { protected httpServerHelper: HttpServerHelper; protected vfs: VFS; protected jsonUtil: JsonUtil; + protected bundleHashCacheService: BundleHashCacheService; + protected cloner: ICloner; protected bundles: Record; - constructor(httpServerHelper: HttpServerHelper, vfs: VFS, jsonUtil: JsonUtil); + constructor(httpServerHelper: HttpServerHelper, vfs: VFS, jsonUtil: JsonUtil, bundleHashCacheService: BundleHashCacheService, cloner: ICloner); /** * Handle singleplayer/bundles */ - getBundles(local: boolean): BundleInfo[]; - getBundle(key: string, local: boolean): BundleInfo; + getBundles(): BundleInfo[]; + getBundle(key: string): BundleInfo; addBundles(modpath: string): void; addBundle(key: string, b: BundleInfo): void; } export interface BundleManifest { - manifest: Array; + manifest: BundleManifestEntry[]; } export interface BundleManifestEntry { key: string; - path: string; + dependencyKeys: string[]; } -export {}; diff --git a/TypeScript/23CustomAbstractChatBot/types/loaders/ModLoadOrder.d.ts b/TypeScript/23CustomAbstractChatBot/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/23CustomAbstractChatBot/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/23CustomAbstractChatBot/types/loaders/ModTypeCheck.d.ts b/TypeScript/23CustomAbstractChatBot/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/23CustomAbstractChatBot/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/23CustomAbstractChatBot/types/loaders/PostAkiModLoader.d.ts b/TypeScript/23CustomAbstractChatBot/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index bd0731a..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected bundleLoader: BundleLoader; - protected vfs: VFS; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - constructor(logger: ILogger, bundleLoader: BundleLoader, vfs: VFS, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeMods(container: DependencyContainer): Promise; - protected addBundles(): void; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/loaders/PostDBModLoader.d.ts b/TypeScript/23CustomAbstractChatBot/types/loaders/PostDBModLoader.d.ts index d57e321..b0c4bf4 100644 --- a/TypeScript/23CustomAbstractChatBot/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/loaders/PostDBModLoader.d.ts @@ -1,17 +1,21 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; + protected bundleLoader: BundleLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + protected container: DependencyContainer; + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; - protected executeMods(container: DependencyContainer): Promise; + protected executeModsAsync(): Promise; + protected addBundles(): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/loaders/PostSptModLoader.d.ts b/TypeScript/23CustomAbstractChatBot/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/loaders/PreAkiModLoader.d.ts b/TypeScript/23CustomAbstractChatBot/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 71fd745..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected bundleLoader: BundleLoader; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected static container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @param container Dependence container to give to mod when it runs - * @returns void promise - */ - protected executeModsAsync(container: DependencyContainer): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/loaders/PreSptModLoader.d.ts b/TypeScript/23CustomAbstractChatBot/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/builds/ISetMagazineRequest.d.ts new file mode 100644 index 0000000..87dab41 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -0,0 +1,9 @@ +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; +export interface ISetMagazineRequest { + Id: string; + Name: string; + Caliber: string; + Items: IMagazineTemplateAmmoItem[]; + TopCount: number; + BottomCount: number; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/IGlobals.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/IGlobals.d.ts index 276514e..2209415 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/IGlobals.d.ts @@ -1,10 +1,11 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; bot_presets: IBotPreset[]; AudioSettings: IAudioSettings; + EnvironmentSettings: IEnvironmentSettings; BotWeaponScatterings: IBotWeaponScattering[]; ItemPresets: Record; } @@ -19,6 +20,7 @@ export interface IConfig { armor: IArmor; SessionsToShowHotKeys: number; MaxBotsAliveOnMap: number; + MaxBotsAliveOnMapPvE: number; SavagePlayCooldown: number; SavagePlayCooldownNdaFree: number; MarksmanAccuracy: number; @@ -29,6 +31,7 @@ export interface IConfig { TradingUnlimitedItems: boolean; MaxLoyaltyLevelForAll: boolean; GlobalLootChanceModifier: number; + GlobalLootChanceModifierPvE: number; GraphicSettings: IGraphicSettings; TimeBeforeDeploy: number; TimeBeforeDeployLocal: number; @@ -39,6 +42,8 @@ export interface IConfig { BaseLoadTime: number; BaseUnloadTime: number; BaseCheckTime: number; + BluntDamageReduceFromSoftArmorMod: number; + BodyPartColliderSettings: IBodyPartColliderSettings; Customization: ICustomization; UncheckOnShot: boolean; BotsEnabled: boolean; @@ -50,6 +55,7 @@ export interface IConfig { Health: IHealth; rating: IRating; tournament: ITournament; + QuestSettings: IQuestSettings; RagFair: IRagFair; handbook: IHandbook; FractureCausedByFalling: IProbability; @@ -70,6 +76,10 @@ export interface IConfig { SkillPointsBeforeFatigue: number; SkillFatigueReset: number; DiscardLimitsEnabled: boolean; + EventSettings: IEventSettings; + FavoriteItemsSettings: IFavoriteItemsSettings; + VaultingSettings: IVaultingSettings; + BTRSettings: IBTRSettings; EventType: string[]; WalkSpeed: Ixyz; SprintSpeed: Ixyz; @@ -92,6 +102,39 @@ export interface IConfig { Ballistic: IBallistic; RepairSettings: IRepairSettings; } +export interface IBodyPartColliderSettings { + BackHead: IBodyPartColliderPart; + Ears: IBodyPartColliderPart; + Eyes: IBodyPartColliderPart; + HeadCommon: IBodyPartColliderPart; + Jaw: IBodyPartColliderPart; + LeftCalf: IBodyPartColliderPart; + LeftForearm: IBodyPartColliderPart; + LeftSideChestDown: IBodyPartColliderPart; + LeftSideChestUp: IBodyPartColliderPart; + LeftThigh: IBodyPartColliderPart; + LeftUpperArm: IBodyPartColliderPart; + NeckBack: IBodyPartColliderPart; + NeckFront: IBodyPartColliderPart; + ParietalHead: IBodyPartColliderPart; + Pelvis: IBodyPartColliderPart; + PelvisBack: IBodyPartColliderPart; + RibcageLow: IBodyPartColliderPart; + RibcageUp: IBodyPartColliderPart; + RightCalf: IBodyPartColliderPart; + RightForearm: IBodyPartColliderPart; + RightSideChestDown: IBodyPartColliderPart; + RightSideChestUp: IBodyPartColliderPart; + RightThigh: IBodyPartColliderPart; + RightUpperArm: IBodyPartColliderPart; + SpineDown: IBodyPartColliderPart; + SpineTop: IBodyPartColliderPart; +} +export interface IBodyPartColliderPart { + PenetrationChance: number; + PenetrationDamageMod: number; + PenetrationLevel: number; +} export interface IWeaponFastDrawSettings { HandShakeCurveFrequency: number; HandShakeCurveIntensity: number; @@ -102,6 +145,27 @@ export interface IWeaponFastDrawSettings { WeaponPistolFastSwitchMaxSpeedMult: number; WeaponPistolFastSwitchMinSpeedMult: number; } +export interface IEventSettings { + EventActive: boolean; + EventTime: number; + EventWeather: IEventWeather; + ExitTimeMultiplier: number; + StaminaMultiplier: number; + SummonFailedWeather: IEventWeather; + SummonSuccessWeather: IEventWeather; + WeatherChangeTime: number; +} +export interface IEventWeather { + Cloudness: number; + Hour: number; + Minute: number; + Rain: number; + RainRandomness: number; + ScaterringFogDensity: number; + TopWindDirection: Ixyz; + Wind: number; + WindDirection: number; +} export interface IGraphicSettings { ExperimentalFogInCity: boolean; } @@ -132,6 +196,7 @@ export interface IExp { kill: IKill; level: ILevel; loot_attempts: ILootAttempt[]; + expForLevelOneDogtag: number; expForLockedDoorOpen: number; expForLockedDoorBreach: number; triggerMult: number; @@ -553,6 +618,7 @@ export interface IBuffs { Buffs_food_alyonka: IBuff[]; Buffs_food_slippers: IBuff[]; Buffs_knife: IBuff[]; + Buffs_EndOfWinterBonfire: IBuff[]; } export interface IBuff { BuffType: string; @@ -656,6 +722,7 @@ export interface IBodyPartsSetting { Minimum: number; Maximum: number; Default: number; + EnvironmentDamageMultiplier: number; OverDamageReceivedMultiplier: number; } export interface IHealthFactorsSettings { @@ -735,6 +802,7 @@ export interface IMaxActiveOfferCount { from: number; to: number; count: number; + countForSpecialEditions: number; } export interface IMaxSumForRarity { Common: IRarityMaxSum; @@ -826,6 +894,97 @@ export interface IRestrictionsInRaid { TemplateId: string; Value: number; } +export interface IFavoriteItemsSettings { + WeaponStandMaxItemsCount: number; + PlaceOfFameMaxItemsCount: number; +} +export interface IVaultingSettings { + IsActive: boolean; + VaultingInputTime: number; + GridSettings: IVaultingGridSettings; + MovesSettings: IVaultingMovesSettings; +} +export interface IVaultingGridSettings { + GridSizeX: number; + GridSizeY: number; + GridSizeZ: number; + SteppingLengthX: number; + SteppingLengthY: number; + SteppingLengthZ: number; + GridOffsetX: number; + GridOffsetY: number; + GridOffsetZ: number; + OffsetFactor: number; +} +export interface IVaultingMovesSettings { + VaultSettings: IVaultingSubMoveSettings; + ClimbSettings: IVaultingSubMoveSettings; +} +export interface IVaultingSubMoveSettings { + IsActive: boolean; + MaxWithoutHandHeight: number; + SpeedRange: Ixyz; + MoveRestrictions: IMoveRestrictions; + AutoMoveRestrictions: IMoveRestrictions; +} +export interface IMoveRestrictions { + IsActive: boolean; + MinDistantToInteract: number; + MinHeight: number; + MaxHeight: number; + MinLength: number; + MaxLength: number; +} +export interface IBTRSettings { + LocationsWithBTR: string[]; + BasePriceTaxi: number; + AddPriceTaxi: number; + CleanUpPrice: number; + DeliveryPrice: number; + ModDeliveryCost: number; + BearPriceMod: number; + UsecPriceMod: number; + ScavPriceMod: number; + CoefficientDiscountCharisma: number; + DeliveryMinPrice: number; + TaxiMinPrice: number; + BotCoverMinPrice: number; + MapsConfigs: Record; + DiameterWheel: number; + HeightWheel: number; + HeightWheelMaxPosLimit: number; + HeightWheelMinPosLimit: number; + SnapToSurfaceWheelsSpeed: number; + CheckSurfaceForWheelsTimer: number; + HeightWheelOffset: number; +} +export interface IBtrMapConfig { + BtrSkin: string; + CheckSurfaceForWheelsTimer: number; + DiameterWheel: number; + HeightWheel: number; + HeightWheelMaxPosLimit: number; + HeightWheelMinPosLimit: number; + HeightWheelOffset: number; + SnapToSurfaceWheelsSpeed: number; + SuspensionDamperStiffness: number; + SuspensionRestLength: number; + SuspensionSpringStiffness: number; + SuspensionTravel: number; + SuspensionWheelRadius: number; + mapID: string; + pathsConfigurations: IPathConfig[]; +} +export interface IPathConfig { + active: boolean; + id: string; + enterPoint: string; + exitPoint: string; + pathPoints: string[]; + once: boolean; + circle: boolean; + circleCount: number; +} export interface ISquadSettings { CountOfRequestsToOnePlayer: number; SecondsForExpiredRequest: number; @@ -833,6 +992,8 @@ export interface ISquadSettings { } export interface IInsurance { MaxStorageTimeInHour: number; + CoefOfSendingMessageTime: number; + CoefOfHavingMarkOfUnknown: number; } export interface ISkillsSettings { SkillProgressRate: number; @@ -1224,6 +1385,7 @@ export interface IFenceSettings { paidExitStandingNumerator: number; } export interface IFenceLevel { + ReachOnMarkOnUnknowns: boolean; SavageCooldownModifier: number; ScavCaseTimeModifier: number; PaidExitCostModifier: number; @@ -1240,6 +1402,11 @@ export interface IFenceLevel { BotHelpChance: number; BotSpreadoutChance: number; BotStopChance: number; + PriceModTaxi: number; + PriceModDelivery: number; + PriceModCleanUp: number; + DeliveryGridSize: Ixyz; + CanInteractWithBtr: boolean; } export interface IInertia { InertiaLimits: Ixyz; @@ -1335,6 +1502,14 @@ export interface IAudioGroupPreset { OcclusionIntensity: number; OverallVolume: number; } +export interface IEnvironmentSettings { + SnowStepsVolumeMultiplier: number; + SurfaceMultipliers: ISurfaceMultiplier[]; +} +export interface ISurfaceMultiplier { + SurfaceType: string; + VolumeMult: number; +} export interface IBotWeaponScattering { Name: string; PriorityScatter1meter: number; @@ -1351,3 +1526,7 @@ export interface IPreset { /** Default presets have this property */ _encyclopedia?: string; } +export interface IQuestSettings { + GlobalRewardRepModifierDailyQuestPvE: number; + GlobalRewardRepModifierQuestPvE: number; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILocation.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILocation.d.ts index bba2db0..bf4c58a 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILocation.d.ts @@ -1,9 +1,21 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; +import { Ixyz } from "./Ixyz"; +import { Item } from "./tables/IItem"; export interface ILocation { + /** Map meta-data */ base: ILocationBase; + /** Loose loot postions and item weights */ looseLoot: ILooseLoot; + /** Static loot item weights */ + staticLoot: Record; + /** Static container postions and item weights */ + staticContainers: IStaticContainerDetails; + staticAmmo: Record; + /** All possible static containers on map + their assign groupings */ statics: IStaticContainer; + /** All possible map extracts */ + allExtracts: Exit[]; } export interface IStaticContainer { containersGroups: Record; @@ -18,3 +30,55 @@ export interface IContainerMinMax { export interface IContainerData { groupId: string; } +export interface IStaticLootDetails { + itemcountDistribution: ItemCountDistribution[]; + itemDistribution: ItemDistribution[]; +} +export interface ItemCountDistribution { + count: number; + relativeProbability: number; +} +export interface ItemDistribution { + tpl: string; + relativeProbability: number; +} +export interface IStaticPropsBase { + Id: string; + IsContainer: boolean; + useGravity: boolean; + randomRotation: boolean; + Position: Ixyz; + Rotation: Ixyz; + IsGroupPosition: boolean; + IsAlwaysSpawn: boolean; + GroupPositions: any[]; + Root: string; + Items: any[]; +} +export interface IStaticWeaponProps extends IStaticPropsBase { + Items: Item[]; +} +export interface IStaticContainerDetails { + staticWeapons: IStaticWeaponProps[]; + staticContainers: IStaticContainerData[]; + staticForced: IStaticForcedProps[]; +} +export interface IStaticContainerData { + probability: number; + template: IStaticContainerProps; +} +export interface IStaticAmmoDetails { + tpl: string; + relativeProbability: number; +} +export interface IStaticForcedProps { + containerId: string; + itemTpl: string; +} +export interface IStaticContainerProps extends IStaticPropsBase { + Items: StaticItem[]; +} +export interface StaticItem { + _id: string; + _tpl: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILocationBase.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILocationBase.d.ts index 1121e9f..65931f8 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; @@ -17,6 +17,7 @@ export interface ILocationBase { BotMax: number; BotMaxPlayer: number; BotMaxTimePlayer: number; + BotMaxPvE: number; BotNormal: number; BotSpawnCountStep: number; BotSpawnPeriodCheck: number; @@ -32,6 +33,7 @@ export interface ILocationBase { Enabled: boolean; EnableCoop: boolean; GlobalLootChanceModifier: number; + GlobalLootChanceModifierPvE: number; GlobalContainerChanceModifier: number; IconX: number; IconY: number; @@ -72,6 +74,7 @@ export interface ILocationBase { doors: any[]; EscapeTimeLimit: number; EscapeTimeLimitCoop: number; + EscapeTimeLimitPVE: number; exit_access_time: number; exit_count: number; exit_time: number; @@ -132,8 +135,11 @@ export interface BossLocationSpawn { TriggerId: string; TriggerName: string; Delay?: number; + ForceSpawn?: boolean; + IgnoreMaxBots?: boolean; Supports?: BossSupport[]; sptId?: string; + spawnMode: string[]; } export interface BossSupport { BossEscortAmount: string; @@ -171,6 +177,7 @@ export interface SpawnPointParam { BotZoneName: string; Categories: string[]; ColliderParams: ColliderParams; + CorePointId: number; DelayToCanSpawnSec: number; Id: string; Infiltration: string; @@ -187,9 +194,11 @@ export interface Props { Radius: number; } export interface Exit { + /** % Chance out of 100 exit will appear in raid */ Chance: number; Count: number; EntryPoints: string; + EventAvailable: boolean; ExfiltrationTime: number; ExfiltrationType: string; RequiredSlot?: string; @@ -200,6 +209,7 @@ export interface Exit { PassageRequirement: string; PlayersCount: number; RequirementTip: string; + Side?: string; } export interface MaxItemCountInLocation { TemplateId: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/IPmcData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/IPmcData.d.ts index f834822..313a92c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/IPmcData.d.ts @@ -1,7 +1,11 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { - /** Only found in profile we get from client post raid */ - EftStats: IEftStats; + Stats: IPostRaidStats; +} +export interface IPostRaidStats { + Eft: IEftStats; + /** Only found in profile we get from client post raid */ + Arena: IEftStats; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/request/IUIDRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/request/IUIDRequestData.d.ts new file mode 100644 index 0000000..d905ad7 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/request/IUIDRequestData.d.ts @@ -0,0 +1,3 @@ +export interface IUIDRequestData { + uid: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IAchievement.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IAchievement.d.ts new file mode 100644 index 0000000..910b13d --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IAchievement.d.ts @@ -0,0 +1,18 @@ +import { IQuestConditionTypes, IQuestRewards } from "./IQuest"; +export interface IAchievement { + id: string; + imageUrl: string; + assetPath: string; + rewards: IQuestRewards; + conditions: IQuestConditionTypes; + instantComplete: boolean; + showNotificationsInGame: boolean; + showProgress: boolean; + prefab: string; + rarity: string; + hidden: boolean; + showConditions: boolean; + progressBarEnabled: boolean; + side: string; + index: number; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IBotBase.d.ts index 8ff3ba9..8c747fc 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IBotBase.d.ts @@ -1,9 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; @@ -17,14 +19,15 @@ export interface IBotBase { Skills: Skills; Stats: Stats; Encyclopedia: Record; - ConditionCounters: ConditionCounters; - BackendCounters: Record; + TaskConditionCounters: Record; InsuredItems: InsuredItem[]; Hideout: Hideout; Quests: IQuestStatus[]; TradersInfo: Record; UnlockedInfo: IUnlockedInfo; RagfairInfo: RagfairInfo; + /** Achievement id and timestamp */ + Achievements: Record; RepeatableQuests: IPmcDataRepeatableQuest[]; Bonuses: Bonus[]; Notes: Notes; @@ -35,6 +38,13 @@ export interface IBotBase { /** SPT specific property used during bot generation in raid */ sptIsPmc?: boolean; } +export interface ITaskConditionCounter { + id: string; + type: string; + value: number; + /** Quest id */ + sourceId: string; +} export interface IUnlockedInfo { unlockedProductionRecipe: string[]; } @@ -44,6 +54,7 @@ export interface Info { LowerNickname: string; Side: string; SquadInviteRestriction: boolean; + HasCoopExtension: boolean; Voice: string; Level: number; Experience: number; @@ -127,6 +138,7 @@ export interface Inventory { /** Key is hideout area enum numeric as string e.g. "24", value is area _id */ hideoutAreaStashes: Record; fastPanel: Record; + favoriteItems: string[]; } export interface IBaseJsonSkills { Common: Record; @@ -170,6 +182,7 @@ export interface IEftStats { LastPlayerState?: LastPlayerState; TotalInGameTime: number; SurvivorClass?: string; + sptLastRaidFenceRepChange?: number; } export interface IDroppedItem { QuestId: string; @@ -202,14 +215,6 @@ 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; @@ -302,6 +307,9 @@ export interface Productive { ProductionTime?: number; GivenItemsInStart?: string[]; Interrupted?: boolean; + Code?: string; + Decoded?: boolean; + AvailableForFinish?: boolean; /** Used in hideout production.json */ needFuelForAllProductionTime?: boolean; /** Used when sending data to client */ @@ -311,6 +319,8 @@ export interface Productive { sptIsComplete?: boolean; /** Is the craft a Continuous, e.g bitcoins/water collector */ sptIsContinuous?: boolean; + /** Stores a list of tools used in this craft and whether they're FiR, to give back once the craft is done */ + sptRequiredTools?: Item[]; } export interface Production extends Productive { RecipeId: string; @@ -330,6 +340,7 @@ export interface HideoutArea { level: number; active: boolean; passiveBonusesEnabled: boolean; + /** Must be integer */ completeTime: number; constructing: boolean; slots: HideoutSlot[]; @@ -351,6 +362,8 @@ export interface LastCompleted { export interface Notes { Notes: Note[]; } +export interface CarExtractCounts { +} export declare enum SurvivorClass { UNKNOWN = 0, NEUTRALIZER = 1, @@ -363,7 +376,7 @@ export interface IQuestStatus { startTime: number; status: QuestStatus; statusTimers?: Record; - /** Property does not exist in live profile data, but is used by ProfileChanges.questsStatus when sent to client*/ + /** Property does not exist in live profile data, but is used by ProfileChanges.questsStatus when sent to client */ completedConditions?: string[]; availableAfter?: number; } @@ -382,7 +395,7 @@ export interface RagfairInfo { } export interface Bonus { id?: string; - type: string; + type: BonusType; templateId?: string; passive?: boolean; production?: boolean; @@ -390,7 +403,7 @@ export interface Bonus { value?: number; icon?: string; filter?: string[]; - skillType?: string; + skillType?: BonusSkillType; } export interface Note { Time: number; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IBotType.d.ts index 53a8021..074a7d6 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; @@ -15,13 +15,14 @@ export interface IBotType { export interface Appearance { body: Record; feet: Record; - hands: string[]; - head: string[]; - voice: string[]; + hands: Record; + head: Record; + voice: Record; } export interface Chances { equipment: EquipmentChances; - mods: ModsChances; + weaponMods: ModsChances; + equipmentMods: ModsChances; } export interface EquipmentChances { ArmBand: number; @@ -108,6 +109,9 @@ export interface GenerationWeightingItems { grenades: GenerationData; healing: GenerationData; drugs: GenerationData; + food: GenerationData; + drink: GenerationData; + currency: GenerationData; stims: GenerationData; backpackLoot: GenerationData; pocketLoot: GenerationData; @@ -119,7 +123,7 @@ export interface GenerationData { /** key: number of items, value: weighting */ weights: Record; /** Array of item tpls */ - whitelist: string[]; + whitelist: Record; } export interface Health { BodyParts: BodyPart[]; @@ -159,10 +163,10 @@ export interface Equipment { TacticalVest: Record; } export interface Items { - Backpack: string[]; - Pockets: string[]; - SecuredContainer: string[]; - SpecialLoot: string[]; - TacticalVest: string[]; + Backpack: Record; + Pockets: Record; + SecuredContainer: Record; + SpecialLoot: Record; + TacticalVest: Record; } export type Mods = Record>; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IItem.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IItem.d.ts index 09a239c..8f60c4f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IItem.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IItem.d.ts @@ -33,6 +33,7 @@ export interface Upd { Foldable?: Foldable; SideEffect?: SideEffect; RepairKit?: RepairKit; + CultistAmulet?: ICultistAmulet; } export interface Buff { rarity: string; @@ -119,3 +120,6 @@ export interface SideEffect { export interface RepairKit { Resource: number; } +export interface ICultistAmulet { + NumberOfUsages: number; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ILootBase.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ILootBase.d.ts deleted file mode 100644 index 0bbb91d..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ILootBase.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -export interface ILootBase { - staticAmmo: Record; - staticContainers: Record; - staticLoot: Record; -} -export interface IStaticAmmoDetails { - tpl: string; - relativeProbability: number; -} -export interface IStaticContainerDetails { - staticWeapons: IStaticWeaponProps[]; - staticContainers: IStaticContainerData[]; - staticForced: IStaticForcedProps[]; -} -export interface IStaticContainerData { - probability: number; - template: IStaticContainerProps; -} -export interface IStaticPropsBase { - Id: string; - IsContainer: boolean; - useGravity: boolean; - randomRotation: boolean; - Position: Ixyz; - Rotation: Ixyz; - IsGroupPosition: boolean; - IsAlwaysSpawn: boolean; - GroupPositions: any[]; - Root: string; - Items: any[]; -} -export interface IStaticWeaponProps extends IStaticPropsBase { - Items: Item[]; -} -export interface IStaticContainerProps extends IStaticPropsBase { - Items: StaticItem[]; -} -export interface StaticItem { - _id: string; - _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/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IProfileTemplate.d.ts index 35db121..4d73192 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { - Standard: IProfileSides; + "Standard": IProfileSides; "Left Behind": IProfileSides; "Prepare To Escape": IProfileSides; "Edge Of Darkness": IProfileSides; @@ -11,10 +11,10 @@ export interface IProfileTemplates { } export interface IProfileSides { descriptionLocaleKey: string; - usec: TemplateSide; - bear: TemplateSide; + usec: ITemplateSide; + bear: ITemplateSide; } -export interface TemplateSide { +export interface ITemplateSide { character: IPmcData; suits: string[]; dialogues: Record; @@ -22,7 +22,7 @@ export interface TemplateSide { trader: ProfileTraderTemplate; } export interface ProfileTraderTemplate { - initialLoyaltyLevel: number; + initialLoyaltyLevel: Record; setQuestsAvailableForStart?: boolean; setQuestsAvailableForFinish?: boolean; initialStanding: number; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IQuest.d.ts index edd9849..54ff191 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IQuest.d.ts @@ -1,13 +1,13 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; _id: string; canShowNotificationsInGame: boolean; - conditions: Conditions; + conditions: IQuestConditionTypes; description: string; failMessageText: string; name: string; @@ -24,8 +24,11 @@ export interface IQuest { secretQuest: boolean; startedMessageText: string; successMessageText: string; + acceptPlayerMessage: string; + declinePlayerMessage: string; + completePlayerMessage: string; templateId: string; - rewards: Rewards; + rewards: IQuestRewards; /** Becomes 'AppearStatus' inside client */ status: string | number; KeyQuest: boolean; @@ -35,28 +38,24 @@ export interface IQuest { /** Status of quest to player */ sptStatus?: QuestStatus; } -export interface Conditions { - Started: AvailableForConditions[]; - AvailableForFinish: AvailableForConditions[]; - AvailableForStart: AvailableForConditions[]; - Success: AvailableForConditions[]; - Fail: AvailableForConditions[]; +export interface IQuestConditionTypes { + Started: IQuestCondition[]; + AvailableForFinish: IQuestCondition[]; + AvailableForStart: IQuestCondition[]; + Success: IQuestCondition[]; + Fail: IQuestCondition[]; } -export interface AvailableForConditions { - _parent: string; - _props: AvailableForProps; - dynamicLocale?: boolean; -} -export interface AvailableForProps { +export interface IQuestCondition { id: string; - index: number; - parentId: string; - isEncoded: boolean; - dynamicLocale: boolean; - value?: string | number; + index?: number; compareMethod?: string; + dynamicLocale: boolean; visibilityConditions?: VisibilityCondition[]; - target?: string | string[]; + globalQuestCounterId?: string; + parentId?: string; + target: string[] | string; + value?: string | number; + type?: boolean; status?: QuestStatus[]; availableAfter?: number; dispersion?: number; @@ -66,60 +65,87 @@ export interface AvailableForProps { dogtagLevel?: number; maxDurability?: number; minDurability?: number; - counter?: AvailableForCounter; + counter?: IQuestConditionCounter; plantTime?: number; zoneId?: string; - type?: boolean; countInRaid?: boolean; - globalQuestCounterId?: any; + completeInSeconds?: number; + isEncoded?: boolean; + conditionType?: string; } -export interface AvailableForCounter { +export interface IQuestConditionCounter { id: string; - conditions: CounterCondition[]; + conditions: IQuestConditionCounterCondition[]; } -export interface CounterCondition { - _parent: string; - _props: CounterProps; -} -export interface CounterProps { +export interface IQuestConditionCounterCondition { id: string; - target: string[] | string; + dynamicLocale: boolean; + target?: string[] | string; + completeInSeconds?: number; + energy?: IValueCompare; + exitName?: string; + hydration?: IValueCompare; + time?: IValueCompare; compareMethod?: string; - value?: string; + value?: number; weapon?: string[]; + distance?: ICounterConditionDistance; equipmentInclusive?: string[][]; weaponModsInclusive?: string[][]; + weaponModsExclusive?: string[][]; + enemyEquipmentInclusive?: string[][]; + enemyEquipmentExclusive?: string[][]; + weaponCaliber?: string[]; + savageRole?: string[]; status?: string[]; bodyPart?: string[]; - daytime?: DaytimeCounter; + daytime?: IDaytimeCounter; + conditionType?: string; + enemyHealthEffects?: IEnemyHealthEffect[]; + resetOnSessionEnd?: boolean; } -export interface DaytimeCounter { +export interface IEnemyHealthEffect { + bodyParts: string[]; + effects: string[]; +} +export interface IValueCompare { + compareMethod: string; + value: number; +} +export interface ICounterConditionDistance { + value: number; + compareMethod: string; +} +export interface IDaytimeCounter { from: number; to: number; } export interface VisibilityCondition { id: string; - value: number; - dynamicLocale: boolean; + target: string; + value?: number; + dynamicLocale?: boolean; oneSessionOnly: boolean; + conditionType: string; } -export interface Rewards { - AvailableForStart: Reward[]; - AvailableForFinish: Reward[]; - Started: Reward[]; - Success: Reward[]; - Fail: Reward[]; - FailRestartable: Reward[]; - Expired: Reward[]; +export interface IQuestRewards { + AvailableForStart?: IQuestReward[]; + AvailableForFinish?: IQuestReward[]; + Started?: IQuestReward[]; + Success?: IQuestReward[]; + Fail?: IQuestReward[]; + FailRestartable?: IQuestReward[]; + Expired?: IQuestReward[]; } -export interface Reward extends Item { +export interface IQuestReward { value?: string | number; - id: string; + id?: string; type: QuestRewardType; index: number; target?: string; items?: Item[]; loyaltyLevel?: number; + /** Hideout area id */ traderId?: string; unknown?: boolean; findInRaid?: boolean; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IRepeatableQuests.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IRepeatableQuests.d.ts index 8101c51..854c8ef 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IRepeatableQuests.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/IRepeatableQuests.d.ts @@ -1,21 +1,19 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -export interface IReward { - index: number; - type: string; - value: number; - target?: string; - items?: Item[]; +import { IQuest, IQuestConditionTypes, IQuestRewards } from "./IQuest"; +export interface IRepeatableQuest extends IQuest { + changeCost: IChangeCost[]; + changeStandingCost: number; + sptRepatableGroupName: string; } export interface IRepeatableQuestDatabase { - templates: ITemplates; + templates: IRepeatableTemplates; rewards: IRewardOptions; data: IOptions; samples: ISampleQuests[]; } -export interface ITemplates { - Elimination: IRepeatableQuest; - Completion: IRepeatableQuest; - Exploration: IRepeatableQuest; +export interface IRepeatableTemplates { + Elimination: IQuest; + Completion: IQuest; + Exploration: IQuest; } export interface IPmcDataRepeatableQuest { id?: string; @@ -23,9 +21,8 @@ export interface IPmcDataRepeatableQuest { activeQuests: IRepeatableQuest[]; inactiveQuests: IRepeatableQuest[]; endTime: number; - changeRequirement: TChangeRequirementRecord; + changeRequirement: Record; } -export type TChangeRequirementRecord = Record; export interface IChangeRequirement { changeCost: IChangeCost[]; changeStandingCost: number; @@ -34,183 +31,6 @@ export interface IChangeCost { templateId: string; count: number; } -export interface IRepeatableQuest { - _id: string; - traderId: string; - location: string; - image: string; - type: string; - isKey: boolean; - restartable: boolean; - instantComplete: boolean; - secretQuest: boolean; - canShowNotificationsInGame: boolean; - rewards: IRewards; - conditions: IConditions; - side: string; - questStatus: any; - name: string; - note: string; - description: string; - successMessageText: string; - failMessageText: string; - startedMessageText: string; - changeQuestMessageText: string; - acceptPlayerMessage: string; - declinePlayerMessage: string; - completePlayerMessage: string; - templateId: string; - changeCost: IChangeCost[]; - changeStandingCost: number; - sptRepatableGroupName?: string; -} -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 IPickup extends IRepeatableQuest { - conditions: IPickupConditions; -} -export interface IPickupConditions extends IConditions { - AvailableForFinish: IPickupAvailableFor[]; -} -export interface IPickupAvailableFor extends IAvailableFor { - _props: IPickupAvailableForProps; -} -export interface IPickupAvailableForProps extends IAvailableForPropsCounter { - target: string[]; - counter?: IPickupCounter; -} -export interface IPickupCounter extends ICounter { - conditions: IPickupCondition[]; -} -export interface IPickupCondition extends ICondition { - _props: IEquipmentConditionProps | ILocationConditionProps | IExitStatusConditionProps; -} -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[]; - weapon?: string[]; - weaponCategories?: string[]; -} -export interface IEquipmentConditionProps extends IConditionProps { - equipmentInclusive: [string[]]; - IncludeNotEquippedItems: boolean; -} -export interface IKillConditionProps extends IConditionProps { - target: string; - value: number; - savageRole?: string[]; - bodyPart?: string[]; - distance?: IDistanceCheck; - weapon?: string[]; - weaponCategories?: string[]; -} -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[]; } @@ -240,8 +60,8 @@ export interface ISampleQuests { instantComplete: boolean; secretQuest: boolean; canShowNotificationsInGame: boolean; - rewards: IRewards; - conditions: IConditions; + rewards: IQuestRewards; + conditions: IQuestConditionTypes; name: string; note: string; description: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ITemplateItem.d.ts index c17c7a0..32bc9fc 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -63,6 +63,7 @@ export interface Props { DiscardingBlock?: boolean; DropSoundType?: string; RagFairCommissionModifier?: number; + RarityPvE: string; IsAlwaysAvailableForInsurance?: boolean; DiscardLimit?: number; MaxResource?: number; @@ -82,6 +83,7 @@ export interface Props { EffectiveDistance?: number; Ergonomics?: number; Velocity?: number; + WithAnimatorAiming?: boolean; RaidModdable?: boolean; ToolModdable?: boolean; UniqueAnimationModID?: number; @@ -155,6 +157,8 @@ export interface Props { BlocksArmorVest?: boolean; speedPenaltyPercent?: number; GridLayoutName?: string; + ContainerSpawnChanceModifier?: number; + SpawnExcludedFilter?: string[]; SpawnFilter?: any[]; containType?: any[]; sizeWidth?: number; @@ -170,6 +174,9 @@ export interface Props { MaxDurability?: number; armorZone?: string[]; armorClass?: string | number; + armorColliders?: string[]; + armorPlateColliders?: string[]; + bluntDamageReduceFromSoftArmor?: boolean; mousePenalty?: number; weaponErgonomicPenalty?: number; BluntThroughput?: number; @@ -179,14 +186,17 @@ export interface Props { weapUseType?: string; ammoCaliber?: string; OperatingResource?: number; + PostRecoilHorizontalRangeHandRotation?: Ixyz; + PostRecoilVerticalRangeHandRotation?: Ixyz; + ProgressRecoilAngleOnStable?: Ixyz; RepairComplexity?: number; durabSpawnMin?: number; durabSpawnMax?: number; isFastReload?: boolean; RecoilForceUp?: number; RecoilForceBack?: number; - Convergence?: number; RecoilAngle?: number; + RecoilCamera?: number; weapFireType?: string[]; RecolDispersion?: number; SingleFireRate?: number; @@ -194,6 +204,7 @@ export interface Props { bFirerate?: number; bEffDist?: number; bHearDist?: number; + blockLeftStance?: boolean; isChamberLoad?: boolean; chamberAmmoCount?: number; isBoltCatch?: boolean; @@ -202,8 +213,9 @@ export interface Props { AdjustCollimatorsToTrajectory?: boolean; shotgunDispersion?: number; Chambers?: Slot[]; - CameraRecoil?: number; CameraSnap?: number; + CameraToWeaponAngleSpeedRange?: Ixyz; + CameraToWeaponAngleStep?: number; ReloadMode?: string; AimPlane?: number; TacticalReloadStiffnes?: Ixyz; @@ -211,6 +223,7 @@ export interface Props { RecoilCenter?: Ixyz; RotationCenter?: Ixyz; RotationCenterNoStock?: Ixyz; + ShotsGroupSettings?: IShotsGroupSettings[]; FoldedSlot?: string; CompactHandling?: boolean; MinRepairDegradation?: number; @@ -242,6 +255,11 @@ export interface Props { AllowOverheat?: boolean; DoubleActionAccuracyPenalty?: number; RecoilPosZMult?: number; + RecoilReturnPathDampingHandRotation?: number; + RecoilReturnPathOffsetHandRotation?: number; + RecoilReturnSpeedHandRotation?: number; + RecoilStableAngleIncreaseStep?: number; + RecoilStableIndexShot?: number; MinRepairKitDegradation?: number; MaxRepairKitDegradation?: number; BlocksEarpiece?: boolean; @@ -335,7 +353,8 @@ export interface Props { casingMass?: number; casingSounds?: string; ProjectileCount?: number; - PenetrationChance?: number; + PenetrationChanceObstacle?: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; @@ -386,6 +405,15 @@ export interface Props { LinkedWeapon?: string; UseAmmoWithoutShell?: boolean; RandomLootSettings?: IRandomLootSettings; + RecoilCategoryMultiplierHandRotation?: number; + RecoilDampingHandRotation?: number; + LeanWeaponAgainstBody?: boolean; + RemoveShellAfterFire?: boolean; + RepairStrategyTypes?: string[]; + IsEncoded?: boolean; + LayoutName?: string; + Lower75Prefab?: Prefab; + MaxUsages?: number; } export interface IHealthEffect { type: string; @@ -430,6 +458,10 @@ export interface SlotProps { } export interface SlotFilter { Shift?: number; + locked?: boolean; + Plate?: string; + armorColliders?: string[]; + armorPlateColliders?: string[]; Filter: string[]; AnimationIndex?: number; } @@ -490,3 +522,10 @@ export interface IColor { b: number; a: number; } +export interface IShotsGroupSettings { + EndShotIndex: number; + ShotRecoilPositionStrength: Ixyz; + ShotRecoilRadianRange: Ixyz; + ShotRecoilRotationStrength: Ixyz; + StartShotIndex: number; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ITrader.d.ts index 83353de..14ab409 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/common/tables/ITrader.d.ts @@ -1,10 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { - assort: ITraderAssort; + assort?: ITraderAssort; base: ITraderBase; dialogue?: Record; - questassort: Record>; + questassort?: Record>; suits?: ISuit[]; + services?: ITraderServiceModel[]; } export interface ITraderBase { refreshTraderRagfairOffers: boolean; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IAcceptFriendRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IAcceptFriendRequestData.d.ts index 87461aa..0913eb5 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IAcceptFriendRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IAcceptFriendRequestData.d.ts @@ -2,6 +2,8 @@ export interface IAcceptFriendRequestData extends IBaseFriendRequest { } export interface ICancelFriendRequestData extends IBaseFriendRequest { } -export interface IBaseFriendRequest { - request_id: string; +export interface IDeclineFriendRequestData extends IBaseFriendRequest { +} +export interface IBaseFriendRequest { + profileId: string; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IAddUserGroupMailRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IAddUserGroupMailRequest.d.ts new file mode 100644 index 0000000..d1170d1 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IAddUserGroupMailRequest.d.ts @@ -0,0 +1,4 @@ +export interface IAddUserGroupMailRequest { + dialogId: string; + uid: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IChangeGroupMailOwnerRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IChangeGroupMailOwnerRequest.d.ts new file mode 100644 index 0000000..63b413f --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IChangeGroupMailOwnerRequest.d.ts @@ -0,0 +1,4 @@ +export interface IChangeGroupMailOwnerRequest { + dialogId: string; + uid: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/ICreateGroupMailRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/ICreateGroupMailRequest.d.ts new file mode 100644 index 0000000..176d7f3 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/ICreateGroupMailRequest.d.ts @@ -0,0 +1,4 @@ +export interface ICreateGroupMailRequest { + Name: string; + Users: string[]; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IFriendRequestSendResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IFriendRequestSendResponse.d.ts index 06c40f3..fc311eb 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IFriendRequestSendResponse.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IFriendRequestSendResponse.d.ts @@ -1,5 +1,5 @@ export interface IFriendRequestSendResponse { status: number; - requestid: string; + requestId: string; retryAfter: number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IRemoveUserGroupMailRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IRemoveUserGroupMailRequest.d.ts new file mode 100644 index 0000000..c7582f8 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/IRemoveUserGroupMailRequest.d.ts @@ -0,0 +1,4 @@ +export interface IRemoveUserGroupMailRequest { + dialogId: string; + uid: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/game/IGameModeRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/game/IGameModeRequestData.d.ts new file mode 100644 index 0000000..618c42d --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/game/IGameModeRequestData.d.ts @@ -0,0 +1,3 @@ +export interface IGameModeRequestData { + sessionMode: string | null; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/game/IGameModeResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/game/IGameModeResponse.d.ts new file mode 100644 index 0000000..eaac690 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/game/IGameModeResponse.d.ts @@ -0,0 +1,8 @@ +export declare enum ESessionMode { + REGULAR = "regular", + PVE = "pve" +} +export interface IGameModeResponse { + gameMode: ESessionMode; + backendUrl: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/game/IReportNicknameRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/game/IReportNicknameRequestData.d.ts deleted file mode 100644 index 087c58b..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/game/IReportNicknameRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IReportNicknameRequestData { - uid: string; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/game/ISendReportRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/game/ISendReportRequest.d.ts new file mode 100644 index 0000000..b73d95c --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/game/ISendReportRequest.d.ts @@ -0,0 +1,4 @@ +export interface ISendReportRequest { + type: string; + uid: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutArea.d.ts index bb00498..ca0eb07 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,3 +1,5 @@ +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; @@ -66,8 +68,8 @@ export interface StageBonus { passive: boolean; production: boolean; visible: boolean; - skillType?: string; - type: string; + skillType?: BonusSkillType; + type: BonusType; filter?: string[]; icon?: string; /** CHANGES PER DUMP */ diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutProduction.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutProduction.d.ts index 8bed3cc..7373a4f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutProduction.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutProduction.d.ts @@ -3,6 +3,7 @@ export interface IHideoutProduction { areaType: number; requirements: Requirement[]; productionTime: number; + /** Tpl of item being crafted */ endProduct: string; isEncoded: boolean; locked: boolean; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts index 1ed542a..dfb92e2 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts @@ -2,6 +2,7 @@ export interface IHideoutSingleProductionStartRequestData { Action: "HideoutSingleProductionStart"; recipeId: string; items: Item[]; + tools: Item[]; timestamp: number; } export interface Item { diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IQteData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IQteData.d.ts index f842b84..7f507e1 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/hideout/IQteData.d.ts @@ -1,38 +1,108 @@ +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { - Id: string; - Type: string; - Area: string; - AreaLevel: number; - QuickTimeEvents: IQuickTimeEvent[]; - Requirements: IQteRequirement[]; - Results: Record; + id: string; + type: QteActivityType; + area: HideoutAreas; + areaLevel: number; + quickTimeEvents: IQuickTimeEvent[]; + requirements: (IAreaRequirement | IItemRequirement | ITraderUnlockRequirement | ITraderLoyaltyRequirement | ISkillRequirement | IResourceRequirement | IToolRequirement | IQuestRequirement | IHealthRequirement | IBodyPartBuffRequirement)[]; + results: Record; } export interface IQuickTimeEvent { - Type: string; - Position: number; - StartDelay: number; - EndDelay: number; - Speed: number; - SuccessRange: string; - Key: string; + type: QteType; + position: { + x: number; + y: number; + }; + startDelay: number; + endDelay: number; + speed: number; + successRange: { + x: number; + y: number; + }; + key: string; } export interface IQteRequirement { - type: string; + type: RequirementType; } export interface IQteResult { - Energy: number; - Hydration: number; - RewardsRange: IQteEffect[]; + energy: number; + hydration: number; + rewardsRange: IQteEffect[]; } export interface IQteEffect { - Type: string; - SkillId: string; + type: QteRewardType; + skillId: number; levelMultipliers: ISkillLevelMultiplier[]; - Time: number; - Weight: number; - Result: string; + time: number; + weight: number; + result: QteResultType; } export interface ISkillLevelMultiplier { level: number; multiplier: number; } +export interface IAreaRequirement extends IQteRequirement { + type: RequirementType.AREA; + areaType: HideoutAreas; + requiredLevel: number; +} +export interface ITraderUnlockRequirement extends IQteRequirement { + type: RequirementType.TRADER_UNLOCK; + traderId: Traders; +} +export interface ITraderLoyaltyRequirement extends IQteRequirement { + type: RequirementType.TRADER_LOYALTY; + traderId: Traders; + loyaltyLevel: number; +} +export interface ISkillRequirement extends IQteRequirement { + type: RequirementType.SKILL; + skillName: SkillTypes; + skillLevel: number; +} +export interface IResourceRequirement extends IQteRequirement { + type: RequirementType.RESOURCE; + templateId: string; + resource: number; +} +export interface IItemRequirement extends IQteRequirement { + type: RequirementType.ITEM; + templateId: string; + count: number; + isFunctional: boolean; + isEncoded: boolean; +} +export interface IToolRequirement extends IQteRequirement { + type: RequirementType.TOOL; + templateId: string; + count: number; + isFunctional: boolean; + isEncoded: boolean; +} +export interface IQuestRequirement extends IQteRequirement { + type: RequirementType.QUEST_COMPLETE; + questId: string; +} +export interface IHealthRequirement extends IQteRequirement { + type: RequirementType.HEALTH; + energy: number; + hydration: number; +} +export interface IBodyPartBuffRequirement extends IQteRequirement { + type: RequirementType.BODY_PART_BUFF; + effectName: Effect; + bodyPart: BodyPart; + excluded: boolean; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inRaid/IItemDeliveryRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inRaid/IItemDeliveryRequestData.d.ts new file mode 100644 index 0000000..451a6f2 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inRaid/IItemDeliveryRequestData.d.ts @@ -0,0 +1,5 @@ +import { Item } from "../common/tables/IItem"; +export interface IItemDeliveryRequestData { + items: Item[]; + traderId: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemDirectRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemDirectRequest.d.ts new file mode 100644 index 0000000..6459a79 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemDirectRequest.d.ts @@ -0,0 +1,8 @@ +import { Item } from "../common/tables/IItem"; +export interface IAddItemDirectRequest { + /** Item and child mods to add to player inventory */ + itemWithModsToAdd: Item[]; + foundInRaid: boolean; + callback: (buyCount: number) => void; + useSortingTable: boolean; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemRequestData.d.ts index 24f3e31..3fa86dc 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemRequestData.d.ts @@ -5,6 +5,6 @@ export interface IAddItemRequestData { } export interface AddItem { count: number; - isPreset?: boolean; + sptIsPreset?: boolean; item_id: string; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemsDirectRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemsDirectRequest.d.ts new file mode 100644 index 0000000..c19ba2f --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IAddItemsDirectRequest.d.ts @@ -0,0 +1,10 @@ +import { Item } from "../common/tables/IItem"; +export interface IAddItemsDirectRequest { + /** Item and child mods to add to player inventory */ + itemsWithModsToAdd: Item[][]; + foundInRaid: boolean; + /** Runs after EACH item with children is added */ + callback: (buyCount: number) => void; + /** Should sorting table be used when no space found in stash */ + useSortingTable: boolean; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts new file mode 100644 index 0000000..d3a4bd7 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -0,0 +1,6 @@ +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; +export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { + Action: "Unbind"; + item: string; + index: number; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index 49a6792..c9b97e0 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,7 +1,7 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; - /** Container item opened */ + /** Container item id being opened */ item: string; to: To[]; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/ISetFavoriteItems.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/ISetFavoriteItems.d.ts new file mode 100644 index 0000000..aacbb39 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/inventory/ISetFavoriteItems.d.ts @@ -0,0 +1,6 @@ +import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; +export interface ISetFavoriteItems extends IInventoryBaseActionRequestData { + Action: "SetFavoriteItems"; + items: any[]; + timestamp: number; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index c5459ff..d4913be 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,3 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +/** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IAcceptGroupInviteRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IAcceptGroupInviteRequest.d.ts deleted file mode 100644 index 1a4b8f7..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IAcceptGroupInviteRequest.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IAcceptGroupInviteRequest { - requestId: string; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IAcceptGroupInviteResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IAcceptGroupInviteResponse.d.ts deleted file mode 100644 index eea1ce6..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IAcceptGroupInviteResponse.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export interface IAcceptGroupInviteResponse { - _id: string; - aid: number; - Info: PlayerInviteInfo; - isLeader: boolean; - isReady: boolean; -} -export interface PlayerInviteInfo { - Nickname: string; - Side: string; - Level: number; - MemberCategory: number; - GameVersion: string; - SavageLockTime: number; - SavageNickname: string; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/ICancelGroupInviteRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/ICancelGroupInviteRequest.d.ts deleted file mode 100644 index 71d79c7..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/ICancelGroupInviteRequest.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ICancelGroupInviteRequest { - requestId: string; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/ICreateGroupRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/ICreateGroupRequestData.d.ts deleted file mode 100644 index 322a095..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/ICreateGroupRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -export interface ICreateGroupRequestData { - location: string; - raidMode: RaidMode; - startInGroup: boolean; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGetGroupStatusResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGetGroupStatusResponse.d.ts deleted file mode 100644 index 8209ef5..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGetGroupStatusResponse.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -export interface IGetGroupStatusResponse { - players: IPlayer[]; - maxPveCountExceeded: boolean; -} -export interface IPlayer { - aid: string; - _id: string; - lookingGroup: boolean; - IsLeader: boolean; - IsReady: boolean; - Info: ICurrentGroupMemberInfo; -} -export interface ICurrentGroupMemberInfo { - Nickname: string; - Side: string; - Level: string; - MemberCategory: MemberCategory; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGetProfileRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGetProfileRequestData.d.ts deleted file mode 100644 index 86b5bbd..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGetProfileRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetProfileRequestData { - profileId: string; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index ed3dfab..959986c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,32 +1,6 @@ -export interface IGetRaidConfigurationRequestData { +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; - side: string; - location: string; - timeVariant: string; - raidMode: string; - metabolismDisabled: boolean; - playersSpawnPlace: string; - timeAndWeatherSettings: TimeAndWeatherSettings; - botSettings: BotSettings; - wavesSettings: WavesSettings; -} -export interface TimeAndWeatherSettings { - isRandomTime: boolean; - isRandomWeather: boolean; - cloudinessType: string; - rainType: string; - windType: string; - fogType: string; - timeFlowType: string; - hourOfDay: number; -} -export interface BotSettings { - isScavWars: boolean; - botAmount: string; -} -export interface WavesSettings { - botAmount: string; - botDifficulty: string; - isBosses: boolean; - isTaggedAndCursed: boolean; + CanShowGroupPreview: boolean; + MaxGroupCount: number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGroupCharacter.d.ts new file mode 100644 index 0000000..013930a --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGroupCharacter.d.ts @@ -0,0 +1,39 @@ +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +export interface IGroupCharacter { + _id: string; + aid: number; + Info: { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; + GameVersion?: string; + SavageLockTime?: number; + SavageNickname?: string; + hasCoopExtension?: boolean; + }; + PlayerVisualRepresentation?: { + Info: { + Side: string; + Level: number; + Nickname: string; + MemberCategory: MemberCategory; + GameVersion: string; + }; + Customization: { + Head: string; + Body: string; + Feet: string; + Hands: string; + }; + Equipment: { + Id: string; + Items: Item[]; + }; + }; + isLeader: boolean; + isReady?: boolean; + region?: string; + lookingGroup?: boolean; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IJoinMatchRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IJoinMatchRequestData.d.ts deleted file mode 100644 index b9b7568..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IJoinMatchRequestData.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface IJoinMatchRequestData { - groupid: string; - servers: Server[]; -} -export interface Server { - ping: number; - ip: string; - port: string; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IJoinMatchResult.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IJoinMatchResult.d.ts deleted file mode 100644 index e0e867f..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IJoinMatchResult.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -export interface IJoinMatchResult { - maxPveCountExceeded: boolean; - profiles: IJoinMatchPlayerProfile[]; -} -export interface IJoinMatchPlayerProfile { - profileid: string; - profileToken: string; - status: string; - sid: string; - ip: string; - port: number; - version: string; - location: string; - raidMode: string; - mode: string; - shortid: string; - additional_info: any[]; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupCurrentResponse.d.ts new file mode 100644 index 0000000..23bcba4 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -0,0 +1,4 @@ +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +export interface IMatchGroupCurrentResponse { + squad: IGroupCharacter[]; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupInviteSendRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupInviteSendRequest.d.ts new file mode 100644 index 0000000..e03cb90 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupInviteSendRequest.d.ts @@ -0,0 +1,4 @@ +export interface IMatchGroupInviteSendRequest { + to: string; + inLobby: boolean; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupPlayerRemoveRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupPlayerRemoveRequest.d.ts new file mode 100644 index 0000000..623eadb --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupPlayerRemoveRequest.d.ts @@ -0,0 +1,3 @@ +export interface IMatchGroupPlayerRemoveRequest { + aidToKick: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupStartGameRequest.d.ts new file mode 100644 index 0000000..663ef1e --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -0,0 +1,5 @@ +import { IServer } from "@spt/models/eft/match/IServer"; +export interface IMatchGroupStartGameRequest { + groupId: string; + servers: IServer[]; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGetGroupStatusRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupStatusRequest.d.ts similarity index 54% rename from TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGetGroupStatusRequestData.d.ts rename to TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupStatusRequest.d.ts index 28b9500..ffac106 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IGetGroupStatusRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,5 +1,5 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -export interface IGetGroupStatusRequestData { +import { RaidMode } from "@spt/models/enums/RaidMode"; +export interface IMatchGroupStatusRequest { location: string; savage: boolean; dt: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupStatusResponse.d.ts new file mode 100644 index 0000000..7702ac7 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -0,0 +1,5 @@ +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +export interface IMatchGroupStatusResponse { + players: IGroupCharacter[]; + maxPveCountExceeded: boolean; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupTransferRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupTransferRequest.d.ts new file mode 100644 index 0000000..4476387 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IMatchGroupTransferRequest.d.ts @@ -0,0 +1,3 @@ +export interface IMatchGroupTransferRequest { + aidToChange: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IProfileStatusRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IProfileStatusRequest.d.ts new file mode 100644 index 0000000..0667a99 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IProfileStatusRequest.d.ts @@ -0,0 +1,3 @@ +export interface IProfileStatusRequest { + groupId: number; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IProfileStatusResponse.d.ts new file mode 100644 index 0000000..8fa6186 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IProfileStatusResponse.d.ts @@ -0,0 +1,5 @@ +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; +export interface IProfileStatusResponse { + maxPveCountExceeded: boolean; + profiles: ISessionStatus[]; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IRaidSettings.d.ts new file mode 100644 index 0000000..78a0c19 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IRaidSettings.d.ts @@ -0,0 +1,42 @@ +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; +export interface IRaidSettings { + location: string; + timeVariant: DateTime; + raidMode: RaidMode; + metabolismDisabled: boolean; + playersSpawnPlace: PlayersSpawnPlace; + timeAndWeatherSettings: TimeAndWeatherSettings; + botSettings: BotSettings; + wavesSettings: WavesSettings; + side: SideType; +} +export interface TimeAndWeatherSettings { + isRandomTime: boolean; + isRandomWeather: boolean; + cloudinessType: CloudinessType; + rainType: RainType; + fogType: FogType; + windType: WindSpeed; + timeFlowType: TimeFlowType; + hourOfDay: number; +} +export interface BotSettings { + isScavWars: boolean; + botAmount: BotAmount; +} +export interface WavesSettings { + botAmount: BotAmount; + botDifficulty: BotDifficulty; + isBosses: boolean; + isTaggedAndCursed: boolean; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IRemovePlayerFromGroupRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IRemovePlayerFromGroupRequest.d.ts deleted file mode 100644 index 4877c54..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IRemovePlayerFromGroupRequest.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IRemovePlayerFromGroupRequest { - aidToKick: string; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IRequestIdRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IRequestIdRequest.d.ts new file mode 100644 index 0000000..755ca1b --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IRequestIdRequest.d.ts @@ -0,0 +1,3 @@ +export interface IRequestIdRequest { + requestId: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/ISendGroupInviteRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/ISendGroupInviteRequest.d.ts deleted file mode 100644 index 66d3d0e..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/ISendGroupInviteRequest.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface ISendGroupInviteRequest { - to: string; - inLobby: boolean; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IServer.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IServer.d.ts new file mode 100644 index 0000000..d7c30d8 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/IServer.d.ts @@ -0,0 +1,5 @@ +export interface IServer { + ping: number; + ip: string; + port: number; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/ISessionStatus.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/ISessionStatus.d.ts new file mode 100644 index 0000000..c745cbf --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/ISessionStatus.d.ts @@ -0,0 +1,14 @@ +export interface ISessionStatus { + profileid: string; + profileToken: string; + status: string; + ip: string; + port: number; + sid: string; + version?: string; + location?: string; + raidMode?: string; + mode?: string; + shortId?: string; + additional_info?: any[]; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/ITransferGroupRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/match/ITransferGroupRequest.d.ts deleted file mode 100644 index e17c2a8..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/match/ITransferGroupRequest.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ITransferGroupRequest { - aidToChange: string; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/notifier/INotifier.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/notifier/INotifier.d.ts index 74343d8..4ead272 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/notifier/INotifier.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/notifier/INotifier.d.ts @@ -1,4 +1,3 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; export interface INotifierChannel { server: string; channel_id: string; @@ -6,19 +5,3 @@ export interface INotifierChannel { notifierServer: string; ws: string; } -export interface INotification { - type: NotificationType; - eventId: string; - dialogId?: string; - message?: Message; -} -export declare enum NotificationType { - RAGFAIR_OFFER_SOLD = "RagfairOfferSold", - RAGFAIR_RATING_CHANGE = "RagfairRatingChange", - /** ChatMessageReceived */ - NEW_MESSAGE = "new_message", - PING = "ping", - TRADER_SUPPLY = "TraderSupply", - TRADER_STANDING = "TraderStanding", - UNLOCK_TRADER = "UnlockTrader" -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/notifier/ISelectProfileRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/notifier/ISelectProfileRequestData.d.ts deleted file mode 100644 index 2bc3d1e..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/notifier/ISelectProfileRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISelectProfileRequestData { - uid: string; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index d54116a..3cb8533 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,8 +1,9 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; - id: string; - name: string; - root: string; - items: Item[]; + Id: string; + /** name of preset given by player */ + Name: string; + Root: string; + Items: Item[]; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/presetBuild/IRemoveBuildRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/presetBuild/IRemoveBuildRequestData.d.ts index 0d61c4b..bcbdbce 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/presetBuild/IRemoveBuildRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/presetBuild/IRemoveBuildRequestData.d.ts @@ -1,4 +1,3 @@ export interface IRemoveBuildRequestData { - Action: "RemoveBuild"; id: string; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index 78302ee..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,214 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - id: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; -} -export interface IWeaponBuild { - id: string; - name: string; - root: string; - items: Item[]; - type: string; -} -export interface IEquipmentBuild { - id: string; - name: string; - root: string; - items: Item[]; - type: string; - fastPanel: Record; - buildType: EquipmentBuildType; -} -export interface Dialogue { - attachmentsNew: number; - type: MessageType; - new: number; - _id: string; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; -} -export interface IUserDialogInfo { - _id: string; - info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -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?: IProfileChangeEvent[]; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/ICompletedAchievementsResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/ICompletedAchievementsResponse.d.ts new file mode 100644 index 0000000..09275bc --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/ICompletedAchievementsResponse.d.ts @@ -0,0 +1,3 @@ +export interface ICompletedAchievementsResponse { + elements: Record; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IGetAchievementsResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IGetAchievementsResponse.d.ts new file mode 100644 index 0000000..a5a43cb --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IGetAchievementsResponse.d.ts @@ -0,0 +1,4 @@ +import { IAchievement } from "../common/tables/IAchievement"; +export interface IGetAchievementsResponse { + elements: IAchievement[]; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IGetOtherProfileRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IGetOtherProfileRequest.d.ts new file mode 100644 index 0000000..de3144b --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IGetOtherProfileRequest.d.ts @@ -0,0 +1,3 @@ +export interface IGetOtherProfileRequest { + accountId: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IGetOtherProfileResponse.d.ts new file mode 100644 index 0000000..7df4eba --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -0,0 +1,40 @@ +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +export interface IGetOtherProfileResponse { + id: string; + aid: number; + info: IOtherProfileInfo; + customization: IOtherProfileCustomization; + skills: Skills; + equipment: IOtherProfileEquipment; + achievements: Record; + favoriteItems: string[]; + pmcStats: IOtherProfileStats; + scavStats: IOtherProfileStats; +} +export interface IOtherProfileInfo { + nickname: string; + side: string; + experience: number; + memberCategory: number; + bannedState: boolean; + bannedUntil: number; + registrationDate: number; +} +export interface IOtherProfileCustomization { + head: string; + body: string; + feet: string; + hands: string; +} +export interface IOtherProfileEquipment { + Id: string; + Items: Item[]; +} +export interface IOtherProfileStats { + eft: IOtherProfileSubStats; +} +export interface IOtherProfileSubStats { + totalInGameTime: number; + overAllCounters: OverallCounters; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/ISearchFriendResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/ISearchFriendResponse.d.ts index 96d88b2..d3cc7df 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/ISearchFriendResponse.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/ISearchFriendResponse.d.ts @@ -1,9 +1,11 @@ export interface ISearchFriendResponse { _id: string; + aid: number; Info: Info; } export interface Info { Nickname: string; Side: string; Level: number; + MemberCategory: number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/quests/IFailQuestRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/quests/IFailQuestRequestData.d.ts index 5881d91..a1a65ea 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/quests/IFailQuestRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/quests/IFailQuestRequestData.d.ts @@ -1,5 +1,5 @@ export interface IFailQuestRequestData { - Action: "QuestComplete"; + Action: "QuestFail"; qid: string; removeExcessItems: boolean; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index cc4336a..d64b2c9 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,6 +1,6 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { - Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "" | "SptInsure" | "SptRepair"; + Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; tid: string; item_id: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts index 889dfd1..66abc0b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts @@ -1,13 +1,13 @@ export interface IProcessRagfairTradeRequestData { Action: string; - offers: Offer[]; + offers: IOfferRequest[]; } -export interface Offer { +export interface IOfferRequest { id: string; count: number; - items: Item[]; + items: IItemReqeust[]; } -export interface Item { +export interface IItemReqeust { id: string; count: number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 1fc6025..3727ce4 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,6 +1,7 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; + totalValue: number; fromOwner: OwnerInfo; toOwner: OwnerInfo; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/weather/IWeatherData.d.ts index b47189d..81bc746 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/weather/IWeatherData.d.ts @@ -1,9 +1,11 @@ -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; date: string; - weather?: IWeather; + weather: IWeather; + season: Season; } export interface IWeather { pressure: number; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsAid.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsAid.d.ts new file mode 100644 index 0000000..310d507 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsAid.d.ts @@ -0,0 +1,4 @@ +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsAid extends IWsNotificationEvent { + aid: number; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsAidNickname.d.ts new file mode 100644 index 0000000..e623b19 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsAidNickname.d.ts @@ -0,0 +1,5 @@ +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsAidNickname extends IWsNotificationEvent { + aid: number; + Nickname: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsChatMessageReceived.d.ts new file mode 100644 index 0000000..217e8e5 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -0,0 +1,8 @@ +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "../match/IGroupCharacter"; +export interface IWsChatMessageReceived extends IWsNotificationEvent { + dialogId: string; + message: Message; + profiles?: IGroupCharacter[]; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupId.d.ts new file mode 100644 index 0000000..62a8c6f --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupId.d.ts @@ -0,0 +1,4 @@ +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsGroupId extends IWsNotificationEvent { + groupId: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts new file mode 100644 index 0000000..ad176aa --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -0,0 +1,4 @@ +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "../match/IGroupCharacter"; +export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts new file mode 100644 index 0000000..cf15409 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -0,0 +1,5 @@ +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { + aid: number; + Nickname: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts new file mode 100644 index 0000000..b52a49c --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -0,0 +1,7 @@ +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { + requestId: string; + from: number; + members: IGroupCharacter[]; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts new file mode 100644 index 0000000..a374183 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -0,0 +1,4 @@ +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { + owner: number; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts new file mode 100644 index 0000000..ab76918 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -0,0 +1,5 @@ +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { + extendedProfile: IGroupCharacter; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts new file mode 100644 index 0000000..5fa52af --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -0,0 +1,5 @@ +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { + raidSettings: IRaidSettings; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsNotificationEvent.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsNotificationEvent.d.ts new file mode 100644 index 0000000..5fc72f3 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsNotificationEvent.d.ts @@ -0,0 +1,4 @@ +export interface IWsNotificationEvent { + type: string; + eventId: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsPing.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsPing.d.ts new file mode 100644 index 0000000..d43aa03 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsPing.d.ts @@ -0,0 +1,3 @@ +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsPing extends IWsNotificationEvent { +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsRagfairOfferSold.d.ts new file mode 100644 index 0000000..1c4c88e --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -0,0 +1,6 @@ +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +export interface IWsRagfairOfferSold extends IWsNotificationEvent { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsUserConfirmed.d.ts new file mode 100644 index 0000000..ac32e0d --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -0,0 +1,17 @@ +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +export interface IWsUserConfirmed extends IWsNotificationEvent { + profileid: string; + profileToken: string; + status: ProfileStatus; + ip: string; + port: number; + sid: string; + version: string; + location: string; + raidMode: RaidMode; + mode: string; + shortId: string; + additional_info: any[]; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/AmmoTypes.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/AmmoTypes.d.ts index 6aa332b..51ea4bb 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/enums/AmmoTypes.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/AmmoTypes.d.ts @@ -216,3 +216,7 @@ export declare enum Ammo26x75 { WHITE_FLARE = "62389bc9423ed1685422dc57", YELLOW_FLARE = "62389be94d5d474bf712e709" } +export declare enum Ammo68x51 { + SIG_FMJ = "6529302b8c26af6326029fb7", + SIG_HYBRID = "6529243824cbe3c74a05e5c1" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/BackendErrorCodes.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/BackendErrorCodes.d.ts index 2a269b5..a36e9ce 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/enums/BackendErrorCodes.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/BackendErrorCodes.d.ts @@ -62,11 +62,12 @@ export declare enum BackendErrorCodes { BANNEDERRORCODE = 1513, INSUFFICIENTNUMBERINSTOCK = 1516, TOOMANYITEMSTOSELL = 1517, + INCORRECTCLIENTPRICE = 1519, EXAMINATIONFAILED = 22001, ITEMALREADYEXAMINED = 22002, UNKNOWNNGINXERROR = 9000, PARSERESPONSEERROR = 9001, - UNKNOWNMATCHMAKERERROR2 = 503000, + UNKNOWNMATCHMAKERERROR2 = 503000,// They have two of these...why :/ UNKNOWNGROUPERROR = 502000, GROUPREQUESTNOTFOUND = 502002, GROUPFULL = 502004, @@ -81,5 +82,6 @@ export declare enum BackendErrorCodes { PLAYERISNOTSEARCHINGFORGROUP = 502018, PLAYERALREADYLOOKINGFORGAME = 503001, PLAYERINRAID = 503002, - LIMITFORPRESETSREACHED = 504001 + LIMITFORPRESETSREACHED = 504001, + PLAYERPROFILENOTFOUND = 505001 } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/BaseClasses.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/BaseClasses.d.ts index a9acb69..d98a58f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/enums/BaseClasses.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/BaseClasses.d.ts @@ -2,7 +2,7 @@ export declare enum BaseClasses { WEAPON = "5422acb9af1c889c16000029", UBGL = "55818b014bdc2ddc698b456b", ARMOR = "5448e54d4bdc2dcc718b4568", - ARMOREDEQUIPMENT = "57bef4c42459772e8d35a53b", + ARMORED_EQUIPMENT = "57bef4c42459772e8d35a53b", REPAIR_KITS = "616eb7aea207f41933308f46", HEADWEAR = "5a341c4086f77401f2541505", FACECOVER = "5a341c4686f77469e155819e", @@ -95,9 +95,20 @@ export declare enum BaseClasses { PORTABLE_RANGE_FINDER = "61605ddea09d851a0a0c1bbc", ITEM = "54009119af1c881c07000029", CYLINDER_MAGAZINE = "610720f290b75a49ff2e5e25", - AUXILARY_MOD = "5a74651486f7744e73386dd1", + AUXILIARY_MOD = "5a74651486f7744e73386dd1", BIPOD = "55818afb4bdc2dde698b456d", HEADPHONES = "5645bcb74bdc2ded0b8b4578", RANDOM_LOOT_CONTAINER = "62f109593b54472778797866", - STACKABLE_ITEM = "5661632d4bdc2d903d8b456b" + STACKABLE_ITEM = "5661632d4bdc2d903d8b456b", + BUILT_IN_INSERTS = "65649eb40bf0ed77b8044453", + ARMOR_PLATE = "644120aa86ffbe10ee032b6f", + CULTIST_AMULET = "64b69b0c8f3be32ed22682f8", + RADIO_TRANSMITTER = "62e9103049c018f425059f38", + HANDGUARD = "55818a104bdc2db9688b4569", + PISTOL_GRIP = "55818a684bdc2ddd698b456d", + RECEIVER = "55818a304bdc2db5418b457d", + BARREL = "555ef6e44bdc2de9068b457e", + CHARGING_HANDLE = "55818a6f4bdc2db9688b456b", + COMB_MUZZLE_DEVICE = "550aa4dd4bdc2dc9348b4569 ", + HIDEOUT_AREA_CONTAINER = "63da6da4784a55176c018dba" } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/BonusSkillType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/BonusSkillType.d.ts new file mode 100644 index 0000000..64d9c12 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/BonusSkillType.d.ts @@ -0,0 +1,7 @@ +export declare enum BonusSkillType { + PHYSICAL = "Physical", + COMBAT = "Combat", + SPECIAL = "Special", + PRACTICAL = "Practical", + MENTAL = "Mental" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/BonusType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/BonusType.d.ts new file mode 100644 index 0000000..466457f --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/BonusType.d.ts @@ -0,0 +1,33 @@ +export declare enum BonusType { + ENERGY_REGENERATION = "EnergyRegeneration", + HYDRATION_REGENERATION = "HydrationRegeneration", + HEALTH_REGENERATION = "HealthRegeneration", + EXPERIENCE_RATE = "ExperienceRate", + QUEST_MONEY_REWARD = "QuestMoneyReward", + SCAV_COOLDOWN_TIMER = "ScavCooldownTimer", + UNLOCK_ITEM_CRAFT = "UnlockItemCraft", + UNLOCK_ITEM_PASSIVE_CREATION = "UnlockItemPassiveCreation", + UNLOCK_RANDOM_ITEM_CREATION = "UnlockRandomItemCreation", + SKILL_LEVELING_BOOST = "SkillLevelingBoost", + DEBUFF_END_DELAY = "DebuffEndDelay", + RAGFAIR_COMMISSION = "RagfairCommission", + INSURANCE_RETURN_TIME = "InsuranceReturnTime", + UNLOCK_WEAPON_MODIFICATION = "UnlockWeaponModification", + UNLOCK_SCAV_PLAY = "UnlockScavPlay", + UNLOCK_ADD_OFFER = "UnlockAddOffer", + UNLOCK_ITEM_CHARGE = "UnlockItemCharge", + RECEIVE_ITEM_BONUS = "ReceiveItemBonus", + UNLOCK_UNIQUE_ID = "UnlockUniqueId", + INCREASE_CANISTER_SLOTS = "IncreaseCanisterSlots", + ADDITIONAL_SLOTS = "AdditionalSlots", + FUEL_CONSUMPTION = "FuelConsumption", + REPAIR_WEAPON_BONUS = "RepairWeaponBonus", + REPAIR_ARMOR_BONUS = "RepairArmorBonus", + UNLOCK_WEAPON_REPAIR = "UnlockWeaponRepair", + UNLOCK_ARMOR_REPAIR = "UnlockArmorRepair", + STASH_SIZE = "StashSize", + MAXIMUM_ENERGY_RESERVE = "MaximumEnergyReserve", + TEXT_BONUS = "TextBonus", + SKILL_GROUP_LEVELING_BOOST = "SkillGroupLevelingBoost", + STASH_ROWS = "StashRows" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/ConfigTypes.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/ConfigTypes.d.ts index 27340c4..646fd55 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/ConfigTypes.d.ts @@ -1,28 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/DateTime.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/DateTime.d.ts new file mode 100644 index 0000000..dcd1b5e --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/DateTime.d.ts @@ -0,0 +1,4 @@ +export declare enum DateTime { + CURR = "CURR", + PAST = "PAST" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/ELocationName.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/ELocationName.d.ts index c52ae87..bb05be5 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/enums/ELocationName.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/ELocationName.d.ts @@ -4,6 +4,7 @@ export declare enum ELocationName { BIGMAP = "bigmap", WOODS = "Woods", SHORELINE = "Shoreline", + SANDBOX = "Sandbox", INTERCHANGE = "Interchange", LIGHTHOUSE = "Lighthouse", LABORATORY = "laboratory", diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/ItemEventActions.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/ItemEventActions.d.ts index f43d4ba..f8a8b5a 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/enums/ItemEventActions.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/ItemEventActions.d.ts @@ -23,5 +23,7 @@ export declare enum ItemEventActions { REMOVE_BUILD = "RemoveBuild", SAVE_EQUIPMENT_BUILD = "SaveEquipmentBuild", REMOVE_EQUIPMENT_BUILD = "RemoveEquipmentBuild", - REDEEM_PROFILE_REWARD = "RedeemProfileReward" + REDEEM_PROFILE_REWARD = "RedeemProfileReward", + SET_FAVORITE_ITEMS = "SetFavoriteItems", + QUEST_FAIL = "QuestFail" } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/MessageType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/MessageType.d.ts index 1b0c649..33cddc8 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/enums/MessageType.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/MessageType.d.ts @@ -12,5 +12,6 @@ export declare enum MessageType { QUEST_FAIL = 11, QUEST_SUCCESS = 12, MESSAGE_WITH_ITEMS = 13, - INITIAL_SUPPORT = 14 + INITIAL_SUPPORT = 14, + BTR_ITEMS_DELIVERY = 15 } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/ModSpawn.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/ModSpawn.d.ts new file mode 100644 index 0000000..445b5ab --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/ModSpawn.d.ts @@ -0,0 +1,5 @@ +export declare enum ModSpawn { + DEFAULT_MOD = 0, + SPAWN = 1, + SKIP = 2 +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/NotificationEventType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/NotificationEventType.d.ts new file mode 100644 index 0000000..51f0d4e --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/NotificationEventType.d.ts @@ -0,0 +1,28 @@ +export declare enum NotificationEventType { + RAGFAIR_OFFER_SOLD = "RagfairOfferSold", + RAGFAIR_RATING_CHANGE = "RagfairRatingChange", + CHAT_MESSAGE_RECEIVED = "new_message", + PING = "ping", + TRADER_SUPPLY = "TraderSupply", + TRADER_STANDING = "TraderStanding", + UNLOCK_TRADER = "UnlockTrader", + GROUP_MATCH_RAID_SETTINGS = "groupMatchRaidSettings", + GROUP_MATCH_RAID_NOT_READY = "groupMatchRaidNotReady", + GROUP_MATCH_RAID_READY = "groupMatchRaidReady", + GROUP_MATCH_INVITE_ACCEPT = "groupMatchInviteAccept", + GROUP_MATCH_INVITE_DECLINE = "groupMatchInviteDecline", + GROUP_MATCH_INVITE_SEND = "groupMatchInviteSend", + GROUP_MATCH_LEADER_CHANGED = "groupMatchLeaderChanged", + GROUP_MATCH_START_GAME = "groupMatchStartGame", + GROUP_MATCH_USER_LEAVE = "groupMatchUserLeave", + GROUP_MATCH_WAS_REMOVED = "groupMatchWasRemoved", + GROUP_MATCH_USER_BAD_VERSION = "groupMatchUserHasBadVersion", + USER_CONFIRMED = "userConfirmed", + CHANNEL_DELETED = "channel_deleted", + FRIEND_LIST_REQUEST_ACCEPTED = "friendListRequestAccept", + FRIEND_LIST_REQUEST_DECLINED = "friendListRequestDecline", + FRIEND_LIST_NEW_REQUEST = "friendListNewRequest", + FRIEND_LIST_REMOVED_FROM_FRIEND_LIST = "youAreRemovedFromFriendList", + YOU_ARE_ADDED_TO_IGNORE_LIST = "YouWereAddedToIgnoreList", + YOU_ARE_REMOVED_FROM_IGNORE_LIST = "youAreRemoveFromIgnoreList" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/PlayersSpawnPlace.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/PlayersSpawnPlace.d.ts new file mode 100644 index 0000000..8a2eab6 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/PlayersSpawnPlace.d.ts @@ -0,0 +1,5 @@ +export declare enum PlayersSpawnPlace { + SAME_PLACE = "SamePlace", + DIFFERENT_PLACES = "DifferentPlaces", + AT_THE_ENDS_OF_THE_MAP = "AtTheEndsOfTheMap" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/ProfileStatus.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/ProfileStatus.d.ts new file mode 100644 index 0000000..5a4419b --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/ProfileStatus.d.ts @@ -0,0 +1,7 @@ +export declare enum ProfileStatus { + FREE = "Free", + MATCH_WAIT = "MatchWait", + BUSY = "Busy", + LEAVING = "Leaving", + TRANSFER = "Transfer" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/QuestRewardType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/QuestRewardType.d.ts index fee0ad2..3f01040 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/enums/QuestRewardType.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/QuestRewardType.d.ts @@ -8,5 +8,6 @@ export declare enum QuestRewardType { PRODUCTIONS_SCHEME = "ProductionScheme", TRADER_STANDING_RESET = "TraderStandingReset", TRADER_STANDING_RESTORE = "TraderStandingRestore", - STASH_ROWS = "StashRows" + STASH_ROWS = "StashRows", + ACHIEVEMENT = "Achievement" } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/BotAmount.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/BotAmount.d.ts similarity index 85% rename from TypeScript/23CustomAbstractChatBot/types/models/enums/BotAmount.d.ts rename to TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/BotAmount.d.ts index 9ef9cab..ad7b6f0 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/enums/BotAmount.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/BotAmount.d.ts @@ -1,5 +1,6 @@ export declare enum BotAmount { AS_ONLINE = "AsOnline", + NO_BOTS = "NoBots", LOW = "Low", MEDIUM = "Medium", HIGH = "High", diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/BotDifficulty.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/BotDifficulty.d.ts similarity index 100% rename from TypeScript/23CustomAbstractChatBot/types/models/enums/BotDifficulty.d.ts rename to TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/BotDifficulty.d.ts diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/CloudinessType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/CloudinessType.d.ts new file mode 100644 index 0000000..3bd9d9c --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/CloudinessType.d.ts @@ -0,0 +1,8 @@ +export declare enum CloudinessType { + CLEAR = "Clear", + PARTLY_CLOUDY = "PartlyCloudy", + CLOUDY = "Cloudy", + CLOUDY_WITH_GAPS = "CloudyWithGaps", + HEAVY_CLOUD_COVER = "HeavyCloudCover", + THUNDER_CLOUD = "Thundercloud" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/FogType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/FogType.d.ts new file mode 100644 index 0000000..8ee3025 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/FogType.d.ts @@ -0,0 +1,7 @@ +export declare enum FogType { + NO_FOG = "NoFog", + FAINT = "Faint", + FOG = "Fog", + HEAVY = "Heavy", + CONTINUOUS = "Continuous" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/RainType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/RainType.d.ts new file mode 100644 index 0000000..1e9a70e --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/RainType.d.ts @@ -0,0 +1,7 @@ +export declare enum RainType { + NO_RAIN = "NoRain", + DRIZZLING = "Drizzling", + RAIN = "Rain", + HEAVY = "Heavy", + SHOWER = "Shower" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/TimeFlowType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/TimeFlowType.d.ts new file mode 100644 index 0000000..b153fb5 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/TimeFlowType.d.ts @@ -0,0 +1,10 @@ +export declare enum TimeFlowType { + X0 = "x0", + X0_14 = "x0_14", + X0_25 = "x0_25", + X0_5 = "x0_5", + X1 = "x1", + X2 = "x2", + X4 = "x4", + X8 = "x8" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/WindSpeed.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/WindSpeed.d.ts new file mode 100644 index 0000000..6cc9973 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/RaidSettings/TimeAndWeather/WindSpeed.d.ts @@ -0,0 +1,7 @@ +export declare enum WindSpeed { + LIGHT = "Light", + MODERATE = "Moderate", + STRONG = "Strong", + VERY_STRONG = "VeryStrong", + HURRICANE = "Hurricane" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/Season.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/Season.d.ts new file mode 100644 index 0000000..b1d3662 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/Season.d.ts @@ -0,0 +1,7 @@ +export declare enum Season { + SUMMER = 0, + AUTUMN = 1, + WINTER = 2, + SPRING = 3, + STORM = 4 +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/SeasonalEventType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/SeasonalEventType.d.ts index d7cf037..cfea1f5 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/enums/SeasonalEventType.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/SeasonalEventType.d.ts @@ -3,5 +3,6 @@ export declare enum SeasonalEventType { CHRISTMAS = "Christmas", HALLOWEEN = "Halloween", NEW_YEARS = "NewYears", - PROMO = "Promo" + PROMO = "Promo", + SNOW = "Snow" } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/SideType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/SideType.d.ts new file mode 100644 index 0000000..faa6ff6 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/SideType.d.ts @@ -0,0 +1,5 @@ +export declare enum SideType { + PMC = "Pmc", + SAVAGE = "Savage", + RANDOM = "Random" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/SkillTypes.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/SkillTypes.d.ts index dc059a8..c41ce6f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/enums/SkillTypes.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/SkillTypes.d.ts @@ -34,7 +34,7 @@ export declare enum SkillTypes { NIGHT_OPS = "NightOps", SILENT_OPS = "SilentOps", LOCKPICKING = "Lockpicking", - /** Also called Weapon Maintenance*/ + /** Also called Weapon Maintenance */ WEAPON_TREATMENT = "WeaponTreatment", MAG_DRILLS = "MagDrills", FREE_TRADING = "Freetrading", diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/TraderServiceType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/TraderServiceType.d.ts new file mode 100644 index 0000000..f3586dc --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/TraderServiceType.d.ts @@ -0,0 +1,8 @@ +export declare enum TraderServiceType { + EXUSEC_LOYALTY = "ExUsecLoyalty", + ZRYACHIY_AID = "ZryachiyAid", + CULTISTS_AID = "CultistsAid", + BTR_ITEMS_DELIVERY = "BtrItemsDelivery", + PLAYER_TAXI = "PlayerTaxi", + BTR_BOT_COVER = "BtrBotCover" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/Traders.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/Traders.d.ts index ffea725..f7d340a 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/enums/Traders.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/Traders.d.ts @@ -7,5 +7,6 @@ export declare enum Traders { MECHANIC = "5a7c2eca46aef81a7ca2145d", RAGMAN = "5ac3b934156ae10c4430e83c", JAEGER = "5c0647fdd443bc2504c2d371", - LIGHTHOUSEKEEPER = "638f541a29ffd1183d187f57" + LIGHTHOUSEKEEPER = "638f541a29ffd1183d187f57", + BTR = "656f0f98d80a697f855d34b1" } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/WeaponTypes.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/WeaponTypes.d.ts index 867b052..b01dd66 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/enums/WeaponTypes.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/WeaponTypes.d.ts @@ -1,5 +1,6 @@ export declare enum Weapons127x55 { - ASH_12 = "5cadfbf7ae92152ac412eeef" + ASH_12 = "5cadfbf7ae92152ac412eeef", + RSH_12 = "633ec7c2a6918cb895019c6c" } export declare enum Weapons86x70 { MK_18 = "5fc22d7c187fea44d52eda44", @@ -7,14 +8,20 @@ export declare enum Weapons86x70 { } export declare enum Weapons9x39 { AS_VAL = "57c44b372459772d2b39b8ce", - VSS_VINTOREZ = "57838ad32459774a17445cd2" + VSS_VINTOREZ = "57838ad32459774a17445cd2", + KBP_9A_91 = "644674a13d52156624001fbc", + VSK_94 = "645e0c6b3b381ede770e1cc9" } export declare enum Weapons762x54R { SVDS = "5c46fbd72e2216398b5a8c9c", MP_18 = "61f7c9e189e6fb1a5e3ea78d", MOSIN_INFANTRY = "5bfd297f0db834001a669119", MOSIN_SNIPER = "5ae08f0a5acfc408fb1398a1", - SV_98 = "55801eed4bdc2d89578b4588" + SV_98 = "55801eed4bdc2d89578b4588", + AVT_40 = "6410733d5dd49d77bd07847e", + SVT_40 = "643ea5b23db6f9f57107d9fd", + PKM = "64637076203536ad5600c990", + PKP = "64ca3d3954fc657e230529cc" } export declare enum Weapons762x51 { VPO_101 = "5c501a4d2e221602b412b540", @@ -46,7 +53,9 @@ export declare enum Weapons762x39 { AKMSN = "5abcbc27d8ce8700182eceeb", MK47_MUTANT = "606587252535c57a13424cfd", RD_704 = "628a60ae6b1d481ff772e9c8", - VPO_136 = "59e6152586f77473dc057aa1" + VPO_136 = "59e6152586f77473dc057aa1", + RPD = "6513ef33e06849f06c0957ca", + RPDN = "65268d8ecb944ff1e90ea385" } export declare enum Weapons762x35 { MCX = "5fbcc1d9016cce60e8341ab3" @@ -61,7 +70,9 @@ export declare enum Weapons556x45 { M4A1 = "5447a9cd4bdc2dbd208b4567", SCARL_BLACK = "6184055050224f204c1da540", SCARL_FDE = "618428466ef05c2ce828f218", - TX15_DML = "5d43021ca4b9362eab4b5e25" + TX15_DML = "5d43021ca4b9362eab4b5e25", + AUG_A1 = "62e7c4fba689e8c9c50dfc38", + AUG_A3 = "63171672192e68c5460cebc5" } export declare enum Weapons545x39 { AK_105 = "5ac66d9b5acfc4001633997a", @@ -75,7 +86,8 @@ export declare enum Weapons545x39 { AKS_74UN = "583990e32459771419544dd2", SAG_AK = "628b5638ad252a16da6dd245", SAG_AK_SHORT = "628b9c37a733087d0d7fe84b", - RPK_16 = "5beed0f50db834001c062b12" + RPK_16 = "5beed0f50db834001c062b12", + AK_12 = "6499849fc93611967b034949" } export declare enum Weapons57x28FN { FN_57_BLACK = "5d3eb3b0a4b93615055e84d2", @@ -97,7 +109,8 @@ export declare enum Weapons9x33R { CR_50DS = "61a4c8884f95bc3b2c5dc96f" } export declare enum Weapons9x21 { - SR_1MP = "59f98b4986f7746f546d2cef" + SR_1MP = "59f98b4986f7746f546d2cef", + SR_2M = "62e14904c2699c0ec93adc47" } export declare enum Weapons9x19 { GLOCK_17 = "5a7ae0c351dfba0017554310", @@ -115,7 +128,8 @@ export declare enum Weapons9x19 { PP_19_01 = "59984ab886f7743e98271174", SAIGA_9 = "59f9cabd86f7743a10721f46", STM_9 = "60339954d62c9b14ed777c06", - VECTOR_9MM = "5fc3f2d5900b1d5091531e57" + VECTOR_9MM = "5fc3f2d5900b1d5091531e57", + GLOCK_19X = "63088377b5cd696784087147" } export declare enum Weapons9x18 { APB = "5abccb7dd8ce87001773e277", @@ -149,3 +163,10 @@ export declare enum Weapons20Gauge { export declare enum Weapons23x75 { KS_23M = "5e848cc2988a8701445df1e8" } +export declare enum Weapons68x51 { + MCX_SPEAR = "65290f395ae2ae97b80fdf2d" +} +export declare enum Weapons40x46 { + M32A1 = "6275303a9f372d6ea97f9ec7", + FN40GL = "5e81ebcd8e146c7080625e15" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/WildSpawnTypeNumber.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/WildSpawnTypeNumber.d.ts index e8a2b5e..80d737e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/enums/WildSpawnTypeNumber.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/WildSpawnTypeNumber.d.ts @@ -36,6 +36,21 @@ export declare enum WildSpawnTypeNumber { ARENAFIGHTEREVENT = 35, BOSSBOARSNIPER = 36, CRAZYASSAULTEVENT = 37, - SPTUSEC = 38, - SPTBEAR = 39 + PEACEFULLZRYACHIYEVENT = 38, + SECTACTPRIESTEVENT = 39, + RAVANGEZRYACHIYEVENT = 40, + FOLLOWERBOARCLOSE1 = 41, + FOLLOWERBOARCLOSE2 = 42, + BOSSKOLONTAY = 43, + FOLLOWERKOLONTAYASSAULT = 44, + FOLLOWERKOLONTAYSECURITY = 45, + SHOOTERBTR = 46, + SPIRITWINTER = 47, + SPIRITSPRING = 48, + PMCBEAR = 49, + PMCUSEC = 50, + skier = 51, + peacemaker = 52, + SPTUSEC = 100, + SPTBEAR = 101 } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteActivityType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteActivityType.d.ts new file mode 100644 index 0000000..7a08cc6 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteActivityType.d.ts @@ -0,0 +1,3 @@ +export declare enum QteActivityType { + GYM = 0 +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteEffectType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteEffectType.d.ts new file mode 100644 index 0000000..9ecd1a2 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteEffectType.d.ts @@ -0,0 +1,5 @@ +export declare enum QteEffectType { + FINISH_EFFECT = "FinishEffect", + SINGLE_SUCCESS_EFFECT = "SingleSuccessEffect", + SINGLE_FAIL_EFFECT = "SingleFailEffect" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteResultType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteResultType.d.ts new file mode 100644 index 0000000..05b48b8 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteResultType.d.ts @@ -0,0 +1,4 @@ +export declare enum QteResultType { + NONE = "None", + EXIT = "Exit" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteRewardType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteRewardType.d.ts new file mode 100644 index 0000000..251c2ad --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteRewardType.d.ts @@ -0,0 +1,6 @@ +export declare enum QteRewardType { + SKILL = "Skill", + HEALTH_EFFECT = "HealthEffect", + MUSCLE_PAIN = "MusclePain", + GYM_ARM_TRAUMA = "GymArmTrauma" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteType.d.ts new file mode 100644 index 0000000..4c50c0d --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/QteType.d.ts @@ -0,0 +1,3 @@ +export declare enum QteType { + SHRINKING_CIRCLE = 0 +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/RequirementType.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/RequirementType.d.ts new file mode 100644 index 0000000..834eabf --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/enums/hideout/RequirementType.d.ts @@ -0,0 +1,12 @@ +export declare enum RequirementType { + AREA = "Area", + ITEM = "Item", + TRADER_UNLOCK = "TraderUnlock", + TRADER_LOYALTY = "TraderLoyalty", + SKILL = "Skill", + RESOURCE = "Resource", + TOOL = "Tool", + QUEST_COMPLETE = "QuestComplete", + HEALTH = "Health", + BODY_PART_BUFF = "BodyPartBuff" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index cc8f7af..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "@spt-aki/models/external/tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index 44700e1..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "@spt-aki/models/external/tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/external/IPostDBLoadMod.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/external/IPostDBLoadMod.d.ts index f2f43ab..8b482b6 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/external/IPostDBLoadMod.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/external/IPostDBLoadMod.d.ts @@ -1,4 +1,4 @@ -import { DependencyContainer } from "@spt-aki/models/external/tsyringe"; +import type { DependencyContainer } from "tsyringe"; export interface IPostDBLoadMod { postDBLoad(container: DependencyContainer): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/external/IPostDBLoadModAsync.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/external/IPostDBLoadModAsync.d.ts index ed06ed5..63b55bb 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/external/IPostDBLoadModAsync.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/external/IPostDBLoadModAsync.d.ts @@ -1,4 +1,4 @@ -import { DependencyContainer } from "@spt-aki/models/external/tsyringe"; +import type { DependencyContainer } from "tsyringe"; export interface IPostDBLoadModAsync { postDBLoadAsync(container: DependencyContainer): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index e81b660..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "@spt-aki/models/external/tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 89a3e67..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "@spt-aki/models/external/tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/bindings/Route.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/BotGenerationDetails.d.ts index 26571a2..3977ee5 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,3 +1,4 @@ +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; @@ -6,13 +7,20 @@ export interface BotGenerationDetails { /** Side of bot */ side: string; /** Active players current level */ - playerLevel: number; - /** Delta of highest level of bot */ + playerLevel?: number; + playerName?: string; + /** Level specific overrides for PMC level */ + locationSpecificPmcLevelOverride?: MinMax; + /** Delta of highest level of bot e.g. 50 means 50 levels above player */ botRelativeLevelDeltaMax: number; + /** Delta of lowest level of bot e.g. 50 means 50 levels below player */ + botRelativeLevelDeltaMin: number; /** How many to create and store */ botCountToGenerate: number; /** Desired difficulty of the bot */ botDifficulty: string; /** Will the generated bot be a player scav */ isPlayerScav: boolean; + eventRole?: string; + allPmcsHaveSameNameAsPlayer?: boolean; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/IBotLootCache.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/IBotLootCache.d.ts index 58a1bd1..529c2cd 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/IBotLootCache.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/IBotLootCache.d.ts @@ -1,23 +1,30 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; export interface IBotLootCache { - backpackLoot: ITemplateItem[]; - pocketLoot: ITemplateItem[]; - vestLoot: ITemplateItem[]; - combinedPoolLoot: ITemplateItem[]; - specialItems: ITemplateItem[]; - healingItems: ITemplateItem[]; - drugItems: ITemplateItem[]; - stimItems: ITemplateItem[]; - grenadeItems: ITemplateItem[]; + backpackLoot: Record; + pocketLoot: Record; + vestLoot: Record; + secureLoot: Record; + combinedPoolLoot: Record; + specialItems: Record; + healingItems: Record; + drugItems: Record; + foodItems: Record; + drinkItems: Record; + currencyItems: Record; + stimItems: Record; + grenadeItems: Record; } export declare enum LootCacheType { SPECIAL = "Special", BACKPACK = "Backpack", POCKET = "Pocket", VEST = "Vest", + SECURE = "SecuredContainer", COMBINED = "Combined", HEALING_ITEMS = "HealingItems", DRUG_ITEMS = "DrugItems", STIM_ITEMS = "StimItems", - GRENADE_ITEMS = "GrenadeItems" + GRENADE_ITEMS = "GrenadeItems", + FOOD_ITEMS = "FoodItems", + DRINK_ITEMS = "DrinkItems", + CURRENCY_ITEMS = "CurrencyItems" } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/IChooseRandomCompatibleModResult.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/IChooseRandomCompatibleModResult.d.ts new file mode 100644 index 0000000..6ba6630 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/IChooseRandomCompatibleModResult.d.ts @@ -0,0 +1,7 @@ +export interface IChooseRandomCompatibleModResult { + incompatible: boolean; + found?: boolean; + chosenTpl?: string; + reason: string; + slotBlocked?: boolean; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/IItemSpawnLimitSettings.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/IItemSpawnLimitSettings.d.ts new file mode 100644 index 0000000..ca3e6a6 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/bots/IItemSpawnLimitSettings.d.ts @@ -0,0 +1,4 @@ +export interface IItemSpawnLimitSettings { + currentLimits: Record; + globalLimits: Record; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/INotifierCallbacks.d.ts index 60b3695..9f1fae1 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileRequestData } from "@spt-aki/models/eft/notifier/ISelectProfileRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back @@ -12,6 +12,6 @@ export interface INotifierCallbacks { 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; + selectProfile(url: string, info: IUIDRequestData, sessionID: string): IGetBodyResponseData; notify(url: string, info: any, sessionID: string): string; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IAirdropConfig.d.ts index 1975cf7..d438f00 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ @@ -33,11 +33,14 @@ export interface AirdropChancePercent { interchange: number; reserve: number; tarkovStreets: number; + sandbox: number; } /** Loot inside crate */ export interface AirdropLoot { /** Min/max of weapons inside crate */ - presetCount?: MinMax; + weaponPresetCount?: MinMax; + /** Min/max of armors (head/chest/rig) inside crate */ + armorPresetCount?: MinMax; /** Min/max of items inside crate */ itemCount: MinMax; /** Min/max of sealed weapon boxes inside crate */ diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBTRConfig.d.ts new file mode 100644 index 0000000..123c507 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBTRConfig.d.ts @@ -0,0 +1,13 @@ +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "./IBaseConfig"; +export interface IBTRConfig extends IBaseConfig { + kind: "spt-btr"; + /** How fast the BTR moves */ + moveSpeed: number; + /** How long the cover fire service lasts for */ + coverFireTime: number; + /** How long the BTR waits at every point in its path */ + pointWaitTime: MinMax; + /** How long after purchasing the taxi service before the BTR leaves */ + taxiWaitTime: number; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBaseConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBaseConfig.d.ts index 8b6ba88..8780d43 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBaseConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBaseConfig.d.ts @@ -1,3 +1,7 @@ export interface IBaseConfig { kind: string; } +export interface IRunIntervalValues { + inRaid: number; + outOfRaid: number; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBotConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBotConfig.d.ts index 517ec27..dd9c1cc 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBotConfig.d.ts @@ -1,19 +1,19 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; + /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ + botsToNotAddPMCsAsEnemiesTo: string[]; /** What bot types should be classified as bosses */ bosses: string[]; /** Control weapon/armor durability min/max values for each bot type */ durability: IBotDurability; /** Controls the percentage values of randomization item resources */ lootItemResourceRandomization: Record; - /** Control the weighting of how expensive an average loot item is on a PMC or Scav */ - lootNValue: LootNvalue; /** Control what bots are added to a bots revenge list key: bottype, value: bottypes to revenge on seeing their death */ revenge: Record; /** Control how many items are allowed to spawn on a bot @@ -33,6 +33,12 @@ export interface IBotConfig extends IBaseConfig { chanceAssaultScavHasPlayerScavName: number; /** How many stacks of secret ammo should a bot have in its bot secure container */ secureContainerAmmoStackCount: number; + /** Bot roles in this array will be given a dog tag on generation */ + botRolesWithDogTags: string[]; + /** Settings to control the items that get added into wallets on bots */ + walletLoot: IWalletLootSettings; + /** Currency weights, Keyed by botrole / currency */ + currencyStackSize: Record>>; } /** Number of bots to generate and store in cache on raid start per bot type */ export interface PresetBatch { @@ -73,9 +79,14 @@ export interface PresetBatch { sptUsec: number; sptBear: number; } -export interface LootNvalue { - scav: number; - pmc: number; +export interface IWalletLootSettings { + /** Chance wallets have loot in them */ + chancePercent: number; + itemCount: MinMax; + stackSizeWeight: Record; + currencyWeight: Record; + /** What wallets will have money in them */ + walletTplPool: string[]; } export interface EquipmentFilters { /** Limits for mod types per weapon .e.g. scopes */ @@ -94,6 +105,11 @@ export interface EquipmentFilters { nvgIsActiveChanceDayPercent?: number; /** Chance NODS are down/active during the night */ nvgIsActiveChanceNightPercent?: number; + forceOnlyArmoredRigWhenNoArmor?: boolean; + /** Should plates be filtered by level */ + filterPlatesByLevel?: boolean; + /** What additional slot ids should be seen as required when choosing a mod to add to a weapon */ + weaponSlotIdsToMakeRequired?: string[]; /** Adjust weighting/chances of items on bot by level of bot */ randomisation: RandomisationDetails[]; /** Blacklist equipment by level of bot */ @@ -105,7 +121,8 @@ export interface EquipmentFilters { /** Same as weightingAdjustments but based on player level instead of bot level */ weightingAdjustmentsByPlayerLevel?: WeightingAdjustmentDetails[]; /** Should the stock mod be forced to spawn on bot */ - forceStock: boolean; + forceStock?: boolean; + armorPlateWeighting?: IArmorPlateWeights[]; } export interface ModLimits { /** How many scopes are allowed on a weapon - hard coded to work with OPTIC_SCOPE, ASSAULT_SCOPE, COLLIMATOR, COMPACT_COLLIMATOR */ @@ -117,14 +134,16 @@ export interface RandomisationDetails { /** Between what levels do these randomisation setting apply to */ levelRange: MinMax; generation?: Record; - /** Mod slots that should be fully randomisate -ignores mods from bottype.json */ + /** Mod slots that should be fully randomised -ignores mods from bottype.json and instaed creates a pool using items.json */ randomisedWeaponModSlots?: string[]; /** Armor slots that should be randomised e.g. 'Headwear, Armband' */ randomisedArmorSlots?: string[]; /** Equipment chances */ equipment?: Record; - /** Mod chances */ - mods?: Record; + /** Weapon mod chances */ + weaponMods?: Record; + /** Equipment mod chances */ + equipmentMods?: Record; } export interface EquipmentFilterDetails { /** Between what levels do these equipment filter setting apply to */ @@ -138,22 +157,25 @@ export interface WeightingAdjustmentDetails { /** Between what levels do these weight settings apply to */ levelRange: MinMax; /** Key: ammo type e.g. Caliber556x45NATO, value: item tpl + weight */ - ammo?: AdjustmentDetails; + ammo?: IAdjustmentDetails; /** Key: equipment slot e.g. TacticalVest, value: item tpl + weight */ - equipment?: AdjustmentDetails; + equipment?: IAdjustmentDetails; /** Key: clothing slot e.g. feet, value: item tpl + weight */ - clothing?: AdjustmentDetails; + clothing?: IAdjustmentDetails; } -export interface AdjustmentDetails { +export interface IAdjustmentDetails { add: Record>; edit: Record>; } +export interface IArmorPlateWeights extends Record { + levelRange: MinMax; +} export interface IRandomisedResourceDetails { food: IRandomisedResourceValues; meds: IRandomisedResourceValues; } export interface IRandomisedResourceValues { - /** Minimum percent of item to randomized between min and max resource*/ + /** Minimum percent of item to randomized between min and max resource */ resourcePercent: number; /** Chance for randomization to not occur */ chanceMaxResourcePercent: number; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBotDurability.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBotDurability.d.ts index a4ff53c..728db97 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBotDurability.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IBotDurability.d.ts @@ -7,6 +7,9 @@ export interface IBotDurability { cursedassault: BotDurability; marksman: BotDurability; pmcbot: BotDurability; + arenafighterevent: BotDurability; + arenafighter: BotDurability; + crazyassaultevent: BotDurability; exusec: BotDurability; gifter: BotDurability; sectantpriest: BotDurability; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ICoreConfig.d.ts index 68fbc14..755b308 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ICoreConfig.d.ts @@ -1,12 +1,15 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; profileSaveIntervalSeconds: number; sptFriendNickname: string; + allowProfileWipe: boolean; + bsgLogging: IBsgLogging; + release: IRelease; fixes: IGameFixes; features: IServerFeatures; /** Commit hash build server was created from */ @@ -14,10 +17,41 @@ export interface ICoreConfig extends IBaseConfig { /** Timestamp of server build */ buildTime?: string; } +export interface IBsgLogging { + /** + * verbosity of what to log, yes I know this is backwards, but its how nlog deals with ordinals. + * complain to them about it! In all cases, better exceptions will be logged. + * WARNING: trace-info logging will quickly create log files in the megabytes. + * 0 - trace + * 1 - debug + * 2 - info + * 3 - warn + * 4 - error + * 5 - fatal + * 6 - off + */ + verbosity: number; + sendToServer: boolean; +} +export interface IRelease { + betaDisclaimerText?: string; + betaDisclaimerAcceptText: string; + serverModsLoadedText: string; + serverModsLoadedDebugText: string; + clientModsLoadedText: string; + clientModsLoadedDebugText: string; + illegalPluginsLoadedText: string; + illegalPluginsExceptionText: string; + releaseSummaryText?: string; + isBeta?: boolean; + isModdable?: boolean; + isModded: boolean; + betaDisclaimerTimeoutDelay: number; +} export interface IGameFixes { /** Shotguns use a different value than normal guns causing huge pellet dispersion */ fixShotgunDispersion: boolean; - /** Remove items added by mods when the mod no longer exists - can fix dead profiles stuck at game load*/ + /** Remove items added by mods when the mod no longer exists - can fix dead profiles stuck at game load */ removeModItemsFromProfile: boolean; /** Fix issues that cause the game to not start due to inventory item issues */ fixProfileBreakingInventoryItemIssues: boolean; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IHideoutConfig.d.ts index 5386fb3..c1967c0 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IHideoutConfig.d.ts @@ -1,7 +1,14 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; + /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; + /** Default values used to hydrate `runIntervalSeconds` with */ + runIntervalValues: IRunIntervalValues; hoursForSkillCrafting: number; expCraftAmount: number; + overrideCraftTimeSeconds: number; + overrideBuildTimeSeconds: number; + /** Only process a profiles hideout crafts when it has been active in the last x minutes */ + updateProfileHideoutWhenActiveWithinMinutes: number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IHttpConfig.d.ts index 9007245..0f42e77 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IHttpConfig.d.ts @@ -1,10 +1,14 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - webSocketPingDelayMs: number; - kind: "aki-http"; + kind: "spt-http"; + /** Address used by webserver */ ip: string; port: number; + /** Address used by game client to connect to */ + backendIp: string; + backendPort: string; + webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IInRaidConfig.d.ts index 5b60526..7d6befd 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; @@ -16,8 +16,12 @@ export interface IInRaidConfig extends IBaseConfig { coopExtractBaseStandingGain: number; /** Fence rep gain when successfully extracting as pscav */ scavExtractGain: number; + /** The likelihood of PMC eliminating a minimum of 2 scavs while you engage them as a pscav. */ + pmcKillProbabilityForScavGain: number; /** On death should items in your secure keep their Find in raid status regardless of how you finished the raid */ keepFiRSecureContainerOnDeath: boolean; + /** Percentage chance a player scav hot is hostile to the player when scavving */ + playerScavHostileChancePercent: number; } export interface RaidMenuSettings { aiAmount: string; @@ -26,9 +30,10 @@ export interface RaidMenuSettings { scavWars: boolean; taggedAndCursed: boolean; enablePve: boolean; + randomWeather: boolean; + randomTime: boolean; } export interface Save { /** Should loot gained from raid be saved */ loot: boolean; - durability: boolean; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IInsuranceConfig.d.ts index ffd0245..a5056a5 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,14 +1,18 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ returnChancePercent: Record; /** Item slots that should never be returned as insurance */ blacklistedEquipment: string[]; + /** Some slots should always be removed, e.g. 'cartridges' */ + slotIdsToAlwaysRemove: string[]; /** Override to control how quickly insurance is processed/returned in second */ returnTimeOverrideSeconds: number; /** How often server should process insurance in seconds */ runIntervalSeconds: number; + minAttachmentRoublePriceToBeTaken: number; + chanceNoAttachmentsTakenPercent: number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IInventoryConfig.d.ts index 6f1498d..b489393 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IInventoryConfig.d.ts @@ -1,13 +1,15 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; sealedAirdropContainer: ISealedAirdropContainerSettings; /** Contains item tpls that the server should consider money and treat the same as roubles/euros/dollars */ customMoneyTpls: string[]; + /** Multipliers for skill gain when inside menus, NOT in-game */ + skillGainMultiplers: Record; } export interface RewardDetails { rewardCount: number; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IItemConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IItemConfig.d.ts index 506ee76..0530278 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IItemConfig.d.ts @@ -1,8 +1,11 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; + /** items that should not be given as rewards */ + rewardItemBlacklist: string[]; /** Items that can only be found on bosses */ bossItems: string[]; + handbookPriceOverride: Record; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILocaleConfig.d.ts index 78e1cfb..c3de13e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILocaleConfig.d.ts @@ -1,10 +1,13 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ serverLocale: string; /** Languages server can be translated into */ serverSupportedLocales: string[]; + fallbacks: { + [locale: string]: string; + }; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILocationConfig.d.ts index 5c804a4..1e113b2 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ @@ -21,23 +21,34 @@ export interface ILocationConfig extends IBaseConfig { fitLootIntoContainerAttempts: number; /** Add all possible zones to each maps `OpenZones` property */ addOpenZonesToAllMaps: boolean; - /** Allow addition of custom bot waves designed by SPT to be added to maps - defined in configs/location.json.customWaves*/ + /** Allow addition of custom bot waves designed by SPT to be added to maps - defined in configs/location.json.customWaves */ addCustomBotWavesToMaps: boolean; /** Should the limits defined inside botTypeLimits to appled to locations on game start */ enableBotTypeLimits: boolean; - /** Add limits to a locations base.MinMaxBots array if enableBotTypeLimits is true*/ + /** Add limits to a locations base.MinMaxBots array if enableBotTypeLimits is true */ botTypeLimits: Record; /** container randomisation settings */ containerRandomisationSettings: IContainerRandomistionSettings; - /** How full must a random loose magazine be %*/ + /** How full must a random loose magazine be % */ minFillLooseMagazinePercent: number; - /** How full must a random static magazine be %*/ + /** How full must a random static magazine be % */ minFillStaticMagazinePercent: number; allowDuplicateItemsInStaticContainers: boolean; + /** Chance loose magazines have ammo in them TODO - rename to dynamicMagazineLootHasAmmoChancePercent */ + magazineLootHasAmmoChancePercent: number; + /** Chance static magazines have ammo in them */ + staticMagazineLootHasAmmoChancePercent: number; /** Key: map, value: loose loot ids to ignore */ looseLootBlacklist: Record; - /** Key: map, value: settings to control how long scav raids are*/ + /** Key: map, value: settings to control how long scav raids are */ scavRaidTimeSettings: IScavRaidTimeSettings; + /** Settings to adjust mods for lootable equipment in raid */ + equipmentLootSettings: IEquipmentLootSettings; + /** Sets the max Patrol Value of the Boxzone on the map Ground Zero */ + sandboxMaxPatrolvalue: number; +} +export interface IEquipmentLootSettings { + modSpawnChancePercent: Record; } export interface IFixEmptyBotWavesSettings { enabled: boolean; @@ -78,6 +89,7 @@ export interface LootMultiplier { tarkovstreets: number; terminal: number; town: number; + sandbox: number; } export interface IContainerRandomistionSettings { enabled: boolean; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILootConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILostOnDeathConfig.d.ts index ad7e7b9..8574646 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ @@ -16,6 +16,7 @@ export interface Equipment { ArmorVest: boolean; Eyewear: boolean; TacticalVest: boolean; + PocketItems: boolean; Backpack: boolean; Holster: boolean; FirstPrimaryWeapon: boolean; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IPlayerScavConfig.d.ts index 7f587e0..8834768 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { @@ -9,7 +9,7 @@ export interface KarmaLevel { modifiers: Modifiers; itemLimits: ItemLimits; equipmentBlacklist: Record; - labsAccessCardChancePercent: number; + lootItemsToAddChancePercent: Record; } export interface Modifiers { equipment: Record; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IPmcConfig.d.ts index d67e6c2..00fabb3 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ @@ -13,7 +13,6 @@ export interface IPmcConfig extends IBaseConfig { pocketLoot: SlotLootSettings; /** Global whitelist/blacklist of backpack loot for PMCs */ backpackLoot: SlotLootSettings; - dynamicLoot: DynamicLoot; /** Use difficulty defined in config/bot.json/difficulty instead of chosen difficulty dropdown value */ useDifficultyOverride: boolean; /** Difficulty override e.g. "AsOnline/Hard" */ @@ -42,10 +41,14 @@ export interface IPmcConfig extends IBaseConfig { enemyTypes: string[]; /** How many levels above player level can a PMC be */ botRelativeLevelDeltaMax: number; + /** How many levels below player level can a PMC be */ + botRelativeLevelDeltaMin: number; /** Force a number of healing items into PMCs secure container to ensure they can heal */ forceHealingItemsIntoSecure: boolean; - addPrefixToSameNamePMCAsPlayerChance: number; allPMCsHavePlayerNameWithRandomPrefixChance: number; + locationSpecificPmcLevelOverride: Record; + /** Should secure container loot from usec.json/bear.json be added to pmc bots secure */ + addSecureContainerLootFromBotConfig: boolean; } export interface PmcTypes { usec: string; @@ -54,8 +57,4 @@ export interface PmcTypes { export interface SlotLootSettings { whitelist: string[]; blacklist: string[]; - moneyStackLimits: Record; -} -export interface DynamicLoot { - moneyStackLimits: Record; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IRagfairConfig.d.ts index 14d77f1..bb318de 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IRagfairConfig.d.ts @@ -1,12 +1,14 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; + /** Default values used to hydrate `runIntervalSeconds` with */ + runIntervalValues: IRunIntervalValues; /** Player listing settings */ sell: Sell; - /** Trader ids + should their assorts be listed on flea*/ + /** Trader ids + should their assorts be listed on flea */ traders: Record; dynamic: Dynamic; } @@ -16,10 +18,8 @@ export interface Sell { /** Settings to control chances of offer being sold */ chance: Chance; /** Settings to control how long it takes for a player offer to sell */ - time: Time; - /** Player offer reputation gain/loss settings */ - reputation: Reputation; - /**Seconds from clicking remove to remove offer from market */ + time: MinMax; + /** Seconds from clicking remove to remove offer from market */ expireSeconds: number; } export interface Chance { @@ -32,13 +32,6 @@ export interface Chance { /** Min possible sell chance % for a player listed offer */ minSellChancePercent: number; } -export interface Time extends MinMax { - base: number; -} -export interface Reputation { - gain: number; - loss: number; -} export interface Dynamic { purchasesAreFoundInRaid: boolean; /** Use the highest trader price for an offer if its greater than the price in templates/prices.json */ @@ -65,6 +58,10 @@ export interface Dynamic { nonStackableCount: MinMax; /** Range of rating offers for items being listed */ rating: MinMax; + /** Armor specific flea settings */ + armor: IArmorSettings; + /** A multipler to apply to individual tpls price just prior to item quality adjustment */ + itemPriceMultiplier: Record; /** Percentages to sell offers in each currency */ currencies: Record; /** Item tpls that should be forced to sell as a single item */ @@ -82,8 +79,6 @@ export interface IPriceRanges { pack: MinMax; } export interface IBarterDetails { - /** Should barter offers be generated */ - enable: boolean; /** Percentage change an offer is listed as a barter */ chancePercent: number; /** Min number of required items for a barter requirement */ @@ -98,8 +93,6 @@ export interface IBarterDetails { itemTypeBlacklist: string[]; } export interface IPackDetails { - /** Should pack offers be generated */ - enable: boolean; /** Percentage change an offer is listed as a pack */ chancePercent: number; /** Min number of required items for a pack */ @@ -119,9 +112,11 @@ export interface OfferAdjustment { /** What is the minimum rouble price to consider adjusting price of item */ priceThreshholdRub: number; } -export interface Condition extends MinMax { +export interface Condition { /** Percentage change durability is altered */ conditionChance: number; + current: MinMax; + max: MinMax; } export interface Blacklist { /** Damaged ammo packs */ @@ -134,9 +129,30 @@ export interface Blacklist { enableQuestList: boolean; /** Should trader items that are blacklisted by bsg be listed on flea */ traderItems: boolean; + /** Maximum level an armor plate can be found in a flea-listed armor item */ + armorPlate: IArmorPlateBlacklistSettings; + /** Should specific categories be blacklisted from the flea, true = use blacklist */ + enableCustomItemCategoryList: boolean; + /** Custom category blacklist for parent Ids */ + customItemCategoryList: string[]; +} +export interface IArmorPlateBlacklistSettings { + /** Max level of plates an armor can have without being removed */ + maxProtectionLevel: number; + /** Item slots to NOT remove from items on flea */ + ignoreSlots: string[]; } export interface IUnreasonableModPrices { + /** Enable a system that adjusts very high ragfair prices to be below a max multiple of items the handbook values */ enabled: boolean; + /** Multipler to start adjusting item values from, e.g. a value of 10 means any value over 10x the handbook price gets adjusted */ handbookPriceOverMultiplier: number; + /** The new multiplier for items found using above property, e.g. a value of 4 means set items price to 4x handbook price */ newPriceHandbookMultiplier: number; } +export interface IArmorSettings { + /** % chance / 100 that armor plates will be removed from an offer before listing */ + removeRemovablePlateChance: number; + /** What slots are to be removed when removeRemovablePlateChance is true */ + plateSlotIdToRemovePool: string[]; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ISeasonalEventConfig.d.ts index 4ac903b..da7070b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,11 +1,14 @@ -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; events: ISeasonalEvent[]; + eventBotMapping: Record; + eventBossSpawns: Record>; gifterSettings: GifterSetting[]; } export interface ISeasonalEvent { diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ITraderConfig.d.ts index 29b3d2d..a8c969c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/ITraderConfig.d.ts @@ -1,33 +1,38 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; + /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ + tradersResetFromServerStart: boolean; updateTimeDefault: number; traderPriceMultipler: number; - /** Keep track of purchased trader-limited items beyond server restarts to prevent server-restart item scumming */ - persistPurchaseDataInProfile: boolean; fence: FenceConfig; } export interface UpdateTime { traderId: string; - seconds: number; + /** Seconds between trader resets */ + seconds: MinMax; } export interface FenceConfig { discountOptions: DiscountOptions; partialRefreshTimeSeconds: number; partialRefreshChangePercent: number; assortSize: number; - maxPresetsPercent: number; + weaponPresetMinMax: MinMax; + equipmentPresetMinMax: MinMax; itemPriceMult: number; presetPriceMult: number; - armorMaxDurabilityPercentMinMax: MinMax; - presetMaxDurabilityPercentMinMax: MinMax; + armorMaxDurabilityPercentMinMax: IItemDurabilityCurrentMax; + weaponDurabilityPercentMinMax: IItemDurabilityCurrentMax; + chancePlateExistsInArmorPercent: number; /** Key: item tpl */ itemStackSizeOverrideMinMax: Record; itemTypeLimits: Record; + /** Prevent duplicate offers of items of specific categories by parentId */ + preventDuplicateOffersOfCategory: string[]; regenerateAssortsOnRefresh: boolean; /** Max rouble price before item is not listed on flea */ itemCategoryRoublePriceLimit: Record; @@ -35,8 +40,15 @@ export interface FenceConfig { presetSlotsToRemoveChancePercent: Record; /** Block seasonal items from appearing when season is inactive */ blacklistSeasonalItems: boolean; + /** Max pen value allowed to be listed on flea - affects ammo + ammo boxes */ + ammoMaxPenLimit: number; blacklist: string[]; coopExtractGift: CoopExtractReward; + btrDeliveryExpireHours: number; +} +export interface IItemDurabilityCurrentMax { + current: MinMax; + max: MinMax; } export interface CoopExtractReward extends LootRequest { sendGift: boolean; @@ -47,4 +59,6 @@ export interface DiscountOptions { assortSize: number; itemPriceMult: number; presetPriceMult: number; + weaponPresetMinMax: MinMax; + equipmentPresetMinMax: MinMax; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IWeatherConfig.d.ts index 10f5459..970ade5 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/config/IWeatherConfig.d.ts @@ -1,10 +1,21 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; + seasonDates: ISeasonDateTimes[]; + overrideSeason?: Season; +} +export interface ISeasonDateTimes { + seasonType: Season; + name: string; + startDay: number; + startMonth: number; + endDay: number; + endMonth: number; } export interface Weather { clouds: WeatherSettings; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/controllers/IBotController.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/dialog/ISendMessageDetails.d.ts index 2068ede..379b032 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; @@ -30,7 +30,15 @@ export interface ISendMessageDetails { } export interface IProfileChangeEvent { _id: string; - Type: "TraderSalesSum" | "TraderStanding" | "ProfileLevel" | "SkillPoints" | "ExamineAllItems" | "UnlockTrader"; + Type: ProfileChangeEventType; value: number; entity?: string; } +export declare enum ProfileChangeEventType { + TRADER_SALES_SUM = "TraderSalesSum", + TRADER_STANDING = "TraderStanding", + PROFILE_LEVEL = "ProfileLevel", + SKILL_POINTS = "SkillPoints", + EXAMINE_ALL_ITEMS = "ExamineAllItems", + UNLOCK_TRADER = "UnlockTrader" +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/fence/ICreateFenceAssortsResult.d.ts new file mode 100644 index 0000000..553f4e2 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -0,0 +1,7 @@ +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +export interface ICreateFenceAssortsResult { + sptItems: Item[][]; + barter_scheme: Record; + loyal_level_items: Record; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/fence/IFenceAssortGenerationValues.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/fence/IFenceAssortGenerationValues.d.ts new file mode 100644 index 0000000..dea4726 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/fence/IFenceAssortGenerationValues.d.ts @@ -0,0 +1,9 @@ +export interface IFenceAssortGenerationValues { + normal: IGenerationAssortValues; + discount: IGenerationAssortValues; +} +export interface IGenerationAssortValues { + item: number; + weaponPreset: number; + equipmentPreset: number; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/IBotGenerator.d.ts index 8c0b979..e46ce24 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/IBotGenerator.d.ts @@ -1,10 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/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/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/ILocationGenerator.d.ts index 347d5fa..2df98e7 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/tables/ILootBase"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/logging/LogTextColor.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/logging/LogTextColor.d.ts index 6c7abf3..aefca2a 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/logging/LogTextColor.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/logging/LogTextColor.d.ts @@ -7,5 +7,5 @@ export declare enum LogTextColor { MAGENTA = "magenta", CYAN = "cyan", WHITE = "white", - GRAY = "" + GRAY = "gray" } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/mod/IPackageJsonData.d.ts index b07d00e..d21e5f1 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/mod/IPackageJsonData.d.ts @@ -5,9 +5,10 @@ export interface IPackageJsonData { dependencies?: Record; modDependencies?: Record; name: string; + url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/server/ExhaustableArray.d.ts new file mode 100644 index 0000000..2419acf --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/server/ExhaustableArray.d.ts @@ -0,0 +1,17 @@ +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +export declare class ExhaustableArray implements IExhaustableArray { + private itemPool; + private randomUtil; + private cloner; + private pool; + constructor(itemPool: T[], randomUtil: RandomUtil, cloner: ICloner); + getRandomValue(): T; + getFirstValue(): T; + hasValues(): boolean; +} +export interface IExhaustableArray { + getRandomValue(): T; + getFirstValue(): T; + hasValues(): boolean; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/server/IDatabaseTables.d.ts index 98a0dbd..3a98412 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { ILootBase } from "@spt-aki/models/eft/common/tables/ILootBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IEquipmentBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; @@ -36,7 +36,6 @@ export interface IDatabaseTables { }; locales?: ILocaleBase; locations?: ILocations; - loot?: ILootBase; match?: IMatch; templates?: { character: string[]; @@ -50,7 +49,9 @@ export interface IDatabaseTables { /** Flea prices of items - gathered from online flea market dump */ prices: Record; /** Default equipment loadouts that show on main inventory screen */ - defaultEquipmentPresets: IEquipmentBuild[]; + defaultEquipmentPresets: IDefaultEquipmentPreset[]; + /** Achievements */ + achievements: IAchievement[]; }; traders?: Record; globals?: IGlobals; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/server/ILocations.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/server/ILocations.d.ts index 9987d8c..500efcc 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/server/ILocations.d.ts @@ -1,26 +1,24 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/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; + bigmap?: ILocation; + develop?: ILocation; + factory4_day?: ILocation; + factory4_night?: ILocation; + hideout?: ILocation; + interchange?: ILocation; + laboratory?: ILocation; + lighthouse?: ILocation; + privatearea?: ILocation; + rezervbase?: ILocation; + shoreline?: ILocation; + suburbs?: ILocation; + tarkovstreets?: ILocation; + terminal?: ILocation; + town?: ILocation; + woods?: ILocation; + sandbox?: ILocation; + sandbox_high?: ILocation; + /** Holds a mapping of the linkages between locations on the UI */ base?: ILocationsBase; } -export interface ILocationData { - base: ILocationBase; - looseLoot?: ILooseLoot; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/services/CustomPreset.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/services/IInsuranceEquipmentPkg.d.ts new file mode 100644 index 0000000..92d0565 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -0,0 +1,8 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +export interface IInsuranceEquipmentPkg { + sessionID: string; + pmcData: IPmcData; + itemToReturnToPlayer: Item; + traderId: string; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/services/ITraderServiceModel.d.ts new file mode 100644 index 0000000..165b65c --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/services/ITraderServiceModel.d.ts @@ -0,0 +1,18 @@ +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; +export interface ITraderServiceModel { + serviceType: TraderServiceType; + itemsToPay?: { + [key: string]: number; + }; + itemsToReceive?: string[]; + subServices?: { + [key: string]: number; + }; + requirements?: ITraderServiceRequirementsModel; +} +export interface ITraderServiceRequirementsModel { + completedQuests?: string[]; + standings?: { + [key: string]: number; + }; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/services/LootRequest.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/services/LootRequest.d.ts index f277553..9f028a6 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/services/LootRequest.d.ts @@ -1,6 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { - presetCount: MinMax; + weaponPresetCount: MinMax; + armorPresetCount: MinMax; itemCount: MinMax; weaponCrateCount: MinMax; itemBlacklist: string[]; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/utils/ILogger.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/23CustomAbstractChatBot/types/models/spt/utils/IUuidGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/models/spt/utils/IUuidGenerator.d.ts deleted file mode 100644 index 3870469..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/models/spt/utils/IUuidGenerator.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IUUidGenerator { - generate(): string; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/EventOutputHolder.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/EventOutputHolder.d.ts index 8ee10ef..a943e2b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/EventOutputHolder.d.ts @@ -1,19 +1,19 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { - protected jsonUtil: JsonUtil; protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; + protected cloner: ICloner; /** What has client been informed of this game session */ protected clientActiveSessionStorage: Record; - constructor(jsonUtil: JsonUtil, profileHelper: ProfileHelper, timeUtil: TimeUtil); + constructor(profileHelper: ProfileHelper, timeUtil: TimeUtil, cloner: ICloner); protected output: IItemEventRouterResponse; getOutput(sessionID: string): IItemEventRouterResponse; /** diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/HttpRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/HttpRouter.d.ts index 875182d..3fdb53f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/HttpRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/HttpRouter.d.ts @@ -1,13 +1,13 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/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; + getResponse(req: IncomingMessage, info: any, sessionID: string): Promise; + protected handleRoute(url: string, info: any, sessionID: string, wrapper: ResponseWrapper, routers: Router[], dynamic: boolean): Promise; } declare class ResponseWrapper { output: string; diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/ImageRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/ImageRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/ItemEventRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/ItemEventRouter.d.ts index 6c770ec..f8043c0 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/ItemEventRouter.d.ts @@ -1,21 +1,23 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; protected itemEventRouters: ItemEventRouterDefinition[]; protected localisationService: LocalisationService; protected eventOutputHolder: EventOutputHolder; - constructor(logger: ILogger, profileHelper: ProfileHelper, itemEventRouters: ItemEventRouterDefinition[], localisationService: LocalisationService, eventOutputHolder: EventOutputHolder); + protected cloner: ICloner; + constructor(logger: ILogger, profileHelper: ProfileHelper, itemEventRouters: ItemEventRouterDefinition[], localisationService: LocalisationService, eventOutputHolder: EventOutputHolder, cloner: ICloner); /** * @param info Event request * @param sessionID Session id * @returns Item response */ - handleEvents(info: IItemEventRouterRequest, sessionID: string): IItemEventRouterResponse; + handleEvents(info: IItemEventRouterRequest, sessionID: string): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/CustomizationItemEventRouter.d.ts index 473c8ed..c9babf3 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,10 +1,10 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; + handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/HealthItemEventRouter.d.ts index 5243153..490884f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,10 +1,10 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; + handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/HideoutItemEventRouter.d.ts index 8775212..6839fee 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,10 +1,10 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; + handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/InsuranceItemEventRouter.d.ts index f2c9ab6..af2b3dc 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,10 +1,10 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; + handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/InventoryItemEventRouter.d.ts index cb93d29..660de81 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,12 +1,12 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; constructor(inventoryCallbacks: InventoryCallbacks, hideoutCallbacks: HideoutCallbacks); getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; + handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/NoteItemEventRouter.d.ts index 35907cc..b415c3a 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; + handleItemEvent(url: string, pmcData: IPmcData, body: INoteActionData, sessionID: string): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/PresetBuildItemEventRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/PresetBuildItemEventRouter.d.ts deleted file mode 100644 index d5dbf9d..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/PresetBuildItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { PresetBuildCallbacks } from "@spt-aki/callbacks/PresetBuildCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -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/TypeScript/23CustomAbstractChatBot/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/QuestItemEventRouter.d.ts index 32715e5..1ce94f9 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,12 +1,12 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/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; + handleItemEvent(eventAction: string, pmcData: IPmcData, body: any, sessionID: string): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/RagfairItemEventRouter.d.ts index b8cf48c..09cdbf6 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,10 +1,10 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; + handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/RepairItemEventRouter.d.ts index 282c47a..d2f857d 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,10 +1,10 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; + handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/TradeItemEventRouter.d.ts index 1494963..5617ab3 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,10 +1,10 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; + handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/WishlistItemEventRouter.d.ts index 1d6f601..bc6d257 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,10 +1,10 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; + handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/AchievementStaticRouter.d.ts new file mode 100644 index 0000000..80e3ae6 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/AchievementStaticRouter.d.ts @@ -0,0 +1,6 @@ +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; +export declare class AchievementStaticRouter extends StaticRouter { + protected achievementCallbacks: AchievementCallbacks; + constructor(achievementCallbacks: AchievementCallbacks); +} diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/BotStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/BuildStaticRouter.d.ts new file mode 100644 index 0000000..c5c3a5e --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/BuildStaticRouter.d.ts @@ -0,0 +1,6 @@ +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; +export declare class BuildsStaticRouter extends StaticRouter { + protected buildsCallbacks: BuildsCallbacks; + constructor(buildsCallbacks: BuildsCallbacks); +} diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/DataStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/GameStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/PresetStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/PresetStaticRouter.d.ts deleted file mode 100644 index cac8da6..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/PresetStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { PresetBuildCallbacks } from "@spt-aki/callbacks/PresetBuildCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; -export declare class PresetStaticRouter extends StaticRouter { - protected presetCallbacks: PresetBuildCallbacks; - constructor(presetCallbacks: PresetBuildCallbacks); -} diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/23CustomAbstractChatBot/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/23CustomAbstractChatBot/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/23CustomAbstractChatBot/types/servers/ConfigServer.d.ts b/TypeScript/23CustomAbstractChatBot/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/23CustomAbstractChatBot/types/servers/ConfigServer.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/23CustomAbstractChatBot/types/servers/DatabaseServer.d.ts b/TypeScript/23CustomAbstractChatBot/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/23CustomAbstractChatBot/types/servers/DatabaseServer.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/23CustomAbstractChatBot/types/servers/HttpServer.d.ts b/TypeScript/23CustomAbstractChatBot/types/servers/HttpServer.d.ts index 20b7999..b00fe68 100644 --- a/TypeScript/23CustomAbstractChatBot/types/servers/HttpServer.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// -import http, { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IncomingMessage, ServerResponse } from "node:http"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; @@ -19,11 +19,19 @@ export declare class HttpServer { protected applicationContext: ApplicationContext; protected webSocketServer: WebSocketServer; protected httpConfig: IHttpConfig; + protected started: boolean; constructor(logger: ILogger, databaseServer: DatabaseServer, httpServerHelper: HttpServerHelper, localisationService: LocalisationService, httpListeners: IHttpListener[], configServer: ConfigServer, applicationContext: ApplicationContext, webSocketServer: WebSocketServer); /** * Handle server loading event */ load(): void; protected handleRequest(req: IncomingMessage, resp: ServerResponse): void; - protected getCookies(req: http.IncomingMessage): Record; + /** + * Check against hardcoded values that determine its from a local address + * @param remoteAddress Address to check + * @returns True if its local + */ + protected isLocalRequest(remoteAddress: string): boolean; + protected getCookies(req: IncomingMessage): Record; + isStarted(): boolean; } diff --git a/TypeScript/23CustomAbstractChatBot/types/servers/RagfairServer.d.ts b/TypeScript/23CustomAbstractChatBot/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/23CustomAbstractChatBot/types/servers/RagfairServer.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/23CustomAbstractChatBot/types/servers/SaveServer.d.ts b/TypeScript/23CustomAbstractChatBot/types/servers/SaveServer.d.ts index 88a9b26..f71fbb2 100644 --- a/TypeScript/23CustomAbstractChatBot/types/servers/SaveServer.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory @@ -75,8 +75,9 @@ export declare class SaveServer { * Save changes from in-memory profile to user/profiles json * Execute onBeforeSaveCallbacks callbacks prior to being saved to json * @param sessionID profile id (user/profiles/id.json) + * @returns time taken to save in MS */ - saveProfile(sessionID: string): void; + saveProfile(sessionID: string): number; /** * Remove a physical profile json from user/profiles * @param sessionID Profile id to remove diff --git a/TypeScript/23CustomAbstractChatBot/types/servers/WebSocketServer.d.ts b/TypeScript/23CustomAbstractChatBot/types/servers/WebSocketServer.d.ts index e0bf025..b9d66ee 100644 --- a/TypeScript/23CustomAbstractChatBot/types/servers/WebSocketServer.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/servers/WebSocketServer.d.ts @@ -1,31 +1,23 @@ /// import http, { IncomingMessage } from "node:http"; -import WebSocket from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { INotification } from "@spt-aki/models/eft/notifier/INotifier"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; +import { WebSocket, Server } from "ws"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; protected randomUtil: RandomUtil; - protected configServer: ConfigServer; - protected localisationService: LocalisationService; protected jsonUtil: JsonUtil; + protected localisationService: LocalisationService; protected httpServerHelper: HttpServerHelper; - protected profileHelper: ProfileHelper; - constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); - protected httpConfig: IHttpConfig; - protected defaultNotification: INotification; - protected webSockets: Record; - protected websocketPingHandler: any; + protected webSocketConnectionHandlers: IWebSocketConnectionHandler[]; + protected webSocketServer: Server; + constructor(logger: ILogger, randomUtil: RandomUtil, jsonUtil: JsonUtil, localisationService: LocalisationService, httpServerHelper: HttpServerHelper, webSocketConnectionHandlers: IWebSocketConnectionHandler[]); + getWebSocketServer(): Server; setupWebSocket(httpServer: http.Server): void; - sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; - isConnectionWebSocket(sessionID: string): boolean; - protected wsOnConnection(ws: WebSocket.WebSocket, req: IncomingMessage): void; + protected wsOnConnection(ws: WebSocket, req: IncomingMessage): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/servers/http/AkiHttpListener.d.ts b/TypeScript/23CustomAbstractChatBot/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 9499884..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): void; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): string; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/servers/http/IHttpListener.d.ts b/TypeScript/23CustomAbstractChatBot/types/servers/http/IHttpListener.d.ts index 29d5fce..ff148d6 100644 --- a/TypeScript/23CustomAbstractChatBot/types/servers/http/IHttpListener.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/servers/http/IHttpListener.d.ts @@ -2,5 +2,5 @@ import { IncomingMessage, ServerResponse } from "node:http"; export interface IHttpListener { canHandle(sessionId: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): void; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/servers/http/SptHttpListener.d.ts b/TypeScript/23CustomAbstractChatBot/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/servers/ws/IWebSocketConnectionHandler.d.ts b/TypeScript/23CustomAbstractChatBot/types/servers/ws/IWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..920dad4 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/servers/ws/IWebSocketConnectionHandler.d.ts @@ -0,0 +1,8 @@ +/// +import { IncomingMessage } from "node:http"; +import { WebSocket } from "ws"; +export interface IWebSocketConnectionHandler { + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/23CustomAbstractChatBot/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/23CustomAbstractChatBot/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/23CustomAbstractChatBot/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/services/BotEquipmentFilterService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/BotEquipmentFilterService.d.ts index f0cc787..5ee2fb4 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { AdjustmentDetails, EquipmentFilterDetails, EquipmentFilters, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; @@ -95,5 +95,5 @@ export declare class BotEquipmentFilterService { * @param weightingAdjustments Weighting change to apply to bot * @param botItemPool Bot item dictionary to adjust */ - protected adjustWeighting(weightingAdjustments: AdjustmentDetails, botItemPool: Record, showEditWarnings?: boolean): void; + protected adjustWeighting(weightingAdjustments: IAdjustmentDetails, botItemPool: Record, showEditWarnings?: boolean): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/23CustomAbstractChatBot/types/services/BotGenerationCacheService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/BotGenerationCacheService.d.ts index fb84ede..ba27266 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/BotGenerationCacheService.d.ts @@ -1,17 +1,16 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; - protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; protected botHelper: BotHelper; protected storedBots: Map; - constructor(logger: ILogger, randomUtil: RandomUtil, jsonUtil: JsonUtil, localisationService: LocalisationService, botHelper: BotHelper); + protected activeBotsInRaid: IBotBase[]; + constructor(logger: ILogger, randomUtil: RandomUtil, localisationService: LocalisationService, botHelper: BotHelper); /** * Store array of bots in cache, shuffle results before storage * @param botsToStore Bots we want to store in the cache @@ -24,6 +23,18 @@ export declare class BotGenerationCacheService { * @returns IBotBase object */ getBot(key: string): IBotBase; + /** + * Cache a bot that has been sent to the client in memory for later use post-raid to determine if player killed a traitor scav + * @param botToStore Bot object to store + */ + storeUsedBot(botToStore: IBotBase): void; + /** + * Get a bot by its profileId that has been generated and sent to client for current raid + * Cache is wiped post-raid in client/match/offline/end endOfflineRaid() + * @param profileId Id of bot to get + * @returns IBotBase + */ + getUsedBot(profileId: string): IBotBase; /** * Remove all cached bot profiles from memory */ diff --git a/TypeScript/23CustomAbstractChatBot/types/services/BotLootCacheService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/BotLootCacheService.d.ts index a2205f3..57d56af 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/BotLootCacheService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/BotLootCacheService.d.ts @@ -1,23 +1,23 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; - protected jsonUtil: JsonUtil; protected itemHelper: ItemHelper; protected databaseServer: DatabaseServer; protected pmcLootGenerator: PMCLootGenerator; protected localisationService: LocalisationService; protected ragfairPriceService: RagfairPriceService; + protected cloner: ICloner; protected lootCache: Record; - constructor(logger: ILogger, jsonUtil: JsonUtil, itemHelper: ItemHelper, databaseServer: DatabaseServer, pmcLootGenerator: PMCLootGenerator, localisationService: LocalisationService, ragfairPriceService: RagfairPriceService); + constructor(logger: ILogger, itemHelper: ItemHelper, databaseServer: DatabaseServer, pmcLootGenerator: PMCLootGenerator, localisationService: LocalisationService, ragfairPriceService: RagfairPriceService, cloner: ICloner); /** * Remove cached bot loot data */ @@ -30,7 +30,7 @@ export declare class BotLootCacheService { * @param botJsonTemplate Base json db file for the bot having its loot generated * @returns ITemplateItem array */ - getLootFromCache(botRole: string, isPmc: boolean, lootType: LootCacheType, botJsonTemplate: IBotType): ITemplateItem[]; + getLootFromCache(botRole: string, isPmc: boolean, lootType: LootCacheType, botJsonTemplate: IBotType): Record; /** * Generate loot for a bot and store inside a private class property * @param botRole bots role (assault / pmcBot etc) @@ -38,17 +38,13 @@ export declare class BotLootCacheService { * @param botJsonTemplate db template for bot having its loot generated */ protected addLootToCache(botRole: string, isPmc: boolean, botJsonTemplate: IBotType): void; - /** - * Sort a pool of item objects by its flea price - * @param poolToSort pool of items to sort - */ - protected sortPoolByRagfairPrice(poolToSort: ITemplateItem[]): void; /** * Add unique items into combined pool - * @param combinedItemPool Pool of items to add to + * @param poolToAddTo Pool of items to add to * @param itemsToAdd items to add to combined pool if unique */ - protected addUniqueItemsToPool(combinedItemPool: ITemplateItem[], itemsToAdd: ITemplateItem[]): void; + protected addUniqueItemsToPool(poolToAddTo: ITemplateItem[], itemsToAdd: ITemplateItem[]): void; + protected addItemsToPool(poolToAddTo: Record, poolOfItemsToAdd: Record): void; /** * Ammo/grenades have this property * @param props @@ -73,6 +69,9 @@ export declare class BotLootCacheService { * @returns */ protected isGrenade(props: Props): boolean; + protected isFood(tpl: string): boolean; + protected isDrink(tpl: string): boolean; + protected isCurrency(tpl: string): boolean; /** * Check if a bot type exists inside the loot cache * @param botRole role to check for diff --git a/TypeScript/23CustomAbstractChatBot/types/services/BotWeaponModLimitService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/23CustomAbstractChatBot/types/services/CustomLocationWaveService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/CustomLocationWaveService.d.ts index f32c082..728a1e8 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/CustomLocationWaveService.d.ts @@ -1,18 +1,16 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; - protected jsonUtil: JsonUtil; protected databaseServer: DatabaseServer; protected configServer: ConfigServer; protected locationConfig: ILocationConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, configServer: ConfigServer); + constructor(logger: ILogger, randomUtil: RandomUtil, databaseServer: DatabaseServer, configServer: ConfigServer); /** * Add a boss wave to a map * @param locationId e.g. factory4_day, bigmap diff --git a/TypeScript/23CustomAbstractChatBot/types/services/FenceService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/FenceService.d.ts index 63cd726..0e75ae6 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/FenceService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/FenceService.d.ts @@ -1,55 +1,72 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel, IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time */ export declare class FenceService { protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; protected timeUtil: TimeUtil; protected randomUtil: RandomUtil; protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; protected itemHelper: ItemHelper; protected presetHelper: PresetHelper; - protected itemFilterService: ItemFilterService; protected localisationService: LocalisationService; protected configServer: ConfigServer; + protected cloner: ICloner; + protected traderConfig: ITraderConfig; + /** Time when some items in assort will be replaced */ + protected nextPartialRefreshTimestamp: number; /** Main assorts you see at all rep levels */ protected fenceAssort: ITraderAssort; - /** Assorts shown on a separte tab when you max out fence rep */ + /** Assorts shown on a separate tab when you max out fence rep */ protected fenceDiscountAssort: ITraderAssort; - protected traderConfig: ITraderConfig; - protected nextMiniRefreshTimestamp: number; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, localisationService: LocalisationService, configServer: ConfigServer); + /** Desired baseline counts - Hydrated on initial assort generation as part of generateFenceAssorts() */ + protected desiredAssortCounts: IFenceAssortGenerationValues; + protected fenceItemUpdCompareProperties: Set; + constructor(logger: ILogger, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, localisationService: LocalisationService, configServer: ConfigServer, cloner: ICloner); /** * Replace main fence assort with new assort * @param assort New assorts to replace old with */ setFenceAssort(assort: ITraderAssort): void; /** - * Replace high rep level fence assort with new assort + * Replace discount fence assort with new assort * @param assort New assorts to replace old with */ - setFenceDiscountAssort(assort: ITraderAssort): void; + setDiscountFenceAssort(assort: ITraderAssort): void; + /** + * Get main fence assort + * @return ITraderAssort + */ + getMainFenceAssort(): ITraderAssort; + /** + * Get discount fence assort + * @return ITraderAssort + */ + getDiscountFenceAssort(): ITraderAssort; + /** + * Replace high rep level fence assort with new assort + * @param discountAssort New assorts to replace old with + */ + setFenceDiscountAssort(discountAssort: ITraderAssort): void; /** * Get assorts player can purchase * Adjust prices based on fence level of player @@ -57,13 +74,33 @@ export declare class FenceService { * @returns ITraderAssort */ getFenceAssorts(pmcProfile: IPmcData): ITraderAssort; + /** + * Adds to fence assort a single item (with its children) + * @param items the items to add with all its childrens + * @param mainItem the most parent item of the array + */ + addItemsToFenceAssort(items: Item[], mainItem: Item): void; + /** + * Calculates the overall price for an item (with all its children) + * @param itemTpl the item tpl to calculate the fence price for + * @param items the items (with its children) to calculate fence price for + * @returns the fence price of the item + */ + getItemPrice(itemTpl: string, items: Item[]): number; + /** + * Calculate the overall price for an ammo box, where only one item is + * the ammo box itself and every other items are the bullets in that box + * @param items the ammo box (and all its children ammo items) + * @returns the price of the ammo box + */ + protected getAmmoBoxPrice(items: Item[]): number; /** * Adjust all items contained inside an assort by a multiplier - * @param assort Assort that contains items with prices to adjust + * @param assort (clone)Assort that contains items with prices to adjust * @param itemMultipler multipler to use on items * @param presetMultiplier preset multipler to use on presets */ - protected adjustAssortItemPrices(assort: ITraderAssort, itemMultipler: number, presetMultiplier: number): void; + protected adjustAssortItemPricesByConfigMultiplier(assort: ITraderAssort, itemMultipler: number, presetMultiplier: number): void; /** * Merge two trader assort files together * @param firstAssort assort 1# @@ -93,22 +130,35 @@ export declare class FenceService { * Replace a percentage of fence assorts with freshly generated items */ performPartialRefresh(): void; + /** + * Handle the process of folding new assorts into existing assorts, when a new assort exists already, increment its StackObjectsCount instead + * @param newFenceAssorts Assorts to fold into existing fence assorts + * @param existingFenceAssorts Current fence assorts new assorts will be added to + */ + protected updateFenceAssorts(newFenceAssorts: ICreateFenceAssortsResult, existingFenceAssorts: ITraderAssort): void; /** * Increment fence next refresh timestamp by current timestamp + partialRefreshTimeSeconds from config */ protected incrementPartialRefreshTime(): void; /** - * Compare the current fence offer count to what the config wants it to be, - * If value is lower add extra count to value to generate more items to fill gap - * @param existingItemCountToReplace count of items to generate - * @returns number of items to generate + * Get values that will hydrate the passed in assorts back to the desired counts + * @param assortItems Current assorts after items have been removed + * @param generationValues Base counts assorts should be adjusted to + * @returns IGenerationAssortValues object with adjustments needed to reach desired state */ - protected getCountOfItemsToGenerate(existingItemCountToReplace: number): number; + protected getItemCountsToGenerate(assortItems: Item[], generationValues: IGenerationAssortValues): IGenerationAssortValues; /** - * Choose an item (not mod) at random and remove from assorts - * @param assort Items to remove from + * Delete desired number of items from assort (including children) + * @param itemCountToReplace + * @param discountItemCountToReplace */ - protected removeRandomItemFromAssorts(assort: ITraderAssort): void; + protected deleteRandomAssorts(itemCountToReplace: number, assort: ITraderAssort): void; + /** + * Choose an item at random and remove it + mods from assorts + * @param assort Trader assort to remove item from + * @param rootItems Pool of root items to pick from to remove + */ + protected removeRandomItemFromAssorts(assort: ITraderAssort, rootItems: Item[]): void; /** * Get an integer rounded count of items to replace based on percentrage from traderConfig value * @param totalItemCount total item count @@ -122,42 +172,99 @@ export declare class FenceService { getOfferCount(): number; /** * Create trader assorts for fence and store in fenceService cache + * Uses fence base cache generatedon server start as a base */ generateFenceAssorts(): void; + /** + * Convert the intermediary assort data generated into format client can process + * @param intermediaryAssorts Generated assorts that will be converted + * @returns ITraderAssort + */ + protected convertIntoFenceAssort(intermediaryAssorts: ICreateFenceAssortsResult): ITraderAssort; + /** + * Create object that contains calculated fence assort item values to make based on config + * Stored in this.desiredAssortCounts + */ + protected createInitialFenceAssortGenerationValues(): void; /** * Create skeleton to hold assort items * @returns ITraderAssort object */ - protected createBaseTraderAssortItem(): ITraderAssort; + protected createFenceAssortSkeleton(): ITraderAssort; /** * Hydrate assorts parameter object with generated assorts * @param assortCount Number of assorts to generate * @param assorts object to add created assorts to */ - protected createAssorts(assortCount: number, assorts: ITraderAssort, loyaltyLevel: number): void; - protected addItemAssorts(assortCount: number, fenceAssortIds: string[], assorts: ITraderAssort, fenceAssort: ITraderAssort, itemTypeCounts: Record, loyaltyLevel: number): void; + /** + * Find an assort item that matches the first parameter, also matches based on upd properties + * e.g. salewa hp resource units left + * @param rootItemBeingAdded item to look for a match against + * @param itemDbDetails Db details of matching item + * @param itemsWithChildren Items to search through + * @returns Matching assort item + */ + protected getMatchingItem(rootItemBeingAdded: Item, itemDbDetails: ITemplateItem, itemsWithChildren: Item[][]): Item; + /** + * Should this item be forced into only 1 stack on fence + * @param existingItem Existing item from fence assort + * @param itemDbDetails Item we want to add db details + * @returns True item should be force stacked + */ + protected itemShouldBeForceStacked(existingItem: Item, itemDbDetails: ITemplateItem): boolean; + protected itemInPreventDupeCategoryList(tpl: string): boolean; + /** + * Adjust price of item based on what is left to buy (resource/uses left) + * @param barterSchemes All barter scheme for item having price adjusted + * @param itemRoot Root item having price adjusted + * @param itemTemplate Db template of item + */ + protected adjustItemPriceByQuality(barterSchemes: Record, itemRoot: Item, itemTemplate: ITemplateItem): void; + protected getMatchingItemLimit(itemTypeLimits: Record, itemTpl: string): { + current: number; + max: number; + }; + /** + * Find presets in base fence assort and add desired number to 'assorts' parameter + * @param desiredWeaponPresetsCount + * @param assorts Assorts to add preset to + * @param baseFenceAssort Base data to draw from + * @param loyaltyLevel Which loyalty level is required to see/buy item + */ + protected addPresetsToAssort(desiredWeaponPresetsCount: number, desiredEquipmentPresetsCount: number, assorts: ICreateFenceAssortsResult, baseFenceAssort: ITraderAssort, loyaltyLevel: number): void; + /** + * Adjust plate / soft insert durability values + * @param armor Armor item array to add mods into + * @param itemDbDetails Armor items db template + */ + protected randomiseArmorModDurability(armor: Item[], itemDbDetails: ITemplateItem): void; /** * Get stack size of a singular item (no mods) * @param itemDbDetails item being added to fence * @returns Stack size */ protected getSingleItemStackCount(itemDbDetails: ITemplateItem): number; - /** - * Add preset weapons to fence presets - * @param assortCount how many assorts to add to assorts - * @param defaultWeaponPresets a dictionary of default weapon presets - * @param assorts object to add presets to - * @param loyaltyLevel loyalty level to requre item at - */ - protected addPresets(desiredPresetCount: number, defaultWeaponPresets: Record, assorts: ITraderAssort, loyaltyLevel: number): void; /** * Remove parts of a weapon prior to being listed on flea - * @param weaponAndMods Weapon to remove parts from + * @param itemAndMods Weapon to remove parts from */ - protected removeRandomPartsOfWeapon(weaponAndMods: Item[]): void; + protected removeRandomModsOfItem(itemAndMods: Item[]): void; /** * Roll % chance check to see if item should be removed * @param weaponMod Weapon mod being checked @@ -171,6 +278,13 @@ export declare class FenceService { * @param itemToAdjust Item being edited */ protected randomiseItemUpdProperties(itemDetails: ITemplateItem, itemToAdjust: Item): void; + /** + * Generate a randomised current and max durabiltiy value for an armor item + * @param itemDetails Item to create values for + * @param equipmentDurabilityLimits Max durabiltiy percent min/max values + * @returns Durability + MaxDurability values + */ + protected getRandomisedArmorDurabilityValues(itemDetails: ITemplateItem, equipmentDurabilityLimits: IItemDurabilityCurrentMax): Repairable; /** * Construct item limit record to hold max and current item count * @param limits limits as defined in config @@ -187,6 +301,7 @@ export declare class FenceService { getNextFenceUpdateTimestamp(): number; /** * Get fence refresh time in seconds + * @returns Refresh time in seconds */ protected getFenceRefreshTime(): number; /** @@ -196,8 +311,10 @@ export declare class FenceService { */ getFenceInfo(pmcData: IPmcData): IFenceLevel; /** - * Remove an assort from fence by id - * @param assortIdToRemove assort id to remove from fence assorts + * Remove or lower stack size of an assort from fence by id + * @param assortId assort id to adjust + * @param buyCount Count of items bought */ - removeFenceOffer(assortIdToRemove: string): void; + amendOrRemoveFenceOffer(assortId: string, buyCount: number): void; + protected deleteOffer(assortId: string, assorts: Item[]): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/services/GiftService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/GiftService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/23CustomAbstractChatBot/types/services/HashCacheService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/HashCacheService.d.ts deleted file mode 100644 index 0097c96..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/services/HashCacheService.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/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); - /** - * Return a stored hash by key - * @param modName Name of mod to get hash for - * @returns Mod hash - */ - getStoredModHash(modName: string): string; - /** - * Does the generated hash match the stored hash - * @param modName name of mod - * @param modContent - * @returns True if they match - */ - 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/TypeScript/23CustomAbstractChatBot/types/services/InsuranceService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/InsuranceService.d.ts index fa13e9c..5492a56 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/InsuranceService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/InsuranceService.d.ts @@ -1,31 +1,34 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; protected secureContainerHelper: SecureContainerHelper; protected randomUtil: RandomUtil; protected itemHelper: ItemHelper; - protected jsonUtil: JsonUtil; + protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected saveServer: SaveServer; protected traderHelper: TraderHelper; @@ -35,9 +38,11 @@ export declare class InsuranceService { protected localeService: LocaleService; protected mailSendService: MailSendService; protected configServer: ConfigServer; + protected cloner: ICloner; protected insured: Record>; protected insuranceConfig: IInsuranceConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, secureContainerHelper: SecureContainerHelper, randomUtil: RandomUtil, itemHelper: ItemHelper, jsonUtil: JsonUtil, timeUtil: TimeUtil, saveServer: SaveServer, traderHelper: TraderHelper, dialogueHelper: DialogueHelper, handbookHelper: HandbookHelper, localisationService: LocalisationService, localeService: LocaleService, mailSendService: MailSendService, configServer: ConfigServer); + protected lostOnDeathConfig: ILostOnDeathConfig; + constructor(logger: ILogger, databaseServer: DatabaseServer, secureContainerHelper: SecureContainerHelper, randomUtil: RandomUtil, itemHelper: ItemHelper, hashUtil: HashUtil, timeUtil: TimeUtil, saveServer: SaveServer, traderHelper: TraderHelper, dialogueHelper: DialogueHelper, handbookHelper: HandbookHelper, localisationService: LocalisationService, localeService: LocaleService, mailSendService: MailSendService, configServer: ConfigServer, cloner: ICloner); /** * Does player have insurance array * @param sessionId Player id @@ -65,12 +70,6 @@ export declare class InsuranceService { * @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; - /** - * Send a message to player informing them gear was lost - * @param sessionId Session id - * @param locationName name of map insurance was lost on - */ - sendLostInsuranceMessage(sessionId: string, locationName?: string): void; /** * Check all root insured items and remove location property + set slotId to 'hideout' * @param sessionId Session id @@ -86,21 +85,41 @@ export declare class InsuranceService { */ protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number; /** - * Store lost gear post-raid inside profile, ready for later code to pick it up and mail it - * @param pmcData player profile to store gear in - * @param offraidData post-raid request object - * @param preRaidGear gear player wore prior to raid + * Create insurance equipment packages that should be sent to the user. The packages should contain items that have + * been lost in a raid and should be returned to the player through the insurance system. + * + * NOTE: We do not have data on items that were dropped in a raid. This means we have to pull item data from the + * profile at the start of the raid to return to the player in insurance. Because of this, the item + * positioning may differ from the position the item was in when the player died. Apart from removing all + * positioning, this is the best we can do. >:{} + * + * @param pmcData Player profile + * @param offraidData Post-raid data + * @param preRaidGear Pre-raid data * @param sessionID Session id - * @param playerDied did the player die in raid + * @param playerDied Did player die in raid + * @returns Array of insured items lost in raid */ - storeLostGear(pmcData: IPmcData, offraidData: ISaveProgressRequestData, preRaidGear: Item[], sessionID: string, playerDied: boolean): void; + getGearLostInRaid(pmcData: IPmcData, offraidData: ISaveProgressRequestData, preRaidGear: Item[], sessionID: string, playerDied: boolean): IInsuranceEquipmentPkg[]; + /** + * Take the insurance item packages within a profile session and ensure that each of the items in that package are + * not orphaned from their parent ID. + * + * @param sessionID The session ID to update insurance equipment packages in. + * @returns void + */ + protected adoptOrphanedInsEquipment(sessionID: string): void; + /** + * Store lost gear post-raid inside profile, ready for later code to pick it up and mail it + * @param equipmentPkg Gear to store - generated by getGearLostInRaid() + */ + storeGearLostInRaidToSendLater(sessionID: string, equipmentPkg: IInsuranceEquipmentPkg[]): void; /** * Take preraid item and update properties to ensure its ready to be given to player in insurance return mail * @param pmcData Player profile - * @param insuredItem Insured items properties - * @param preRaidItem Insured item as it was pre-raid - * @param insuredItemFromClient Item data when player left raid (durability values) - * @returns Item object + * @param preRaidItemWithChildren Insured item (with children) as it was pre-raid + * @param allItemsFromClient Item data when player left raid (durability values) + * @returns Item (with children) to send to player */ protected getInsuredItemDetails(pmcData: IPmcData, preRaidItem: Item, insuredItemFromClient: IInsuredItemsData): Item; /** @@ -109,12 +128,6 @@ export declare class InsuranceService { * @param itemToReturn item we will send to player as insurance return */ protected updateSlotIdValue(playerBaseInventoryEquipmentId: string, itemToReturn: Item): void; - /** - * Create a hash table for an array of items, keyed by items _id - * @param items Items to hash - * @returns Hashtable - */ - protected createItemHashTable(items: Item[]): Record; /** * Add gear item to InsuredItems array in player profile * @param sessionID Session id @@ -122,12 +135,7 @@ export declare class InsuranceService { * @param itemToReturnToPlayer item to store * @param traderId Id of trader item was insured with */ - protected addGearToSend(gear: { - sessionID: string; - pmcData: IPmcData; - itemToReturnToPlayer: Item; - traderId: string; - }): void; + protected addGearToSend(gear: IInsuranceEquipmentPkg): void; /** * Does insurance exist for a player and by trader * @param sessionId Player id (session id) @@ -145,7 +153,7 @@ export declare class InsuranceService { * Store insured item * @param sessionId Player id (session id) * @param traderId Trader item insured with - * @param itemToAdd Insured item + * @param itemToAdd Insured item (with children) */ addInsuranceItemToArray(sessionId: string, traderId: string, itemToAdd: Item): void; /** @@ -156,4 +164,10 @@ export declare class InsuranceService { * @returns price in roubles */ getPremium(pmcData: IPmcData, inventoryItem: Item, traderId: string): number; + /** + * Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance. + * + * @returns The ID. + */ + getRootItemParentID(sessionID: string): string; } diff --git a/TypeScript/23CustomAbstractChatBot/types/services/ItemBaseClassService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/ItemBaseClassService.d.ts index 83994ad..9c6e6c8 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ @@ -10,6 +10,7 @@ export declare class ItemBaseClassService { protected localisationService: LocalisationService; protected databaseServer: DatabaseServer; protected itemBaseClassesCache: Record; + protected items: Record; protected cacheGenerated: boolean; constructor(logger: ILogger, localisationService: LocalisationService, databaseServer: DatabaseServer); /** @@ -21,9 +22,8 @@ export declare class ItemBaseClassService { * Helper method, recursivly iterate through items parent items, finding and adding ids to dictionary * @param itemIdToUpdate item tpl to store base ids against in dictionary * @param item item being checked - * @param allDbItems all items in db */ - protected addBaseItems(itemIdToUpdate: string, item: ITemplateItem, allDbItems: Record): void; + protected addBaseItems(itemIdToUpdate: string, item: ITemplateItem): void; /** * Does item tpl inherit from the requested base class * @param itemTpl item to check base classes of @@ -31,6 +31,12 @@ export declare class ItemBaseClassService { * @returns true if item inherits from base class passed in */ itemHasBaseClass(itemTpl: string, baseClasses: string[]): boolean; + /** + * Check if cached item template is of type Item + * @param itemTemplateId item to check + * @returns true if item is of type Item + */ + private cachedItemIsOfItemType; /** * Get base classes item inherits from * @param itemTpl item to get base classes for diff --git a/TypeScript/23CustomAbstractChatBot/types/services/ItemFilterService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/ItemFilterService.d.ts index 791bb34..fde948b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/ItemFilterService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; @@ -15,6 +15,17 @@ export declare class ItemFilterService { * @returns true if blacklisted */ isItemBlacklisted(tpl: string): boolean; + /** + * Check if item is blacklisted from being a reward for player + * @param tpl item tpl to check is on blacklist + * @returns True when blacklisted + */ + isItemRewardBlacklisted(tpl: string): boolean; + /** + * Get an array of items that should never be given as a reward to player + * @returns string array of item tpls + */ + getItemRewardBlacklist(): string[]; /** * Return every template id blacklisted in config/item.json * @returns string array of blacklisted tempalte ids diff --git a/TypeScript/23CustomAbstractChatBot/types/services/LocaleService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/LocaleService.d.ts index 5ee5540..2326dcc 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/LocaleService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ @@ -33,9 +33,26 @@ export declare class LocaleService { * @returns array of locales e.g. en/fr/cn */ getServerSupportedLocales(): string[]; + /** + * Get array of languages supported for localisation + * @returns array of locales e.g. en/fr/cn + */ + getLocaleFallbacks(): { + [locale: string]: string; + }; + /** + * Get the full locale of the computer running the server lowercased e.g. en-gb / pt-pt + * @returns string + */ + protected getPlatformForServerLocale(): string; /** * Get the locale of the computer running the server * @returns langage part of locale e.g. 'en' part of 'en-US' */ - protected getPlatformLocale(): string; + protected getPlatformForClientLocale(): string; + /** + * This is in a function so we can overwrite it during testing + * @returns The current platform locale + */ + protected getPlatformLocale(): Intl.Locale; } diff --git a/TypeScript/23CustomAbstractChatBot/types/services/LocalisationService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/LocalisationService.d.ts index 939db6f..42dfa4e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/LocalisationService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/LocalisationService.d.ts @@ -1,9 +1,8 @@ import { I18n } from "i18n"; -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ @@ -12,7 +11,6 @@ export declare class LocalisationService { protected randomUtil: RandomUtil; protected databaseServer: DatabaseServer; protected localeService: LocaleService; - protected localeConfig: ILocaleConfig; protected i18n: I18n; constructor(logger: ILogger, randomUtil: RandomUtil, databaseServer: DatabaseServer, localeService: LocaleService); /** diff --git a/TypeScript/23CustomAbstractChatBot/types/services/MailSendService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/MailSendService.d.ts index 08752bf..176e5f8 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/MailSendService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; @@ -55,7 +55,7 @@ export declare class MailSendService { * @param items Optional items to send to player * @param maxStorageTimeSeconds Optional time to collect items before they expire */ - sendSystemMessageToPlayer(sessionId: string, message: string, items?: Item[], maxStorageTimeSeconds?: any): void; + sendSystemMessageToPlayer(sessionId: string, message: string, items?: Item[], maxStorageTimeSeconds?: number, profileChangeEvents?: IProfileChangeEvent[]): void; /** * Send a message from SYSTEM to the player with or without items with localised text * @param sessionId The session ID to send the message to @@ -63,7 +63,7 @@ export declare class MailSendService { * @param items Optional items to send to player * @param maxStorageTimeSeconds Optional time to collect items before they expire */ - sendLocalisedSystemMessageToPlayer(sessionId: string, messageLocaleId: string, items?: Item[], profileChangeEvents?: any[], maxStorageTimeSeconds?: any): void; + sendLocalisedSystemMessageToPlayer(sessionId: string, messageLocaleId: string, items?: Item[], profileChangeEvents?: IProfileChangeEvent[], maxStorageTimeSeconds?: number): void; /** * Send a USER message to a player with or without items * @param sessionId The session ID to send the message to diff --git a/TypeScript/23CustomAbstractChatBot/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/23CustomAbstractChatBot/types/services/MatchLocationService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/MatchLocationService.d.ts index 8f7b3bf..dafa99a 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/MatchLocationService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/MatchLocationService.d.ts @@ -1,9 +1,9 @@ -import { ICreateGroupRequestData } from "@spt-aki/models/eft/match/ICreateGroupRequestData"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; + protected saveServer: SaveServer; protected locations: {}; - constructor(timeUtil: TimeUtil); - createGroup(sessionID: string, info: ICreateGroupRequestData): any; + constructor(timeUtil: TimeUtil, saveServer: SaveServer); deleteGroup(info: any): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/services/ModCompilerService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/ModCompilerService.d.ts index b8f2a37..eb4298c 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/ModCompilerService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/ModCompilerService.d.ts @@ -1,13 +1,13 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashCacheService } from "@spt-aki/services/HashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; - protected hashCacheService: HashCacheService; + protected modHashCacheService: ModHashCacheService; protected vfs: VFS; protected serverDependencies: string[]; - constructor(logger: ILogger, hashCacheService: HashCacheService, vfs: VFS); + constructor(logger: ILogger, modHashCacheService: ModHashCacheService, vfs: VFS); /** * Convert a mods TS into JS * @param modName Name of mod @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/23CustomAbstractChatBot/types/services/NotificationService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/NotificationService.d.ts index 3f25b10..69d895a 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/NotificationService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { INotification } from "@spt-aki/models/eft/notifier/INotifier"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; @@ -12,7 +12,7 @@ export declare class NotificationService { /** * Add message to queue */ - add(sessionID: string, message: INotification): void; + add(sessionID: string, message: IWsNotificationEvent): void; /** * Get message queue for session * @param sessionID diff --git a/TypeScript/23CustomAbstractChatBot/types/services/OpenZoneService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/OpenZoneService.d.ts index 581975b..1bc5f00 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/OpenZoneService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/OpenZoneService.d.ts @@ -1,20 +1,18 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; protected randomUtil: RandomUtil; - protected jsonUtil: JsonUtil; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected locationConfig: ILocationConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, randomUtil: RandomUtil, databaseServer: DatabaseServer, localisationService: LocalisationService, configServer: ConfigServer); /** * Add open zone to specified map * @param locationId map location (e.g. factory4_day) diff --git a/TypeScript/23CustomAbstractChatBot/types/services/PaymentService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/PaymentService.d.ts index d6b22ed..8d77ae2 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/PaymentService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/PaymentService.d.ts @@ -1,19 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; + protected hashUtil: HashUtil; protected httpResponse: HttpResponseUtil; protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; @@ -22,15 +24,15 @@ export declare class PaymentService { protected inventoryHelper: InventoryHelper; protected localisationService: LocalisationService; protected paymentHelper: PaymentHelper; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, traderHelper: TraderHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, localisationService: LocalisationService, paymentHelper: PaymentHelper); + constructor(logger: ILogger, hashUtil: HashUtil, httpResponse: HttpResponseUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, traderHelper: TraderHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, localisationService: LocalisationService, paymentHelper: PaymentHelper); /** * Take money and insert items into return to server request - * @param {IPmcData} pmcData Player profile - * @param {IProcessBuyTradeRequestData} request - * @param {string} sessionID - * @returns IItemEventRouterResponse + * @param pmcData Pmc profile + * @param request Buy item request + * @param sessionID Session id + * @param output Client response */ - payMoney(pmcData: IPmcData, request: IProcessBuyTradeRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + payMoney(pmcData: IPmcData, request: IProcessBuyTradeRequestData, sessionID: string, output: IItemEventRouterResponse): void; /** * Get the item price of a specific traders assort * @param traderAssortId Id of assort to look up @@ -41,19 +43,13 @@ export declare class PaymentService { /** * Receive money back after selling * @param {IPmcData} pmcData - * @param {number} amount - * @param {IProcessSellTradeRequestData} body + * @param {number} amountToSend + * @param {IProcessSellTradeRequestData} request * @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; + giveProfileMoney(pmcData: IPmcData, amountToSend: number, request: IProcessSellTradeRequestData, output: IItemEventRouterResponse, sessionID: string): void; /** * Remove currency from player stash/inventory and update client object with changes * @param pmcData Player profile to find and remove currency from @@ -61,11 +57,10 @@ export declare class PaymentService { * @param amountToPay money value to pay * @param sessionID Session id * @param output output object to send to client - * @returns IItemEventRouterResponse */ - addPaymentToOutput(pmcData: IPmcData, currencyTpl: string, amountToPay: number, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + addPaymentToOutput(pmcData: IPmcData, currencyTpl: string, amountToPay: number, sessionID: string, output: IItemEventRouterResponse): void; /** - * Get all money stacks in inventory and prioritse items in stash + * Get all money stacks in inventory and prioritise items in stash * @param pmcData * @param currencyTpl * @param playerStashId Players stash id diff --git a/TypeScript/23CustomAbstractChatBot/types/services/PlayerService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/PlayerService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/23CustomAbstractChatBot/types/services/PmcChatResponseService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/PmcChatResponseService.d.ts index b5a0b8b..cc172c0 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/PmcChatResponseService.d.ts @@ -1,16 +1,18 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; + protected hashUtil: HashUtil; protected randomUtil: RandomUtil; protected notificationSendHelper: NotificationSendHelper; protected matchBotDetailsCacheService: MatchBotDetailsCacheService; @@ -18,7 +20,7 @@ export declare class PmcChatResponseService { protected weightedRandomHelper: WeightedRandomHelper; protected configServer: ConfigServer; protected pmcResponsesConfig: IPmcChatResponse; - constructor(logger: ILogger, randomUtil: RandomUtil, notificationSendHelper: NotificationSendHelper, matchBotDetailsCacheService: MatchBotDetailsCacheService, localisationService: LocalisationService, weightedRandomHelper: WeightedRandomHelper, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, notificationSendHelper: NotificationSendHelper, matchBotDetailsCacheService: MatchBotDetailsCacheService, localisationService: LocalisationService, weightedRandomHelper: WeightedRandomHelper, configServer: ConfigServer); /** * For each PMC victim of the player, have a chance to send a message to the player, can be positive or negative * @param sessionId Session id diff --git a/TypeScript/23CustomAbstractChatBot/types/services/ProfileActivityService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/ProfileActivityService.d.ts new file mode 100644 index 0000000..fdc86c7 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/services/ProfileActivityService.d.ts @@ -0,0 +1,21 @@ +export declare class ProfileActivityService { + protected profileActivityTimestamps: Record; + /** + * Was the requested profile active in the last requested minutes + * @param sessionId Profile to check + * @param minutes Minutes to check for activity in + * @returns True when profile was active within past x minutes + */ + activeWithinLastMinutes(sessionId: string, minutes: number): boolean; + /** + * Get an array of profile ids that were active in the last x minutes + * @param minutes How many minutes from now to search for profiles + * @returns String array of profile ids + */ + getActiveProfileIdsWithinMinutes(minutes: number): string[]; + /** + * Update the timestamp a profile was last observed active + * @param sessionId Profile to update + */ + setActivityTimestamp(sessionId: string): void; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/services/ProfileFixerService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/ProfileFixerService.d.ts index e2e140b..18da0c0 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/ProfileFixerService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/ProfileFixerService.d.ts @@ -1,24 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -33,9 +35,10 @@ export declare class ProfileFixerService { protected hashUtil: HashUtil; protected databaseServer: DatabaseServer; protected configServer: ConfigServer; + protected cloner: ICloner; protected coreConfig: ICoreConfig; protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, watermark: Watermark, hideoutHelper: HideoutHelper, inventoryHelper: InventoryHelper, traderHelper: TraderHelper, profileHelper: ProfileHelper, itemHelper: ItemHelper, localisationService: LocalisationService, timeUtil: TimeUtil, jsonUtil: JsonUtil, hashUtil: HashUtil, databaseServer: DatabaseServer, configServer: ConfigServer); + constructor(logger: ILogger, watermark: Watermark, hideoutHelper: HideoutHelper, inventoryHelper: InventoryHelper, traderHelper: TraderHelper, profileHelper: ProfileHelper, itemHelper: ItemHelper, localisationService: LocalisationService, timeUtil: TimeUtil, jsonUtil: JsonUtil, hashUtil: HashUtil, databaseServer: DatabaseServer, configServer: ConfigServer, cloner: ICloner); /** * Find issues in the pmc profile data that may cause issues and fix them * @param pmcProfile profile to check and fix @@ -47,15 +50,15 @@ export declare class ProfileFixerService { */ checkForAndFixScavProfileIssues(scavProfile: IPmcData): void; protected addMissingGunStandContainerImprovements(pmcProfile: IPmcData): void; + protected addMissingHallOfFameContainerImprovements(pmcProfile: IPmcData): void; protected ensureGunStandLevelsMatch(pmcProfile: IPmcData): void; protected addHideoutAreaStashes(pmcProfile: IPmcData): void; protected addMissingHideoutWallAreas(pmcProfile: IPmcData): void; - protected adjustUnreasonableModFleaPrices(): void; /** * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -64,7 +67,11 @@ export declare class ProfileFixerService { removeDanglingConditionCounters(pmcProfile: IPmcData): void; addLighthouseKeeperIfMissing(pmcProfile: IPmcData): void; protected addUnlockedInfoObjectIfMissing(pmcProfile: IPmcData): void; - protected removeDanglingBackendCounters(pmcProfile: IPmcData): void; + /** + * Repeatable quests leave behind TaskConditionCounter objects that make the profile bloat with time, remove them + * @param pmcProfile Player profile to check + */ + protected removeDanglingTaskConditionCounters(pmcProfile: IPmcData): void; protected getActiveRepeatableQuests(repeatableQuests: IPmcDataRepeatableQuest[]): IRepeatableQuest[]; protected fixNullTraderSalesSums(pmcProfile: IPmcData): void; protected addMissingBonusesProperty(pmcProfile: IPmcData): void; @@ -98,11 +105,6 @@ export declare class ProfileFixerService { */ 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; /** * Iterate over players hideout areas and find what's build, look for missing bonuses those areas give and add them if missing * @param pmcProfile Profile to update @@ -119,7 +121,20 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; + /** + * @param buildType The type of build, used for logging only + * @param build The build to check for invalid items + * @param itemsDb The items database to use for item lookup + * @returns True if the build should be removed from the build list, false otherwise + */ + protected shouldRemoveWeaponEquipmentBuild(buildType: string, build: IWeaponBuild | IEquipmentBuild, itemsDb: Record): boolean; + /** + * @param magazineBuild The magazine build to check for validity + * @param itemsDb The items database to use for item lookup + * @returns True if the build should be removed from the build list, false otherwise + */ + protected shouldRemoveMagazineBuild(magazineBuild: IMagazineBuild, itemsDb: Record): boolean; /** * Attempt to fix common item issues that corrupt profiles * @param pmcProfile Profile to check items of @@ -134,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -145,20 +160,34 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to */ addMissingIdsToBonuses(pmcProfile: IPmcData): void; + /** + * 3.8.0 utilized the wrong ProductionTime for bitcoin, fix it if it's found + */ + fixBitcoinProductionTime(pmcProfile: IPmcData): void; /** * At some point the property name was changed,migrate data across to new name * @param pmcProfile Profile to migrate improvements in */ protected migrateImprovements(pmcProfile: IPmcData): void; + /** + * After removing mods that add quests, the quest panel will break without removing these + * @param pmcProfile Profile to remove dead quests from + */ + protected removeOrphanedQuests(pmcProfile: IPmcData): void; + /** + * If someone has run a mod from pre-3.8.0, it results in an invalid `nextResupply` value + * Resolve this by setting the nextResupply to 0 if it's null + */ + protected fixNullTraderNextResupply(pmcProfile: IPmcData): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/services/ProfileSnapshotService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/ProfileSnapshotService.d.ts index 3f60d41..5bb718b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { - protected jsonUtil: JsonUtil; - protected storedProfileSnapshots: Record; - constructor(jsonUtil: JsonUtil); + protected cloner: ICloner; + protected storedProfileSnapshots: Record; + constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/23CustomAbstractChatBot/types/services/RagfairCategoriesService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/23CustomAbstractChatBot/types/services/RagfairLinkedItemService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/23CustomAbstractChatBot/types/services/RagfairOfferService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/RagfairOfferService.d.ts index ce86ee3..04d5265 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/RagfairOfferService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/RagfairOfferService.d.ts @@ -1,18 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -25,6 +24,7 @@ export declare class RagfairOfferService { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected playerOffersLoaded: boolean; + /** Offer id + offer object */ protected expiredOffers: Record; protected ragfairConfig: IRagfairConfig; protected ragfairOfferHandler: RagfairOfferHolder; @@ -38,12 +38,19 @@ export declare class RagfairOfferService { getOffersOfType(templateId: string): IRagfairOffer[]; addOffer(offer: IRagfairOffer): void; addOfferToExpired(staleOffer: IRagfairOffer): void; + /** + * Get total count of current expired offers + * @returns Number of expired offers + */ getExpiredOfferCount(): number; /** - * Get an array of expired items not yet processed into new offers - * @returns items that need to be turned into offers + * Get an array of arrays of expired offer items + children + * @returns Expired offer assorts + */ + getExpiredOfferAssorts(): Item[][]; + /** + * Clear out internal expiredOffers dictionary of all items */ - getExpiredOfferItems(): Item[]; resetExpiredOffers(): void; /** * Does the offer exist on the ragfair @@ -76,5 +83,5 @@ export declare class RagfairOfferService { * @param staleOffer Stale offer to process */ protected processStaleOffer(staleOffer: IRagfairOffer): void; - protected returnPlayerOffer(offer: IRagfairOffer): IItemEventRouterResponse; + protected returnPlayerOffer(playerOffer: IRagfairOffer): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/services/RagfairPriceService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/RagfairPriceService.d.ts index 3e91d52..5b8fa56 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/RagfairPriceService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/RagfairPriceService.d.ts @@ -1,19 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -28,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -40,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - protected generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -52,9 +51,14 @@ export declare class RagfairPriceService implements OnLoad { * @returns price in roubles */ getFleaPriceForItem(tplId: string): number; + /** + * Get the flea price for an offers items + children + * @param offerItems offer item + children to process + * @returns Rouble price + */ + getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -66,7 +70,8 @@ export declare class RagfairPriceService implements OnLoad { */ getStaticPriceForItem(itemTpl: string): number; /** - * Get prices for all items on flea, priorities dynamic prices from prices.json, use handbook prices if missing + * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; @@ -86,12 +91,30 @@ export declare class RagfairPriceService implements OnLoad { getBarterPrice(barterScheme: IBarterScheme[]): number; /** * Generate a currency cost for an item and its mods - * @param items Item with mods to get price for + * @param offerItems Item with mods to get price for * @param desiredCurrency Currency price desired in * @param isPackOffer Price is for a pack type offer * @returns cost of item in desired currency */ - getDynamicOfferPriceForOffer(items: Item[], desiredCurrency: string, isPackOffer: boolean): number; + getDynamicOfferPriceForOffer(offerItems: Item[], desiredCurrency: string, isPackOffer: boolean): number; + /** + * @param itemTemplateId items tpl value + * @param desiredCurrency Currency to return result in + * @param item Item object (used for weapon presets) + * @param offerItems + * @param isPackOffer + * @returns + */ + getDynamicItemPrice(itemTemplateId: string, desiredCurrency: string, item?: Item, offerItems?: Item[], isPackOffer?: boolean): number; + /** + * using data from config, adjust an items price to be relative to its handbook price + * @param handbookPrices Prices of items in handbook + * @param unreasonableItemChange Change object from config + * @param itemTpl Item being adjusted + * @param price Current price of item + * @returns Adjusted price of item + */ + protected adjustUnreasonablePrice(handbookPrices: HandbookItem[], unreasonableItemChange: IUnreasonableModPrices, itemTpl: string, price: number): number; /** * Get different min/max price multipliers for different offer types (preset/pack/default) * @param isPreset Offer is a preset @@ -100,7 +123,7 @@ export declare class RagfairPriceService implements OnLoad { */ protected getOfferTypeRangeValues(isPreset: boolean, isPack: boolean): MinMax; /** - * Check to see if an items price is below its handbook price and adjust accoring to values set to config/ragfair.json + * Check to see if an items price is below its handbook price and adjust according to values set to config/ragfair.json * @param itemPrice price of item * @param itemTpl item template Id being checked * @returns adjusted price value in roubles @@ -115,12 +138,12 @@ export declare class RagfairPriceService implements OnLoad { protected randomiseOfferPrice(existingPrice: number, rangeValues: MinMax): 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 weaponRootItem base weapon + * @param weaponWithChildren weapon plus mods * @param existingPrice price of existing base weapon * @returns price of weapon in roubles */ - protected getWeaponPresetPrice(item: Item, items: Item[], existingPrice: number): number; + protected getWeaponPresetPrice(weaponRootItem: Item, weaponWithChildren: Item[], existingPrice: number): number; /** * Get the highest price for an item that is stored in handbook or trader assorts * @param itemTpl Item to get highest price of @@ -133,7 +156,7 @@ export declare class RagfairPriceService implements OnLoad { * @param presets weapon presets to choose from * @returns Default preset object */ - protected getWeaponPreset(presets: IPreset[], weapon: Item): { + protected getWeaponPreset(weapon: Item): { isDefault: boolean; preset: IPreset; }; diff --git a/TypeScript/23CustomAbstractChatBot/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/RagfairRequiredItemsService.d.ts index 3d030c2..cfc224d 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/RagfairRequiredItemsService.d.ts @@ -1,12 +1,13 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; protected ragfairOfferService: RagfairOfferService; protected requiredItemsCache: {}; constructor(logger: ILogger, paymentHelper: PaymentHelper, ragfairOfferService: RagfairOfferService); - getRequiredItemsById(searchId: string): any; + getRequiredItemsById(searchId: string): IRagfairOffer[]; buildRequiredItemTable(): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/services/RagfairTaxService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/RagfairTaxService.d.ts index e72228f..4e4e648 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/RagfairTaxService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; @@ -16,6 +16,16 @@ export declare class RagfairTaxService { storeClientOfferTaxValue(sessionId: string, offer: IStorePlayerOfferTaxAmountRequestData): void; clearStoredOfferTaxById(offerIdToRemove: string): void; getStoredClientOfferTaxValueById(offerIdToGet: string): IStorePlayerOfferTaxAmountRequestData; + /** + // This method, along with calculateItemWorth, is trying to mirror the client-side code found in the method "CalculateTaxPrice". + // It's structured to resemble the client-side code as closely as possible - avoid making any big structure changes if it's not necessary. + * @param item Item being sold on flea + * @param pmcData player profile + * @param requirementsValue + * @param offerItemCount Number of offers being created + * @param sellInOnePiece + * @returns Tax in roubles + */ 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/TypeScript/23CustomAbstractChatBot/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/23CustomAbstractChatBot/types/services/RepairService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/RepairService.d.ts index cb0070f..9203417 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/RepairService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/RepairService.d.ts @@ -1,22 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; @@ -82,11 +83,11 @@ export declare class RepairService { protected getKitDivisor(itemToRepairDetails: ITemplateItem, isArmor: boolean, pmcData: IPmcData): number; /** * Get the bonus multiplier for a skill from a player profile - * @param skillBonusName Name of bonus to get multipler of + * @param skillBonus Bonus to get multipler of * @param pmcData Player profile to look in for skill * @returns Multiplier value */ - protected getBonusMultiplierValue(skillBonusName: string, pmcData: IPmcData): number; + protected getBonusMultiplierValue(skillBonus: BonusType, pmcData: IPmcData): number; /** * Should a repair kit apply total durability loss on repair * @param pmcData Player profile @@ -125,12 +126,12 @@ export declare class RepairService { * @param itemTemplate Item to check for skill * @returns Skill name */ - protected getItemSkillType(itemTemplate: ITemplateItem): SkillTypes; + protected getItemSkillType(itemTemplate: ITemplateItem): SkillTypes | undefined; /** * Ensure multiplier is between 1 and 0.01 - * @param receiveDurabilityMaxPercent Max durabiltiy percent + * @param receiveDurabilityMaxPercent Max durability percent * @param receiveDurabilityPercent current durability percent - * @returns durability multipler value + * @returns durability multiplier value */ protected getDurabilityMultiplier(receiveDurabilityMaxPercent: number, receiveDurabilityPercent: number): number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/services/SeasonalEventService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/SeasonalEventService.d.ts index 3e20409..4162e14 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/SeasonalEventService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/SeasonalEventService.d.ts @@ -1,17 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; @@ -24,8 +26,11 @@ export declare class SeasonalEventService { protected seasonalEventConfig: ISeasonalEventConfig; protected questConfig: IQuestConfig; protected httpConfig: IHttpConfig; - protected halloweenEventActive: any; - protected christmasEventActive: any; + protected weatherConfig: IWeatherConfig; + protected halloweenEventActive: boolean; + protected christmasEventActive: boolean; + /** All events active at this point in time */ + protected currentlyActiveEvents: SeasonalEventType[]; constructor(logger: ILogger, databaseServer: DatabaseServer, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer); protected get christmasEventItems(): string[]; protected get halloweenEventItems(): string[]; @@ -48,11 +53,12 @@ export declare class SeasonalEventService { */ itemIsSeasonalRelated(itemTpl: string): boolean; /** - * Get an array of items that appear during a seasonal event - * returns multiple seasonal event items if they are both active + * Get an array of seasonal items that should not appear + * e.g. if halloween is active, only return christmas items + * or, if halloween and christmas are inactive, return both sets of items * @returns array of tpl strings */ - getAllSeasonalEventItems(): string[]; + getInactiveSeasonalEventItems(): string[]; /** * Is a seasonal event currently active * @returns true if event is active @@ -97,12 +103,13 @@ export declare class SeasonalEventService { */ enableSeasonalEvents(sessionId: string): void; protected cacheActiveEvents(): void; + getActiveWeatherSeason(): Season; /** * Iterate through bots inventory and loot to find and remove christmas items (as defined in SeasonalEventService) - * @param nodeInventory Bots inventory to iterate over + * @param botInventory Bots inventory to iterate over * @param botRole the role of the bot being processed */ - removeChristmasItemsFromBotInventory(nodeInventory: Inventory, botRole: string): void; + removeChristmasItemsFromBotInventory(botInventory: Inventory, botRole: string): void; /** * Make adjusted to server code based on the name of the event passed in * @param sessionId Player id @@ -110,6 +117,9 @@ export declare class SeasonalEventService { * @param eventName Name of the event to enable. e.g. Christmas */ protected updateGlobalEvents(sessionId: string, globalConfig: IConfig, eventType: SeasonalEventType): void; + protected adjustZryachiyMeleeChance(): void; + protected enableHalloweenSummonEvent(): void; + protected addEventBossesToMaps(eventType: SeasonalEventType): void; /** * Change trader icons to be more event themed (Halloween only so far) * @param eventType What event is active @@ -139,4 +149,11 @@ export declare class SeasonalEventService { * @param giftkey Key of gift to give */ protected giveGift(playerId: string, giftkey: string): void; + /** + * Get the underlying bot type for an event bot e.g. `peacefullZryachiyEvent` will return `bossZryachiy` + * @param eventBotRole Event bot role type + * @returns Bot role as string + */ + getBaseRoleForEventBot(eventBotRole: string): string; + enableSnow(): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/services/TraderAssortService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/TraderAssortService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/23CustomAbstractChatBot/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/TraderPurchasePersisterService.d.ts index cd7518c..0ad76c9 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/TraderPurchasePersisterService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ export declare class TraderPurchasePersisterService { protected logger: ILogger; protected timeUtil: TimeUtil; + protected randomUtil: RandomUtil; protected profileHelper: ProfileHelper; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, randomUtil: RandomUtil, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer); /** * Get the purchases made from a trader for this profile before the last trader reset * @param sessionId Session id @@ -23,6 +25,14 @@ export declare class TraderPurchasePersisterService { * @returns Dict of assort id and count purchased */ getProfileTraderPurchases(sessionId: string, traderId: string): Record; + /** + * Get a purchase made from a trader for requested profile before the last trader reset + * @param sessionId Session id + * @param traderId Trader to loop up purchases for + * @param assortId Id of assort to get data for + * @returns TraderPurchaseData + */ + getProfileTraderPurchase(sessionId: string, traderId: string, assortId: string): TraderPurchaseData; /** * Remove all trader purchase records from all profiles that exist * @param traderId Traders id diff --git a/TypeScript/23CustomAbstractChatBot/types/services/TraderServicesService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/TraderServicesService.d.ts new file mode 100644 index 0000000..111c71a --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/services/TraderServicesService.d.ts @@ -0,0 +1,13 @@ +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +export declare class TraderServicesService { + protected profileHelper: ProfileHelper; + protected logger: ILogger; + protected databaseServer: DatabaseServer; + protected cloner: ICloner; + constructor(profileHelper: ProfileHelper, logger: ILogger, databaseServer: DatabaseServer, cloner: ICloner); + getTraderServices(sessionId: string, traderId: string): ITraderServiceModel[]; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/cache/BundleHashCacheService.d.ts new file mode 100644 index 0000000..f8289c2 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/services/cache/BundleHashCacheService.d.ts @@ -0,0 +1,18 @@ +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class BundleHashCacheService { + protected vfs: VFS; + protected hashUtil: HashUtil; + protected jsonUtil: JsonUtil; + protected logger: ILogger; + protected bundleHashes: Record; + protected readonly bundleHashCachePath = "./user/cache/bundleHashCache.json"; + constructor(vfs: VFS, hashUtil: HashUtil, jsonUtil: JsonUtil, logger: ILogger); + getStoredValue(key: string): number; + storeValue(key: string, value: number): void; + matchWithStoredHash(bundlePath: string, hash: number): boolean; + calculateAndMatchHash(bundlePath: string): boolean; + calculateAndStoreHash(bundlePath: string): void; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/services/cache/ModHashCacheService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/cache/ModHashCacheService.d.ts new file mode 100644 index 0000000..3cb8ff8 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/services/cache/ModHashCacheService.d.ts @@ -0,0 +1,18 @@ +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class ModHashCacheService { + protected vfs: VFS; + protected hashUtil: HashUtil; + protected jsonUtil: JsonUtil; + protected logger: ILogger; + protected modHashes: Record; + protected readonly modCachePath = "./user/cache/modCache.json"; + constructor(vfs: VFS, hashUtil: HashUtil, jsonUtil: JsonUtil, logger: ILogger); + getStoredValue(key: string): string; + storeValue(key: string, value: string): void; + matchWithStoredHash(modName: string, hash: string): boolean; + calculateAndCompareHash(modName: string, modContent: string): boolean; + calculateAndStoreHash(modName: string, modContent: string): void; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/services/mod/CustomItemService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/mod/CustomItemService.d.ts index 29329dc..0c82e8b 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/mod/CustomItemService.d.ts @@ -1,19 +1,21 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; + protected itemBaseClassService: ItemBaseClassService; + protected cloner: ICloner; protected tables: IDatabaseTables; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, itemBaseClassService: ItemBaseClassService, cloner: ICloner); /** * 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 @@ -79,6 +81,11 @@ export declare class CustomItemService { * @param fleaPriceRoubles Price of the new item */ protected addToFleaPriceDb(newItemId: string, fleaPriceRoubles: number): void; + /** + * Add a weapon to the hideout weapon shelf whitelist + * @param newItemId Weapon id to add + */ + protected addToWeaponShelf(newItemId: string): void; /** * Add a custom weapon to PMCs loadout * @param weaponTpl Custom weapon tpl to add to PMCs diff --git a/TypeScript/23CustomAbstractChatBot/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/23CustomAbstractChatBot/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/23CustomAbstractChatBot/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/mod/httpListener/HttpListenerMod.d.ts index ebfa946..75e42ee 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,10 +1,10 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; constructor(canHandleOverride: (sessionId: string, req: IncomingMessage) => boolean, handleOverride: (sessionId: string, req: IncomingMessage, resp: ServerResponse) => void); canHandle(sessionId: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): void; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; } diff --git a/TypeScript/23CustomAbstractChatBot/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/23CustomAbstractChatBot/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/23CustomAbstractChatBot/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/23CustomAbstractChatBot/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/23CustomAbstractChatBot/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/23CustomAbstractChatBot/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/App.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/App.d.ts index 64800ce..211044e 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/App.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/App.d.ts @@ -1,22 +1,24 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected encodingUtil: EncodingUtil; + protected httpServer: HttpServer; protected onLoadComponents: OnLoad[]; protected onUpdateComponents: OnUpdate[]; protected onUpdateLastRun: {}; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, localisationService: LocalisationService, configServer: ConfigServer, encodingUtil: EncodingUtil, onLoadComponents: OnLoad[], onUpdateComponents: OnUpdate[]); + constructor(logger: ILogger, timeUtil: TimeUtil, localisationService: LocalisationService, configServer: ConfigServer, encodingUtil: EncodingUtil, httpServer: HttpServer, onLoadComponents: OnLoad[], onUpdateComponents: OnUpdate[]); load(): Promise; protected update(onUpdateComponents: OnUpdate[]): Promise; protected logUpdateException(err: any, updateable: OnUpdate): void; diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/AsyncQueue.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/AsyncQueue.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/CompareUtil.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/CompareUtil.d.ts new file mode 100644 index 0000000..a5b94d5 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/utils/CompareUtil.d.ts @@ -0,0 +1,11 @@ +export declare class CompareUtil { + private static typesToCheckAgainst; + /** + * This function does an object comparison, equivalent to applying reflections + * and scanning for all possible properties including arrays. + * @param v1 value 1 to compare + * @param v2 value 2 to compare + * @returns true if equal, false if not + */ + recursiveCompare(v1: any, v2: any): boolean; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/DatabaseImporter.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/HashUtil.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/HashUtil.d.ts index c51fb5c..427c186 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/HashUtil.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/HashUtil.d.ts @@ -1,6 +1,8 @@ /// +/// import crypto from "node:crypto"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import fs from "node:fs"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); @@ -11,6 +13,7 @@ export declare class HashUtil { generate(): string; generateMd5ForData(data: string): string; generateSha1ForData(data: string): string; + generateCRC32ForFile(filePath: fs.PathLike): number; /** * Create a hash for the data parameter * @param algorithm algorithm to use to hash diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/HttpFileUtil.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/HttpFileUtil.d.ts index 4296fe4..cc0d9ef 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/HttpFileUtil.d.ts @@ -1,8 +1,8 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); - sendFile(resp: ServerResponse, file: any): void; + sendFile(resp: ServerResponse, filePath: string): void; } diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/HttpResponseUtil.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/HttpResponseUtil.d.ts index 9868c1e..865c8e5 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; @@ -27,5 +27,12 @@ export declare class HttpResponseUtil { emptyResponse(): IGetBodyResponseData; nullResponse(): INullResponseData; emptyArrayResponse(): IGetBodyResponseData; + /** + * Add an error into the 'warnings' array of the client response message + * @param output IItemEventRouterResponse + * @param message Error message + * @param errorCode Error code + * @returns IItemEventRouterResponse + */ appendErrorToOutput(output: IItemEventRouterResponse, message?: string, errorCode?: BackendErrorCodes): IItemEventRouterResponse; } diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/ImporterUtil.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/ImporterUtil.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/JsonUtil.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/JsonUtil.d.ts index befc3cb..b59b0f9 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/JsonUtil.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; @@ -72,6 +72,7 @@ export declare class JsonUtil { * Convert into string and back into object to clone object * @param objectToClone Item to clone * @returns Cloned parameter + * @deprecated Use ICloner implementations, such as RecursiveCloner or StructuredCloner */ clone(objectToClone: T): T; } diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/ObjectId.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/ObjectId.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/RagfairOfferHolder.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/RagfairOfferHolder.d.ts index f3c9957..20f54a9 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/RagfairOfferHolder.d.ts @@ -1,18 +1,25 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { + protected maxOffersPerTemplate: number; + protected ragfairServerHelper: RagfairServerHelper; protected offersById: Map; protected offersByTemplate: Map>; protected offersByTrader: Map>; - constructor(); + constructor(maxOffersPerTemplate: number, ragfairServerHelper: RagfairServerHelper); getOfferById(id: string): IRagfairOffer; getOffersByTemplate(templateId: string): Array; getOffersByTrader(traderId: string): Array; getOffers(): Array; addOffers(offers: Array): void; addOffer(offer: IRagfairOffer): void; + /** + * Purge offer from offer cache + * @param offer Offer to remove + */ removeOffer(offer: IRagfairOffer): void; removeOffers(offers: Array): void; - removeOfferByTrader(traderId: string): void; + removeAllOffersByTrader(traderId: string): void; /** * Get an array of stale offers that are still shown to player * @returns IRagfairOffer array diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/RandomUtil.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/RandomUtil.d.ts index 3552fb4..1cee659 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/RandomUtil.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. @@ -18,8 +18,8 @@ import { MathUtil } from "@spt-aki/utils/MathUtil"; */ export declare class ProbabilityObjectArray extends Array> { private mathUtil; - private jsonUtil; - constructor(mathUtil: MathUtil, jsonUtil: JsonUtil, ...items: ProbabilityObject[]); + private cloner; + constructor(mathUtil: MathUtil, cloner: ICloner, ...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 @@ -103,9 +103,9 @@ export declare class ProbabilityObject { constructor(key: K, relativeProbability: number, data?: V); } export declare class RandomUtil { - protected jsonUtil: JsonUtil; + protected cloner: ICloner; protected logger: ILogger; - constructor(jsonUtil: JsonUtil, logger: ILogger); + constructor(cloner: ICloner, logger: ILogger); getInt(min: number, max: number): number; getIntEx(max: number): number; getFloat(min: number, max: number): number; @@ -131,12 +131,13 @@ export declare class RandomUtil { [x: string]: any; }): any; /** - * Draw from normal distribution - * @param {number} mu Mean of the normal distribution + * Generate a normally distributed random number + * Uses the Box-Muller transform + * @param {number} mean 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; + getNormallyDistributedRandomNumber(mean: number, sigma: number, attempt?: number): number; /** * Draw Random integer low inclusive, high exclusive * if high is not set we draw from 0 to low (exclusive) @@ -149,11 +150,11 @@ export declare class RandomUtil { * 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 or without replacement from the input array(defult true) + * @param {integer} count The number of times we want to draw + * @param {boolean} replacement Draw with or without replacement from the input array(default true) * @return {array} Array consisting of N random elements */ - drawRandomFromList(list: Array, count?: number, replacement?: boolean): Array; + drawRandomFromList(originalList: 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 @@ -170,4 +171,12 @@ export declare class RandomUtil { * @returns Shuffled array */ shuffle(array: Array): Array; + /** + * Rolls for a probability based on chance + * @param number Probability Chance as float (0-1) + * @returns If roll succeed or not + * @example + * rollForChanceProbability(0.25); // returns true 25% probability + */ + rollForChanceProbability(probabilityChance: number): boolean; } diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/TimeUtil.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/TimeUtil.d.ts index 1367e26..2b844ba 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/TimeUtil.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/TimeUtil.d.ts @@ -1,31 +1,65 @@ /** - * Utility class to handle time related problems + * Utility class to handle time related operations. */ export declare class TimeUtil { - static readonly oneHourAsSeconds = 3600; + static readonly ONE_HOUR_AS_SECONDS = 3600; + /** + * Pads a number with a leading zero if it is less than 10. + * + * @param {number} number - The number to pad. + * @returns {string} The padded number as a string. + */ + protected pad(number: number): string; + /** + * Formats the time part of a date as a UTC string. + * + * @param {Date} date - The date to format in UTC. + * @returns {string} The formatted time as 'HH-MM-SS'. + */ formatTime(date: Date): string; + /** + * Formats the date part of a date as a UTC string. + * + * @param {Date} date - The date to format in UTC. + * @returns {string} The formatted date as 'YYYY-MM-DD'. + */ formatDate(date: Date): string; + /** + * Gets the current date as a formatted UTC string. + * + * @returns {string} The current date as 'YYYY-MM-DD'. + */ getDate(): string; + /** + * Gets the current time as a formatted UTC string. + * + * @returns {string} The current time as 'HH-MM-SS'. + */ getTime(): string; /** - * Get timestamp in seconds - * @returns + * Gets the current timestamp in seconds in UTC. + * + * @returns {number} The current timestamp in seconds since the Unix epoch in UTC. */ getTimestamp(): number; /** - * mail in eft requires time be in a specific format - * @returns current time in format: 00:00 (hh:mm) + * Gets the current time in UTC in a format suitable for mail in EFT. + * + * @returns {string} The current time as 'HH:MM' in UTC. */ getTimeMailFormat(): string; /** - * Mail in eft requires date be in a specific format - * @returns current date in format: 00.00.0000 (dd.mm.yyyy) + * Gets the current date in UTC in a format suitable for emails in EFT. + * + * @returns {string} The current date as 'DD.MM.YYYY' in UTC. */ getDateMailFormat(): string; /** - * Convert hours into seconds - * @param hours hours to convert to seconds - * @returns number + * Converts a number of hours into seconds. + * + * @param {number} hours - The number of hours to convert. + * @returns {number} The equivalent number of seconds. */ getHoursAsSeconds(hours: number): number; + getTimestampOfNextHour(): number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/UUidGenerator.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/UUidGenerator.d.ts deleted file mode 100644 index 0d9ad2f..0000000 --- a/TypeScript/23CustomAbstractChatBot/types/utils/UUidGenerator.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { IUUidGenerator } from "@spt-aki/models/spt/utils/IUuidGenerator"; -export declare class UUidGenerator implements IUUidGenerator { - generate(): string; -} diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/VFS.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/VFS.d.ts index eefcccb..20f428a 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/VFS.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/VFS.d.ts @@ -1,12 +1,10 @@ /// /// -import fs from "node:fs"; import "reflect-metadata"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { IUUidGenerator } from "@spt-aki/models/spt/utils/IUuidGenerator"; +import fs from "node:fs"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; 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 & { @@ -24,7 +22,7 @@ export declare class VFS { unlinkPromisify: (path: fs.PathLike) => Promise; rmdirPromisify: (path: fs.PathLike) => Promise; renamePromisify: (oldPath: fs.PathLike, newPath: fs.PathLike) => Promise; - constructor(asyncQueue: IAsyncQueue, uuidGenerator: IUUidGenerator); + constructor(asyncQueue: IAsyncQueue); exists(filepath: fs.PathLike): boolean; existsAsync(filepath: fs.PathLike): Promise; copyFile(filepath: fs.PathLike, target: fs.PathLike): void; @@ -48,8 +46,8 @@ export declare class VFS { removeDirAsync(filepath: string): Promise; rename(oldPath: string, newPath: string): void; renameAsync(oldPath: string, newPath: string): Promise; - protected lockFileSync(filepath: any): void; - protected checkFileSync(filepath: any): any; + protected lockFileSync(filepath: any): () => void; + protected checkFileSync(filepath: any): boolean; protected unlockFileSync(filepath: any): void; getFileExtension(filepath: string): string; stripExtension(filepath: string): string; diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/Watermark.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/Watermark.d.ts index 703d7bc..27b5b03 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/Watermark.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,10 +17,10 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; - constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; + constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); initialize(): void; /** * Get a version string (x.x.x) or (x.x.x-BLEEDINGEDGE) OR (X.X.X (18xxx)) @@ -40,6 +40,4 @@ export declare class Watermark { protected resetCursor(): void; /** Draw the watermark */ protected draw(): void; - /** Caculate text length */ - protected textLength(s: string): number; } diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/cloners/ICloner.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/cloners/ICloner.d.ts new file mode 100644 index 0000000..77c0541 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/utils/cloners/ICloner.d.ts @@ -0,0 +1,3 @@ +export interface ICloner { + clone(obj: T): T; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/cloners/JsonCloner.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/cloners/JsonCloner.d.ts new file mode 100644 index 0000000..130dadb --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/utils/cloners/JsonCloner.d.ts @@ -0,0 +1,4 @@ +import type { ICloner } from "@spt/utils/cloners/ICloner"; +export declare class JsonCloner implements ICloner { + clone(obj: T): T; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/cloners/RecursiveCloner.d.ts new file mode 100644 index 0000000..9ea2882 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/utils/cloners/RecursiveCloner.d.ts @@ -0,0 +1,5 @@ +import type { ICloner } from "@spt/utils/cloners/ICloner"; +export declare class RecursiveCloner implements ICloner { + private static primitives; + clone(obj: T): T; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/cloners/StructuredCloner.d.ts new file mode 100644 index 0000000..6401443 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/utils/cloners/StructuredCloner.d.ts @@ -0,0 +1,4 @@ +import type { ICloner } from "@spt/utils/cloners/ICloner"; +export declare class StructuredCloner implements ICloner { + clone(obj: T): T; +} diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/collections/lists/LinkedList.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/collections/lists/LinkedList.d.ts index aca0659..6a084fa 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/collections/lists/LinkedList.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/collections/lists/LinkedList.d.ts @@ -1,30 +1,56 @@ 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; + private head?; + private tail?; + private _length; + get length(): number; + private set length(value); + constructor(); + /** + * Adds an element to the start of the list. + */ + prepend(value: T): void; + /** + * Adds an element at the given index to the list. + */ + insertAt(value: T, idx: number): void; + /** + * Adds an element to the end of the list. + */ + append(value: T): void; + /** + * Returns the first element's value. + */ + getHead(): T; + /** + * Finds the element from the list at the given index and returns it's value. + */ + get(idx: number): T; + /** + * Returns the last element's value. + */ + getTail(): T; + /** + * Finds and removes the first element from a list that has a value equal to the given value, returns it's value if it successfully removed it. + */ + remove(value: T): T; + /** + * Removes the first element from the list and returns it's value. If the list is empty, undefined is returned and the list is not modified. + */ + shift(): T; + /** + * Removes the element from the list at the given index and returns it's value. + */ + removeAt(idx: number): T; + /** + * Removes the last element from the list and returns it's value. If the list is empty, undefined is returned and the list is not modified. + */ + pop(): T; + /** + * Returns an iterable of index, value pairs for every entry in the list. + */ + entries(): IterableIterator<[number, T]>; + /** + * Returns an iterable of values in the list. + */ + values(): IterableIterator; } diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/collections/lists/Nodes.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/collections/lists/Nodes.d.ts new file mode 100644 index 0000000..8e29e59 --- /dev/null +++ b/TypeScript/23CustomAbstractChatBot/types/utils/collections/lists/Nodes.d.ts @@ -0,0 +1,6 @@ +export declare class LinkedListNode { + value: T; + prev?: LinkedListNode; + next?: LinkedListNode; + constructor(value: T, prev?: LinkedListNode, next?: LinkedListNode); +} diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/collections/queue/Queue.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/collections/queue/Queue.d.ts index 645d462..8ea3d32 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/collections/queue/Queue.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/collections/queue/Queue.d.ts @@ -1,12 +1,21 @@ export declare class Queue { - private elements; - private head; - private tail; + private list; + get length(): number; constructor(); + /** + * Adds an element to the end of the queue. + */ enqueue(element: T): void; + /** + * Iterates over the elements received and adds each one to the end of the queue. + */ enqueueAll(elements: T[]): void; + /** + * Removes the first element from the queue and returns it's value. If the queue is empty, undefined is returned and the queue is not modified. + */ dequeue(): T; + /** + * Returns the first element's value. + */ peek(): T; - getLength(): number; - isEmpty(): boolean; } diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/logging/AbstractWinstonLogger.d.ts index 4d2eba7..7098f85 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,16 +1,14 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IUUidGenerator } from "@spt-aki/models/spt/utils/IUuidGenerator"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; - protected uuidGenerator: IUUidGenerator; protected showDebugInConsole: boolean; protected filePath: string; protected logLevels: { @@ -44,12 +42,13 @@ export declare abstract class AbstractWinstonLogger implements ILogger { }; protected logger: winston.Logger & SptLogger; protected writeFilePromisify: (path: fs.PathLike, data: string, options?: any) => Promise; - constructor(asyncQueue: IAsyncQueue, uuidGenerator: IUUidGenerator); + constructor(asyncQueue: IAsyncQueue); protected abstract isLogToFile(): boolean; protected abstract isLogToConsole(): boolean; protected abstract isLogExceptions(): boolean; protected abstract getFilePath(): string; protected abstract getFileName(): string; + protected getLogFrequency(): string; protected getLogMaxSize(): string; protected getLogMaxFiles(): string; writeToLogFile(data: string | Daum): Promise; diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/logging/WinstonMainLogger.d.ts index ae1b6fc..8a634b2 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/logging/WinstonMainLogger.d.ts @@ -1,10 +1,8 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { IUUidGenerator } from "@spt-aki/models/spt/utils/IUuidGenerator"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; - protected uuidGenerator: IUUidGenerator; - constructor(asyncQueue: IAsyncQueue, uuidGenerator: IUUidGenerator); + constructor(asyncQueue: IAsyncQueue); protected isLogExceptions(): boolean; protected isLogToFile(): boolean; protected isLogToConsole(): boolean; diff --git a/TypeScript/23CustomAbstractChatBot/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/23CustomAbstractChatBot/types/utils/logging/WinstonRequestLogger.d.ts index be14f1b..0988b6f 100644 --- a/TypeScript/23CustomAbstractChatBot/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/23CustomAbstractChatBot/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,10 +1,8 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { IUUidGenerator } from "@spt-aki/models/spt/utils/IUuidGenerator"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; - protected uuidGenerator: IUUidGenerator; - constructor(asyncQueue: IAsyncQueue, uuidGenerator: IUUidGenerator); + constructor(asyncQueue: IAsyncQueue); protected isLogExceptions(): boolean; protected isLogToFile(): boolean; protected isLogToConsole(): boolean; diff --git a/TypeScript/24WebSocket/README.md b/TypeScript/24WebSocket/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/24WebSocket/README.md +++ b/TypeScript/24WebSocket/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/24WebSocket/package.json b/TypeScript/24WebSocket/package.json index ffb76e9..6bbc08a 100644 --- a/TypeScript/24WebSocket/package.json +++ b/TypeScript/24WebSocket/package.json @@ -1,7 +1,7 @@ { "name": "WebSocket", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/24WebSocket/src/CustomAkiWebSocketMessageHandler.ts b/TypeScript/24WebSocket/src/CustomSptWebSocketMessageHandler.ts similarity index 50% rename from TypeScript/24WebSocket/src/CustomAkiWebSocketMessageHandler.ts rename to TypeScript/24WebSocket/src/CustomSptWebSocketMessageHandler.ts index a817a10..b5e6687 100644 --- a/TypeScript/24WebSocket/src/CustomAkiWebSocketMessageHandler.ts +++ b/TypeScript/24WebSocket/src/CustomSptWebSocketMessageHandler.ts @@ -1,20 +1,20 @@ import { inject, injectable } from "tsyringe"; import { WebSocket, RawData } from "ws"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; // \/ dont forger this annotation here! @injectable() -export class CustomAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler +export class CustomSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { constructor( @inject("WinstonLogger") protected logger: ILogger, ) {} - public onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void + public onSptMessage(sessionID: string, client: WebSocket, message: RawData): void { - this.logger.info(`Custom AKI WebSocket Message handler received a message for ${sessionID}: ${message.toString()}`); + this.logger.info(`Custom SPT WebSocket Message handler received a message for ${sessionID}: ${message.toString()}`); } } diff --git a/TypeScript/24WebSocket/src/CustomWebSocketConnectionHandler.ts b/TypeScript/24WebSocket/src/CustomWebSocketConnectionHandler.ts index 9dd0ec8..10b30e8 100644 --- a/TypeScript/24WebSocket/src/CustomWebSocketConnectionHandler.ts +++ b/TypeScript/24WebSocket/src/CustomWebSocketConnectionHandler.ts @@ -2,8 +2,8 @@ import { IncomingMessage } from "node:http"; import { inject, injectable } from "tsyringe"; import { WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; // \/ dont forger this annotation here! @injectable() diff --git a/TypeScript/24WebSocket/src/mod.ts b/TypeScript/24WebSocket/src/mod.ts index e1f9e1b..c330376 100644 --- a/TypeScript/24WebSocket/src/mod.ts +++ b/TypeScript/24WebSocket/src/mod.ts @@ -1,19 +1,19 @@ import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; import { CustomWebSocketConnectionHandler } from "./CustomWebSocketConnectionHandler"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { CustomAkiWebSocketMessageHandler } from "./CustomAkiWebSocketMessageHandler"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { CustomSptWebSocketMessageHandler } from "./CustomSptWebSocketMessageHandler"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; -class Mod implements IPreAkiLoadMod { - public preAkiLoad(container: DependencyContainer): void { +class Mod implements IPreSptLoadMod { + public preSptLoad(container: DependencyContainer): void { // We register our Custom handlers: container.register("CustomWebSocketConnectionHandler", CustomWebSocketConnectionHandler); - container.register("CustomAkiWebSocketMessageHandler", CustomAkiWebSocketMessageHandler); + container.register("CustomSptWebSocketMessageHandler", CustomSptWebSocketMessageHandler); // Here we are binding MyCoolCommand and AnotherCoolCommand to the MyCommand dependencies types container.registerType("WebSocketConnectionHandler", "CustomWebSocketConnectionHandler"); - container.registerType("AkiWebSocketMessageHandler", "CustomAkiWebSocketMessageHandler"); + container.registerType("SptWebSocketMessageHandler", "CustomSptWebSocketMessageHandler"); } } diff --git a/TypeScript/24WebSocket/tsconfig.json b/TypeScript/24WebSocket/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/24WebSocket/tsconfig.json +++ b/TypeScript/24WebSocket/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/24WebSocket/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/24WebSocket/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/24WebSocket/types/callbacks/BotCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/24WebSocket/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/24WebSocket/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/24WebSocket/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/24WebSocket/types/callbacks/BundleCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/24WebSocket/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/24WebSocket/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/24WebSocket/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/24WebSocket/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/24WebSocket/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/24WebSocket/types/callbacks/DataCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/24WebSocket/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/24WebSocket/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/24WebSocket/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/24WebSocket/types/callbacks/GameCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/24WebSocket/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/24WebSocket/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/24WebSocket/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/24WebSocket/types/callbacks/HealthCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/24WebSocket/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/24WebSocket/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/24WebSocket/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/24WebSocket/types/callbacks/HttpCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/24WebSocket/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/24WebSocket/types/callbacks/InraidCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/24WebSocket/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/24WebSocket/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/24WebSocket/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/24WebSocket/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/24WebSocket/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/24WebSocket/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/24WebSocket/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/24WebSocket/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/24WebSocket/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/24WebSocket/types/callbacks/LocationCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/24WebSocket/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/24WebSocket/types/callbacks/MatchCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/24WebSocket/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/24WebSocket/types/callbacks/ModCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/24WebSocket/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/24WebSocket/types/callbacks/NoteCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/24WebSocket/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/24WebSocket/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/24WebSocket/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/24WebSocket/types/callbacks/PresetCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/24WebSocket/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/24WebSocket/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/24WebSocket/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/24WebSocket/types/callbacks/QuestCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/24WebSocket/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/24WebSocket/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/24WebSocket/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/24WebSocket/types/callbacks/RepairCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/24WebSocket/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/24WebSocket/types/callbacks/SaveCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/24WebSocket/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/24WebSocket/types/callbacks/TradeCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/24WebSocket/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/24WebSocket/types/callbacks/TraderCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/24WebSocket/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/24WebSocket/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/24WebSocket/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/24WebSocket/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/24WebSocket/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/24WebSocket/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/24WebSocket/types/context/ApplicationContext.d.ts b/TypeScript/24WebSocket/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/24WebSocket/types/context/ApplicationContext.d.ts +++ b/TypeScript/24WebSocket/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/24WebSocket/types/context/ContextVariable.d.ts b/TypeScript/24WebSocket/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/24WebSocket/types/context/ContextVariable.d.ts +++ b/TypeScript/24WebSocket/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/24WebSocket/types/controllers/AchievementController.d.ts b/TypeScript/24WebSocket/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/24WebSocket/types/controllers/AchievementController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/24WebSocket/types/controllers/BotController.d.ts b/TypeScript/24WebSocket/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/24WebSocket/types/controllers/BotController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/24WebSocket/types/controllers/BuildController.d.ts b/TypeScript/24WebSocket/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/24WebSocket/types/controllers/BuildController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/24WebSocket/types/controllers/ClientLogController.d.ts b/TypeScript/24WebSocket/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/24WebSocket/types/controllers/ClientLogController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/24WebSocket/types/controllers/CustomizationController.d.ts b/TypeScript/24WebSocket/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/24WebSocket/types/controllers/CustomizationController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/24WebSocket/types/controllers/DialogueController.d.ts b/TypeScript/24WebSocket/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/24WebSocket/types/controllers/DialogueController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/24WebSocket/types/controllers/GameController.d.ts b/TypeScript/24WebSocket/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/24WebSocket/types/controllers/GameController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/24WebSocket/types/controllers/HandbookController.d.ts b/TypeScript/24WebSocket/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/24WebSocket/types/controllers/HandbookController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/24WebSocket/types/controllers/HealthController.d.ts b/TypeScript/24WebSocket/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/24WebSocket/types/controllers/HealthController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/24WebSocket/types/controllers/HideoutController.d.ts b/TypeScript/24WebSocket/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/24WebSocket/types/controllers/HideoutController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/controllers/InraidController.d.ts b/TypeScript/24WebSocket/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/24WebSocket/types/controllers/InraidController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/24WebSocket/types/controllers/InsuranceController.d.ts b/TypeScript/24WebSocket/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/24WebSocket/types/controllers/InsuranceController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/24WebSocket/types/controllers/InventoryController.d.ts b/TypeScript/24WebSocket/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/24WebSocket/types/controllers/InventoryController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/24WebSocket/types/controllers/LauncherController.d.ts b/TypeScript/24WebSocket/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/24WebSocket/types/controllers/LauncherController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/24WebSocket/types/controllers/LocationController.d.ts b/TypeScript/24WebSocket/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/24WebSocket/types/controllers/LocationController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/24WebSocket/types/controllers/MatchController.d.ts b/TypeScript/24WebSocket/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/24WebSocket/types/controllers/MatchController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/24WebSocket/types/controllers/NoteController.d.ts b/TypeScript/24WebSocket/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/24WebSocket/types/controllers/NoteController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/24WebSocket/types/controllers/NotifierController.d.ts b/TypeScript/24WebSocket/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/24WebSocket/types/controllers/NotifierController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/24WebSocket/types/controllers/PresetController.d.ts b/TypeScript/24WebSocket/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/24WebSocket/types/controllers/PresetController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/24WebSocket/types/controllers/ProfileController.d.ts b/TypeScript/24WebSocket/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/24WebSocket/types/controllers/ProfileController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/24WebSocket/types/controllers/QuestController.d.ts b/TypeScript/24WebSocket/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/24WebSocket/types/controllers/QuestController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/24WebSocket/types/controllers/RagfairController.d.ts b/TypeScript/24WebSocket/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/24WebSocket/types/controllers/RagfairController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/24WebSocket/types/controllers/RepairController.d.ts b/TypeScript/24WebSocket/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/24WebSocket/types/controllers/RepairController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/24WebSocket/types/controllers/RepeatableQuestController.d.ts b/TypeScript/24WebSocket/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/24WebSocket/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/24WebSocket/types/controllers/TradeController.d.ts b/TypeScript/24WebSocket/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/24WebSocket/types/controllers/TradeController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/24WebSocket/types/controllers/TraderController.d.ts b/TypeScript/24WebSocket/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/24WebSocket/types/controllers/TraderController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/24WebSocket/types/controllers/WeatherController.d.ts b/TypeScript/24WebSocket/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/24WebSocket/types/controllers/WeatherController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/24WebSocket/types/controllers/WishlistController.d.ts b/TypeScript/24WebSocket/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/24WebSocket/types/controllers/WishlistController.d.ts +++ b/TypeScript/24WebSocket/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/24WebSocket/types/di/Router.d.ts b/TypeScript/24WebSocket/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/24WebSocket/types/di/Router.d.ts +++ b/TypeScript/24WebSocket/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/24WebSocket/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/24WebSocket/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/24WebSocket/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/24WebSocket/types/generators/BotGenerator.d.ts b/TypeScript/24WebSocket/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/24WebSocket/types/generators/BotGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/generators/BotInventoryGenerator.d.ts b/TypeScript/24WebSocket/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/24WebSocket/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/generators/BotLevelGenerator.d.ts b/TypeScript/24WebSocket/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/24WebSocket/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/24WebSocket/types/generators/BotLootGenerator.d.ts b/TypeScript/24WebSocket/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/24WebSocket/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/generators/BotWeaponGenerator.d.ts b/TypeScript/24WebSocket/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/24WebSocket/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/24WebSocket/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/24WebSocket/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/24WebSocket/types/generators/LocationGenerator.d.ts b/TypeScript/24WebSocket/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/24WebSocket/types/generators/LocationGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/24WebSocket/types/generators/LootGenerator.d.ts b/TypeScript/24WebSocket/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/24WebSocket/types/generators/LootGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/24WebSocket/types/generators/PMCLootGenerator.d.ts b/TypeScript/24WebSocket/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/24WebSocket/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/24WebSocket/types/generators/PlayerScavGenerator.d.ts b/TypeScript/24WebSocket/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/24WebSocket/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/24WebSocket/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/24WebSocket/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/24WebSocket/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/24WebSocket/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/24WebSocket/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/24WebSocket/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/24WebSocket/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/24WebSocket/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/24WebSocket/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/24WebSocket/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/24WebSocket/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/24WebSocket/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/24WebSocket/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/24WebSocket/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/24WebSocket/types/generators/WeatherGenerator.d.ts b/TypeScript/24WebSocket/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/24WebSocket/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/24WebSocket/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/24WebSocket/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/24WebSocket/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/24WebSocket/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/24WebSocket/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/24WebSocket/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/24WebSocket/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/24WebSocket/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/24WebSocket/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/24WebSocket/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/24WebSocket/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/24WebSocket/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/24WebSocket/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/24WebSocket/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/24WebSocket/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/24WebSocket/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/24WebSocket/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/24WebSocket/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/24WebSocket/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/24WebSocket/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/24WebSocket/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/24WebSocket/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/24WebSocket/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/24WebSocket/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/24WebSocket/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/24WebSocket/types/helpers/AssortHelper.d.ts b/TypeScript/24WebSocket/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/24WebSocket/types/helpers/AssortHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/24WebSocket/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/24WebSocket/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/24WebSocket/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/24WebSocket/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/24WebSocket/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/24WebSocket/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/24WebSocket/types/helpers/BotHelper.d.ts b/TypeScript/24WebSocket/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/24WebSocket/types/helpers/BotHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/24WebSocket/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/24WebSocket/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/24WebSocket/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/24WebSocket/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/24WebSocket/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/24WebSocket/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/24WebSocket/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/24WebSocket/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/24WebSocket/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/24WebSocket/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/24WebSocket/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/24WebSocket/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/24WebSocket/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/24WebSocket/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/24WebSocket/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/24WebSocket/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/24WebSocket/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/24WebSocket/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/24WebSocket/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/24WebSocket/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/24WebSocket/types/helpers/DialogueHelper.d.ts b/TypeScript/24WebSocket/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/24WebSocket/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/24WebSocket/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/24WebSocket/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/24WebSocket/types/helpers/GameEventHelper.d.ts b/TypeScript/24WebSocket/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/24WebSocket/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/24WebSocket/types/helpers/HandbookHelper.d.ts b/TypeScript/24WebSocket/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/24WebSocket/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/24WebSocket/types/helpers/HealthHelper.d.ts b/TypeScript/24WebSocket/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/24WebSocket/types/helpers/HealthHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/24WebSocket/types/helpers/HideoutHelper.d.ts b/TypeScript/24WebSocket/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/24WebSocket/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/helpers/HttpServerHelper.d.ts b/TypeScript/24WebSocket/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/24WebSocket/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/24WebSocket/types/helpers/InRaidHelper.d.ts b/TypeScript/24WebSocket/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/24WebSocket/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/24WebSocket/types/helpers/InventoryHelper.d.ts b/TypeScript/24WebSocket/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/24WebSocket/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/24WebSocket/types/helpers/ItemHelper.d.ts b/TypeScript/24WebSocket/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/24WebSocket/types/helpers/ItemHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/helpers/NotificationSendHelper.d.ts b/TypeScript/24WebSocket/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/24WebSocket/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/24WebSocket/types/helpers/NotifierHelper.d.ts b/TypeScript/24WebSocket/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/24WebSocket/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/24WebSocket/types/helpers/PaymentHelper.d.ts b/TypeScript/24WebSocket/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/24WebSocket/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/24WebSocket/types/helpers/PresetHelper.d.ts b/TypeScript/24WebSocket/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/24WebSocket/types/helpers/PresetHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/24WebSocket/types/helpers/ProbabilityHelper.d.ts b/TypeScript/24WebSocket/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/24WebSocket/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/24WebSocket/types/helpers/ProfileHelper.d.ts b/TypeScript/24WebSocket/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/24WebSocket/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/24WebSocket/types/helpers/QuestConditionHelper.d.ts b/TypeScript/24WebSocket/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/24WebSocket/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/24WebSocket/types/helpers/QuestHelper.d.ts b/TypeScript/24WebSocket/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/24WebSocket/types/helpers/QuestHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/24WebSocket/types/helpers/RagfairHelper.d.ts b/TypeScript/24WebSocket/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/24WebSocket/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/24WebSocket/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/24WebSocket/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/24WebSocket/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/24WebSocket/types/helpers/RagfairSellHelper.d.ts b/TypeScript/24WebSocket/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/24WebSocket/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/24WebSocket/types/helpers/RagfairServerHelper.d.ts b/TypeScript/24WebSocket/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/24WebSocket/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/24WebSocket/types/helpers/RagfairSortHelper.d.ts b/TypeScript/24WebSocket/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/24WebSocket/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/24WebSocket/types/helpers/RepairHelper.d.ts b/TypeScript/24WebSocket/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/24WebSocket/types/helpers/RepairHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/24WebSocket/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/24WebSocket/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/24WebSocket/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/24WebSocket/types/helpers/SecureContainerHelper.d.ts b/TypeScript/24WebSocket/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/24WebSocket/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/24WebSocket/types/helpers/TradeHelper.d.ts b/TypeScript/24WebSocket/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/24WebSocket/types/helpers/TradeHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/24WebSocket/types/helpers/TraderAssortHelper.d.ts b/TypeScript/24WebSocket/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/24WebSocket/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/24WebSocket/types/helpers/TraderHelper.d.ts b/TypeScript/24WebSocket/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/24WebSocket/types/helpers/TraderHelper.d.ts +++ b/TypeScript/24WebSocket/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/24WebSocket/types/loaders/BundleLoader.d.ts b/TypeScript/24WebSocket/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/24WebSocket/types/loaders/BundleLoader.d.ts +++ b/TypeScript/24WebSocket/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/24WebSocket/types/loaders/ModLoadOrder.d.ts b/TypeScript/24WebSocket/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/24WebSocket/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/24WebSocket/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/24WebSocket/types/loaders/ModTypeCheck.d.ts b/TypeScript/24WebSocket/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/24WebSocket/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/24WebSocket/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/24WebSocket/types/loaders/PostAkiModLoader.d.ts b/TypeScript/24WebSocket/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/24WebSocket/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/24WebSocket/types/loaders/PostDBModLoader.d.ts b/TypeScript/24WebSocket/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/24WebSocket/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/24WebSocket/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/24WebSocket/types/loaders/PostSptModLoader.d.ts b/TypeScript/24WebSocket/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/24WebSocket/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/24WebSocket/types/loaders/PreAkiModLoader.d.ts b/TypeScript/24WebSocket/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/24WebSocket/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/24WebSocket/types/loaders/PreSptModLoader.d.ts b/TypeScript/24WebSocket/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/24WebSocket/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/24WebSocket/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/24WebSocket/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/24WebSocket/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/24WebSocket/types/models/eft/common/IGlobals.d.ts b/TypeScript/24WebSocket/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/24WebSocket/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/24WebSocket/types/models/eft/common/ILocation.d.ts b/TypeScript/24WebSocket/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/24WebSocket/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/24WebSocket/types/models/eft/common/ILocationBase.d.ts b/TypeScript/24WebSocket/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/24WebSocket/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/24WebSocket/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/24WebSocket/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/24WebSocket/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/24WebSocket/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/24WebSocket/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/24WebSocket/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/24WebSocket/types/models/eft/common/IPmcData.d.ts b/TypeScript/24WebSocket/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/24WebSocket/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/24WebSocket/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/24WebSocket/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/24WebSocket/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/24WebSocket/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/24WebSocket/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/24WebSocket/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/24WebSocket/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/24WebSocket/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/24WebSocket/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/24WebSocket/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/24WebSocket/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/24WebSocket/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/24WebSocket/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/24WebSocket/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/24WebSocket/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/24WebSocket/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/24WebSocket/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/24WebSocket/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/24WebSocket/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/24WebSocket/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/24WebSocket/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/24WebSocket/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/24WebSocket/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/24WebSocket/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/24WebSocket/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/24WebSocket/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/24WebSocket/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/24WebSocket/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/24WebSocket/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/24WebSocket/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/24WebSocket/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/24WebSocket/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/24WebSocket/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/24WebSocket/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/24WebSocket/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/24WebSocket/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/24WebSocket/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/24WebSocket/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/24WebSocket/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/24WebSocket/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/24WebSocket/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/24WebSocket/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/24WebSocket/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/24WebSocket/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/24WebSocket/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/24WebSocket/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/24WebSocket/types/models/eft/hideout/IQteData.d.ts b/TypeScript/24WebSocket/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/24WebSocket/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/24WebSocket/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/24WebSocket/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/24WebSocket/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/24WebSocket/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/24WebSocket/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/24WebSocket/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/24WebSocket/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/24WebSocket/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/24WebSocket/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/24WebSocket/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/24WebSocket/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/24WebSocket/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/24WebSocket/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/24WebSocket/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/24WebSocket/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/24WebSocket/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/24WebSocket/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/24WebSocket/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/24WebSocket/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/24WebSocket/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/24WebSocket/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/24WebSocket/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/24WebSocket/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/24WebSocket/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/24WebSocket/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/24WebSocket/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/24WebSocket/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/24WebSocket/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/24WebSocket/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/24WebSocket/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/24WebSocket/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/24WebSocket/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/24WebSocket/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/24WebSocket/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/24WebSocket/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/24WebSocket/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/24WebSocket/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/24WebSocket/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/24WebSocket/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/24WebSocket/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/24WebSocket/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/24WebSocket/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/24WebSocket/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/24WebSocket/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/24WebSocket/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/24WebSocket/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/24WebSocket/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/24WebSocket/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/24WebSocket/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/24WebSocket/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/24WebSocket/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/24WebSocket/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/24WebSocket/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/24WebSocket/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/24WebSocket/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/24WebSocket/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/24WebSocket/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/24WebSocket/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/24WebSocket/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/24WebSocket/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/24WebSocket/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/24WebSocket/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/24WebSocket/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/24WebSocket/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/24WebSocket/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/24WebSocket/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/24WebSocket/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/24WebSocket/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/24WebSocket/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/24WebSocket/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/24WebSocket/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/24WebSocket/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/24WebSocket/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/24WebSocket/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/24WebSocket/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/24WebSocket/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/24WebSocket/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/24WebSocket/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/24WebSocket/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/24WebSocket/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/24WebSocket/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/24WebSocket/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/24WebSocket/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/24WebSocket/types/models/eft/ws/IWsAid.d.ts b/TypeScript/24WebSocket/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/24WebSocket/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/24WebSocket/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/24WebSocket/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/24WebSocket/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/24WebSocket/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/24WebSocket/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/24WebSocket/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/24WebSocket/types/models/eft/ws/IWsPing.d.ts b/TypeScript/24WebSocket/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/24WebSocket/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/24WebSocket/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/24WebSocket/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/24WebSocket/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/24WebSocket/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/24WebSocket/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/24WebSocket/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/24WebSocket/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/24WebSocket/types/models/enums/ConfigTypes.d.ts b/TypeScript/24WebSocket/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/24WebSocket/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/24WebSocket/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/24WebSocket/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/24WebSocket/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/24WebSocket/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/24WebSocket/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/24WebSocket/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/24WebSocket/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/24WebSocket/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/24WebSocket/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/24WebSocket/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/24WebSocket/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/24WebSocket/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/24WebSocket/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/24WebSocket/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/24WebSocket/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/24WebSocket/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/24WebSocket/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/24WebSocket/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/24WebSocket/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/24WebSocket/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/24WebSocket/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/24WebSocket/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/24WebSocket/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/24WebSocket/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/24WebSocket/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/24WebSocket/types/models/spt/bindings/Route.d.ts b/TypeScript/24WebSocket/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/24WebSocket/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/24WebSocket/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/24WebSocket/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/24WebSocket/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/24WebSocket/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/24WebSocket/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/24WebSocket/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/24WebSocket/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/24WebSocket/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/24WebSocket/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/24WebSocket/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/24WebSocket/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/24WebSocket/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/24WebSocket/types/models/spt/config/IBotConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/24WebSocket/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/24WebSocket/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/24WebSocket/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/24WebSocket/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/24WebSocket/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/24WebSocket/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/24WebSocket/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/24WebSocket/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/24WebSocket/types/models/spt/config/IItemConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/24WebSocket/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/24WebSocket/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/24WebSocket/types/models/spt/config/ILootConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/24WebSocket/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/24WebSocket/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/24WebSocket/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/24WebSocket/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/24WebSocket/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/24WebSocket/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/24WebSocket/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/24WebSocket/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/24WebSocket/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/24WebSocket/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/24WebSocket/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/24WebSocket/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/24WebSocket/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/24WebSocket/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/24WebSocket/types/models/spt/controllers/IBotController.d.ts b/TypeScript/24WebSocket/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/24WebSocket/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/24WebSocket/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/24WebSocket/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/24WebSocket/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/24WebSocket/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/24WebSocket/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/24WebSocket/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/24WebSocket/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/24WebSocket/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/24WebSocket/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/24WebSocket/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/24WebSocket/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/24WebSocket/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/24WebSocket/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/24WebSocket/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/24WebSocket/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/24WebSocket/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/24WebSocket/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/24WebSocket/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/24WebSocket/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/24WebSocket/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/24WebSocket/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/24WebSocket/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/24WebSocket/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/24WebSocket/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/24WebSocket/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/24WebSocket/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/24WebSocket/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/24WebSocket/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/24WebSocket/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/24WebSocket/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/24WebSocket/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/24WebSocket/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/24WebSocket/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/24WebSocket/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/24WebSocket/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/24WebSocket/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/24WebSocket/types/models/spt/server/ILocations.d.ts b/TypeScript/24WebSocket/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/24WebSocket/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/24WebSocket/types/models/spt/services/CustomPreset.d.ts b/TypeScript/24WebSocket/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/24WebSocket/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/24WebSocket/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/24WebSocket/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/24WebSocket/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/24WebSocket/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/24WebSocket/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/24WebSocket/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/24WebSocket/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/24WebSocket/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/24WebSocket/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/24WebSocket/types/models/spt/services/LootRequest.d.ts b/TypeScript/24WebSocket/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/24WebSocket/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/24WebSocket/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/24WebSocket/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/24WebSocket/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/24WebSocket/types/models/spt/utils/ILogger.d.ts b/TypeScript/24WebSocket/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/24WebSocket/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/24WebSocket/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/24WebSocket/types/routers/EventOutputHolder.d.ts b/TypeScript/24WebSocket/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/24WebSocket/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/24WebSocket/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/24WebSocket/types/routers/HttpRouter.d.ts b/TypeScript/24WebSocket/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/24WebSocket/types/routers/HttpRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/24WebSocket/types/routers/ImageRouter.d.ts b/TypeScript/24WebSocket/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/24WebSocket/types/routers/ImageRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/24WebSocket/types/routers/ItemEventRouter.d.ts b/TypeScript/24WebSocket/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/24WebSocket/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/24WebSocket/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/24WebSocket/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/24WebSocket/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/24WebSocket/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/24WebSocket/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/24WebSocket/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/24WebSocket/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/24WebSocket/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/24WebSocket/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/24WebSocket/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/24WebSocket/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/24WebSocket/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/24WebSocket/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/24WebSocket/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/24WebSocket/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/24WebSocket/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/24WebSocket/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/24WebSocket/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/24WebSocket/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/24WebSocket/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/24WebSocket/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/24WebSocket/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/24WebSocket/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/24WebSocket/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/24WebSocket/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/24WebSocket/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/24WebSocket/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/24WebSocket/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/24WebSocket/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/24WebSocket/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/24WebSocket/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/24WebSocket/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/24WebSocket/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/24WebSocket/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/24WebSocket/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/24WebSocket/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/24WebSocket/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/24WebSocket/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/24WebSocket/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/24WebSocket/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/24WebSocket/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/24WebSocket/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/24WebSocket/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/24WebSocket/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/24WebSocket/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/24WebSocket/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/24WebSocket/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/24WebSocket/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/24WebSocket/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/24WebSocket/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/24WebSocket/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/24WebSocket/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/24WebSocket/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/24WebSocket/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/24WebSocket/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/24WebSocket/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/24WebSocket/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/24WebSocket/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/24WebSocket/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/24WebSocket/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/24WebSocket/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/24WebSocket/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/24WebSocket/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/24WebSocket/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/24WebSocket/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/24WebSocket/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/24WebSocket/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/24WebSocket/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/24WebSocket/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/BotStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/24WebSocket/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/24WebSocket/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/24WebSocket/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/24WebSocket/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/24WebSocket/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/DataStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/24WebSocket/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/24WebSocket/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/GameStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/24WebSocket/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/24WebSocket/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/24WebSocket/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/24WebSocket/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/24WebSocket/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/24WebSocket/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/24WebSocket/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/24WebSocket/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/24WebSocket/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/24WebSocket/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/24WebSocket/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/24WebSocket/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/24WebSocket/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/24WebSocket/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/24WebSocket/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/24WebSocket/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/24WebSocket/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/24WebSocket/types/servers/ConfigServer.d.ts b/TypeScript/24WebSocket/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/24WebSocket/types/servers/ConfigServer.d.ts +++ b/TypeScript/24WebSocket/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/24WebSocket/types/servers/DatabaseServer.d.ts b/TypeScript/24WebSocket/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/24WebSocket/types/servers/DatabaseServer.d.ts +++ b/TypeScript/24WebSocket/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/24WebSocket/types/servers/HttpServer.d.ts b/TypeScript/24WebSocket/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/24WebSocket/types/servers/HttpServer.d.ts +++ b/TypeScript/24WebSocket/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/24WebSocket/types/servers/RagfairServer.d.ts b/TypeScript/24WebSocket/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/24WebSocket/types/servers/RagfairServer.d.ts +++ b/TypeScript/24WebSocket/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/24WebSocket/types/servers/SaveServer.d.ts b/TypeScript/24WebSocket/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/24WebSocket/types/servers/SaveServer.d.ts +++ b/TypeScript/24WebSocket/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/24WebSocket/types/servers/WebSocketServer.d.ts b/TypeScript/24WebSocket/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/24WebSocket/types/servers/WebSocketServer.d.ts +++ b/TypeScript/24WebSocket/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/24WebSocket/types/servers/http/AkiHttpListener.d.ts b/TypeScript/24WebSocket/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/24WebSocket/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/24WebSocket/types/servers/http/SptHttpListener.d.ts b/TypeScript/24WebSocket/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/24WebSocket/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/24WebSocket/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/24WebSocket/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/24WebSocket/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/24WebSocket/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/24WebSocket/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/24WebSocket/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/24WebSocket/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/24WebSocket/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/24WebSocket/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/24WebSocket/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/24WebSocket/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/24WebSocket/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/24WebSocket/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/24WebSocket/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/24WebSocket/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/24WebSocket/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/24WebSocket/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/24WebSocket/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/24WebSocket/types/services/BotEquipmentFilterService.d.ts b/TypeScript/24WebSocket/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/24WebSocket/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/24WebSocket/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/24WebSocket/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/24WebSocket/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/24WebSocket/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/24WebSocket/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/24WebSocket/types/services/BotGenerationCacheService.d.ts b/TypeScript/24WebSocket/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/24WebSocket/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/24WebSocket/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/24WebSocket/types/services/BotLootCacheService.d.ts b/TypeScript/24WebSocket/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/24WebSocket/types/services/BotLootCacheService.d.ts +++ b/TypeScript/24WebSocket/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/24WebSocket/types/services/BotWeaponModLimitService.d.ts b/TypeScript/24WebSocket/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/24WebSocket/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/24WebSocket/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/24WebSocket/types/services/CustomLocationWaveService.d.ts b/TypeScript/24WebSocket/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/24WebSocket/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/24WebSocket/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/24WebSocket/types/services/FenceService.d.ts b/TypeScript/24WebSocket/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/24WebSocket/types/services/FenceService.d.ts +++ b/TypeScript/24WebSocket/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/24WebSocket/types/services/GiftService.d.ts b/TypeScript/24WebSocket/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/24WebSocket/types/services/GiftService.d.ts +++ b/TypeScript/24WebSocket/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/24WebSocket/types/services/InsuranceService.d.ts b/TypeScript/24WebSocket/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/24WebSocket/types/services/InsuranceService.d.ts +++ b/TypeScript/24WebSocket/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/24WebSocket/types/services/ItemBaseClassService.d.ts b/TypeScript/24WebSocket/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/24WebSocket/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/24WebSocket/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/24WebSocket/types/services/ItemFilterService.d.ts b/TypeScript/24WebSocket/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/24WebSocket/types/services/ItemFilterService.d.ts +++ b/TypeScript/24WebSocket/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/24WebSocket/types/services/LocaleService.d.ts b/TypeScript/24WebSocket/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/24WebSocket/types/services/LocaleService.d.ts +++ b/TypeScript/24WebSocket/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/24WebSocket/types/services/LocalisationService.d.ts b/TypeScript/24WebSocket/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/24WebSocket/types/services/LocalisationService.d.ts +++ b/TypeScript/24WebSocket/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/24WebSocket/types/services/MailSendService.d.ts b/TypeScript/24WebSocket/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/24WebSocket/types/services/MailSendService.d.ts +++ b/TypeScript/24WebSocket/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/24WebSocket/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/24WebSocket/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/24WebSocket/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/24WebSocket/types/services/MatchLocationService.d.ts b/TypeScript/24WebSocket/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/24WebSocket/types/services/MatchLocationService.d.ts +++ b/TypeScript/24WebSocket/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/24WebSocket/types/services/ModCompilerService.d.ts b/TypeScript/24WebSocket/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/24WebSocket/types/services/ModCompilerService.d.ts +++ b/TypeScript/24WebSocket/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/24WebSocket/types/services/NotificationService.d.ts b/TypeScript/24WebSocket/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/24WebSocket/types/services/NotificationService.d.ts +++ b/TypeScript/24WebSocket/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/24WebSocket/types/services/OpenZoneService.d.ts b/TypeScript/24WebSocket/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/24WebSocket/types/services/OpenZoneService.d.ts +++ b/TypeScript/24WebSocket/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/24WebSocket/types/services/PaymentService.d.ts b/TypeScript/24WebSocket/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/24WebSocket/types/services/PaymentService.d.ts +++ b/TypeScript/24WebSocket/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/services/PlayerService.d.ts b/TypeScript/24WebSocket/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/24WebSocket/types/services/PlayerService.d.ts +++ b/TypeScript/24WebSocket/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/24WebSocket/types/services/PmcChatResponseService.d.ts b/TypeScript/24WebSocket/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/24WebSocket/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/24WebSocket/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/services/ProfileFixerService.d.ts b/TypeScript/24WebSocket/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/24WebSocket/types/services/ProfileFixerService.d.ts +++ b/TypeScript/24WebSocket/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/24WebSocket/types/services/ProfileSnapshotService.d.ts b/TypeScript/24WebSocket/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/24WebSocket/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/24WebSocket/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/24WebSocket/types/services/RagfairCategoriesService.d.ts b/TypeScript/24WebSocket/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/24WebSocket/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/24WebSocket/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/24WebSocket/types/services/RagfairLinkedItemService.d.ts b/TypeScript/24WebSocket/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/24WebSocket/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/24WebSocket/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/24WebSocket/types/services/RagfairOfferService.d.ts b/TypeScript/24WebSocket/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/24WebSocket/types/services/RagfairOfferService.d.ts +++ b/TypeScript/24WebSocket/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/24WebSocket/types/services/RagfairPriceService.d.ts b/TypeScript/24WebSocket/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/24WebSocket/types/services/RagfairPriceService.d.ts +++ b/TypeScript/24WebSocket/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/24WebSocket/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/24WebSocket/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/24WebSocket/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/24WebSocket/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/24WebSocket/types/services/RagfairTaxService.d.ts b/TypeScript/24WebSocket/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/24WebSocket/types/services/RagfairTaxService.d.ts +++ b/TypeScript/24WebSocket/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/24WebSocket/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/24WebSocket/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/24WebSocket/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/24WebSocket/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/24WebSocket/types/services/RepairService.d.ts b/TypeScript/24WebSocket/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/24WebSocket/types/services/RepairService.d.ts +++ b/TypeScript/24WebSocket/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/24WebSocket/types/services/SeasonalEventService.d.ts b/TypeScript/24WebSocket/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/24WebSocket/types/services/SeasonalEventService.d.ts +++ b/TypeScript/24WebSocket/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/24WebSocket/types/services/TraderAssortService.d.ts b/TypeScript/24WebSocket/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/24WebSocket/types/services/TraderAssortService.d.ts +++ b/TypeScript/24WebSocket/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/24WebSocket/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/24WebSocket/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/24WebSocket/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/24WebSocket/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/24WebSocket/types/services/TraderServicesService.d.ts b/TypeScript/24WebSocket/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/24WebSocket/types/services/TraderServicesService.d.ts +++ b/TypeScript/24WebSocket/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/24WebSocket/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/24WebSocket/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/24WebSocket/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/24WebSocket/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/services/cache/ModHashCacheService.d.ts b/TypeScript/24WebSocket/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/24WebSocket/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/24WebSocket/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/services/mod/CustomItemService.d.ts b/TypeScript/24WebSocket/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/24WebSocket/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/24WebSocket/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/24WebSocket/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/24WebSocket/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/24WebSocket/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/24WebSocket/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/24WebSocket/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/24WebSocket/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/24WebSocket/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/24WebSocket/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/24WebSocket/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/24WebSocket/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/24WebSocket/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/24WebSocket/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/24WebSocket/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/24WebSocket/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/24WebSocket/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/24WebSocket/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/24WebSocket/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/24WebSocket/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/24WebSocket/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/24WebSocket/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/24WebSocket/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/24WebSocket/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/24WebSocket/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/24WebSocket/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/24WebSocket/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/24WebSocket/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/24WebSocket/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/24WebSocket/types/utils/App.d.ts b/TypeScript/24WebSocket/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/24WebSocket/types/utils/App.d.ts +++ b/TypeScript/24WebSocket/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/24WebSocket/types/utils/AsyncQueue.d.ts b/TypeScript/24WebSocket/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/24WebSocket/types/utils/AsyncQueue.d.ts +++ b/TypeScript/24WebSocket/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/24WebSocket/types/utils/DatabaseImporter.d.ts b/TypeScript/24WebSocket/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/24WebSocket/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/24WebSocket/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/24WebSocket/types/utils/HashUtil.d.ts b/TypeScript/24WebSocket/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/24WebSocket/types/utils/HashUtil.d.ts +++ b/TypeScript/24WebSocket/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/24WebSocket/types/utils/HttpFileUtil.d.ts b/TypeScript/24WebSocket/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/24WebSocket/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/24WebSocket/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/24WebSocket/types/utils/HttpResponseUtil.d.ts b/TypeScript/24WebSocket/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/24WebSocket/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/24WebSocket/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/24WebSocket/types/utils/ImporterUtil.d.ts b/TypeScript/24WebSocket/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/24WebSocket/types/utils/ImporterUtil.d.ts +++ b/TypeScript/24WebSocket/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/24WebSocket/types/utils/JsonUtil.d.ts b/TypeScript/24WebSocket/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/24WebSocket/types/utils/JsonUtil.d.ts +++ b/TypeScript/24WebSocket/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/24WebSocket/types/utils/ObjectId.d.ts b/TypeScript/24WebSocket/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/24WebSocket/types/utils/ObjectId.d.ts +++ b/TypeScript/24WebSocket/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/24WebSocket/types/utils/RagfairOfferHolder.d.ts b/TypeScript/24WebSocket/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/24WebSocket/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/24WebSocket/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/24WebSocket/types/utils/RandomUtil.d.ts b/TypeScript/24WebSocket/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/24WebSocket/types/utils/RandomUtil.d.ts +++ b/TypeScript/24WebSocket/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/24WebSocket/types/utils/VFS.d.ts b/TypeScript/24WebSocket/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/24WebSocket/types/utils/VFS.d.ts +++ b/TypeScript/24WebSocket/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/24WebSocket/types/utils/Watermark.d.ts b/TypeScript/24WebSocket/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/24WebSocket/types/utils/Watermark.d.ts +++ b/TypeScript/24WebSocket/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/24WebSocket/types/utils/cloners/JsonCloner.d.ts b/TypeScript/24WebSocket/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/24WebSocket/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/24WebSocket/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/24WebSocket/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/24WebSocket/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/24WebSocket/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/24WebSocket/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/24WebSocket/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/24WebSocket/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/24WebSocket/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/24WebSocket/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/24WebSocket/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/24WebSocket/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/24WebSocket/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/24WebSocket/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/24WebSocket/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/24WebSocket/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/24WebSocket/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/24WebSocket/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/24WebSocket/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/24WebSocket/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/24WebSocket/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/24WebSocket/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/2EditDatabase/README.md b/TypeScript/2EditDatabase/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/2EditDatabase/README.md +++ b/TypeScript/2EditDatabase/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/2EditDatabase/package.json b/TypeScript/2EditDatabase/package.json index c044a70..e17f37d 100644 --- a/TypeScript/2EditDatabase/package.json +++ b/TypeScript/2EditDatabase/package.json @@ -1,7 +1,7 @@ { "name": "EditDatabase", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/2EditDatabase/src/mod.ts b/TypeScript/2EditDatabase/src/mod.ts index 651c628..3dc1bdf 100644 --- a/TypeScript/2EditDatabase/src/mod.ts +++ b/TypeScript/2EditDatabase/src/mod.ts @@ -1,10 +1,10 @@ import { DependencyContainer } from "tsyringe"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; class Mod implements IPostDBLoadMod { diff --git a/TypeScript/2EditDatabase/tsconfig.json b/TypeScript/2EditDatabase/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/2EditDatabase/tsconfig.json +++ b/TypeScript/2EditDatabase/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/2EditDatabase/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/2EditDatabase/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/2EditDatabase/types/callbacks/BotCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/2EditDatabase/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/2EditDatabase/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/2EditDatabase/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/2EditDatabase/types/callbacks/BundleCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/2EditDatabase/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/2EditDatabase/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/2EditDatabase/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/2EditDatabase/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/2EditDatabase/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/2EditDatabase/types/callbacks/DataCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/2EditDatabase/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/2EditDatabase/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/2EditDatabase/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/2EditDatabase/types/callbacks/GameCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/2EditDatabase/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/2EditDatabase/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/2EditDatabase/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/2EditDatabase/types/callbacks/HealthCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/2EditDatabase/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/2EditDatabase/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/2EditDatabase/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/2EditDatabase/types/callbacks/HttpCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/2EditDatabase/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/2EditDatabase/types/callbacks/InraidCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/2EditDatabase/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/2EditDatabase/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/2EditDatabase/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/2EditDatabase/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/2EditDatabase/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/2EditDatabase/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/2EditDatabase/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/2EditDatabase/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/2EditDatabase/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/2EditDatabase/types/callbacks/LocationCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/2EditDatabase/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/2EditDatabase/types/callbacks/MatchCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/2EditDatabase/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/2EditDatabase/types/callbacks/ModCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/2EditDatabase/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/2EditDatabase/types/callbacks/NoteCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/2EditDatabase/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/2EditDatabase/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/2EditDatabase/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/2EditDatabase/types/callbacks/PresetCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/2EditDatabase/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/2EditDatabase/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/2EditDatabase/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/2EditDatabase/types/callbacks/QuestCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/2EditDatabase/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/2EditDatabase/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/2EditDatabase/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/2EditDatabase/types/callbacks/RepairCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/2EditDatabase/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/2EditDatabase/types/callbacks/SaveCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/2EditDatabase/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/2EditDatabase/types/callbacks/TradeCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/2EditDatabase/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/2EditDatabase/types/callbacks/TraderCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/2EditDatabase/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/2EditDatabase/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/2EditDatabase/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/2EditDatabase/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/2EditDatabase/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/2EditDatabase/types/context/ApplicationContext.d.ts b/TypeScript/2EditDatabase/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/2EditDatabase/types/context/ApplicationContext.d.ts +++ b/TypeScript/2EditDatabase/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/2EditDatabase/types/context/ContextVariable.d.ts b/TypeScript/2EditDatabase/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/2EditDatabase/types/context/ContextVariable.d.ts +++ b/TypeScript/2EditDatabase/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/2EditDatabase/types/controllers/AchievementController.d.ts b/TypeScript/2EditDatabase/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/2EditDatabase/types/controllers/AchievementController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/2EditDatabase/types/controllers/BotController.d.ts b/TypeScript/2EditDatabase/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/2EditDatabase/types/controllers/BotController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/2EditDatabase/types/controllers/BuildController.d.ts b/TypeScript/2EditDatabase/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/2EditDatabase/types/controllers/BuildController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/2EditDatabase/types/controllers/ClientLogController.d.ts b/TypeScript/2EditDatabase/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/2EditDatabase/types/controllers/ClientLogController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/2EditDatabase/types/controllers/CustomizationController.d.ts b/TypeScript/2EditDatabase/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/2EditDatabase/types/controllers/CustomizationController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/2EditDatabase/types/controllers/DialogueController.d.ts b/TypeScript/2EditDatabase/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/2EditDatabase/types/controllers/DialogueController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/2EditDatabase/types/controllers/GameController.d.ts b/TypeScript/2EditDatabase/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/2EditDatabase/types/controllers/GameController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/2EditDatabase/types/controllers/HandbookController.d.ts b/TypeScript/2EditDatabase/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/2EditDatabase/types/controllers/HandbookController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/2EditDatabase/types/controllers/HealthController.d.ts b/TypeScript/2EditDatabase/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/2EditDatabase/types/controllers/HealthController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/2EditDatabase/types/controllers/HideoutController.d.ts b/TypeScript/2EditDatabase/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/2EditDatabase/types/controllers/HideoutController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/controllers/InraidController.d.ts b/TypeScript/2EditDatabase/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/2EditDatabase/types/controllers/InraidController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/2EditDatabase/types/controllers/InsuranceController.d.ts b/TypeScript/2EditDatabase/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/2EditDatabase/types/controllers/InsuranceController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/2EditDatabase/types/controllers/InventoryController.d.ts b/TypeScript/2EditDatabase/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/2EditDatabase/types/controllers/InventoryController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/2EditDatabase/types/controllers/LauncherController.d.ts b/TypeScript/2EditDatabase/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/2EditDatabase/types/controllers/LauncherController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/2EditDatabase/types/controllers/LocationController.d.ts b/TypeScript/2EditDatabase/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/2EditDatabase/types/controllers/LocationController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/2EditDatabase/types/controllers/MatchController.d.ts b/TypeScript/2EditDatabase/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/2EditDatabase/types/controllers/MatchController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/2EditDatabase/types/controllers/NoteController.d.ts b/TypeScript/2EditDatabase/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/2EditDatabase/types/controllers/NoteController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/2EditDatabase/types/controllers/NotifierController.d.ts b/TypeScript/2EditDatabase/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/2EditDatabase/types/controllers/NotifierController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/2EditDatabase/types/controllers/PresetController.d.ts b/TypeScript/2EditDatabase/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/2EditDatabase/types/controllers/PresetController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/2EditDatabase/types/controllers/ProfileController.d.ts b/TypeScript/2EditDatabase/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/2EditDatabase/types/controllers/ProfileController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/2EditDatabase/types/controllers/QuestController.d.ts b/TypeScript/2EditDatabase/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/2EditDatabase/types/controllers/QuestController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/2EditDatabase/types/controllers/RagfairController.d.ts b/TypeScript/2EditDatabase/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/2EditDatabase/types/controllers/RagfairController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/2EditDatabase/types/controllers/RepairController.d.ts b/TypeScript/2EditDatabase/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/2EditDatabase/types/controllers/RepairController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/2EditDatabase/types/controllers/RepeatableQuestController.d.ts b/TypeScript/2EditDatabase/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/2EditDatabase/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/2EditDatabase/types/controllers/TradeController.d.ts b/TypeScript/2EditDatabase/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/2EditDatabase/types/controllers/TradeController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/2EditDatabase/types/controllers/TraderController.d.ts b/TypeScript/2EditDatabase/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/2EditDatabase/types/controllers/TraderController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/2EditDatabase/types/controllers/WeatherController.d.ts b/TypeScript/2EditDatabase/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/2EditDatabase/types/controllers/WeatherController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/2EditDatabase/types/controllers/WishlistController.d.ts b/TypeScript/2EditDatabase/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/2EditDatabase/types/controllers/WishlistController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/2EditDatabase/types/di/Router.d.ts b/TypeScript/2EditDatabase/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/2EditDatabase/types/di/Router.d.ts +++ b/TypeScript/2EditDatabase/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/2EditDatabase/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/2EditDatabase/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/2EditDatabase/types/generators/BotGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/2EditDatabase/types/generators/BotGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/generators/BotInventoryGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/2EditDatabase/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/generators/BotLevelGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/2EditDatabase/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/2EditDatabase/types/generators/BotLootGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/2EditDatabase/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/generators/BotWeaponGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/2EditDatabase/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/2EditDatabase/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/2EditDatabase/types/generators/LocationGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/2EditDatabase/types/generators/LocationGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/2EditDatabase/types/generators/LootGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/2EditDatabase/types/generators/LootGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/2EditDatabase/types/generators/PMCLootGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/2EditDatabase/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/2EditDatabase/types/generators/PlayerScavGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/2EditDatabase/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/2EditDatabase/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/2EditDatabase/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/2EditDatabase/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/2EditDatabase/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/2EditDatabase/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/2EditDatabase/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/2EditDatabase/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/2EditDatabase/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/2EditDatabase/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/2EditDatabase/types/generators/WeatherGenerator.d.ts b/TypeScript/2EditDatabase/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/2EditDatabase/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/2EditDatabase/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/2EditDatabase/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/2EditDatabase/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/2EditDatabase/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/2EditDatabase/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/2EditDatabase/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/2EditDatabase/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/2EditDatabase/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/2EditDatabase/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/2EditDatabase/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/2EditDatabase/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/2EditDatabase/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/2EditDatabase/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/2EditDatabase/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/2EditDatabase/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/2EditDatabase/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/2EditDatabase/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/2EditDatabase/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/2EditDatabase/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/2EditDatabase/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/2EditDatabase/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/2EditDatabase/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/2EditDatabase/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/2EditDatabase/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/2EditDatabase/types/helpers/AssortHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/2EditDatabase/types/helpers/AssortHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/2EditDatabase/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/2EditDatabase/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/2EditDatabase/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/2EditDatabase/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/2EditDatabase/types/helpers/BotHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/2EditDatabase/types/helpers/BotHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/2EditDatabase/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/2EditDatabase/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/2EditDatabase/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/2EditDatabase/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/2EditDatabase/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/2EditDatabase/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/2EditDatabase/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/2EditDatabase/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/2EditDatabase/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/2EditDatabase/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/2EditDatabase/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/2EditDatabase/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/2EditDatabase/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/2EditDatabase/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/2EditDatabase/types/helpers/DialogueHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/2EditDatabase/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/2EditDatabase/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/2EditDatabase/types/helpers/GameEventHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/2EditDatabase/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/2EditDatabase/types/helpers/HandbookHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/2EditDatabase/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/2EditDatabase/types/helpers/HealthHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/2EditDatabase/types/helpers/HealthHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/2EditDatabase/types/helpers/HideoutHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/2EditDatabase/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/helpers/HttpServerHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/2EditDatabase/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/2EditDatabase/types/helpers/InRaidHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/2EditDatabase/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/2EditDatabase/types/helpers/InventoryHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/2EditDatabase/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/2EditDatabase/types/helpers/ItemHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/2EditDatabase/types/helpers/ItemHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/helpers/NotificationSendHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/2EditDatabase/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/2EditDatabase/types/helpers/NotifierHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/2EditDatabase/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/2EditDatabase/types/helpers/PaymentHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/2EditDatabase/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/2EditDatabase/types/helpers/PresetHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/2EditDatabase/types/helpers/PresetHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/2EditDatabase/types/helpers/ProbabilityHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/2EditDatabase/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/2EditDatabase/types/helpers/ProfileHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/2EditDatabase/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/2EditDatabase/types/helpers/QuestConditionHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/2EditDatabase/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/2EditDatabase/types/helpers/QuestHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/2EditDatabase/types/helpers/QuestHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/2EditDatabase/types/helpers/RagfairHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/2EditDatabase/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/2EditDatabase/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/2EditDatabase/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/2EditDatabase/types/helpers/RagfairSellHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/2EditDatabase/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/2EditDatabase/types/helpers/RagfairServerHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/2EditDatabase/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/2EditDatabase/types/helpers/RagfairSortHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/2EditDatabase/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/2EditDatabase/types/helpers/RepairHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/2EditDatabase/types/helpers/RepairHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/2EditDatabase/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/2EditDatabase/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/2EditDatabase/types/helpers/SecureContainerHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/2EditDatabase/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/2EditDatabase/types/helpers/TradeHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/2EditDatabase/types/helpers/TradeHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/2EditDatabase/types/helpers/TraderAssortHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/2EditDatabase/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/2EditDatabase/types/helpers/TraderHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/2EditDatabase/types/helpers/TraderHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/2EditDatabase/types/loaders/BundleLoader.d.ts b/TypeScript/2EditDatabase/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/2EditDatabase/types/loaders/BundleLoader.d.ts +++ b/TypeScript/2EditDatabase/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/2EditDatabase/types/loaders/ModLoadOrder.d.ts b/TypeScript/2EditDatabase/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/2EditDatabase/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/2EditDatabase/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/2EditDatabase/types/loaders/ModTypeCheck.d.ts b/TypeScript/2EditDatabase/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/2EditDatabase/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/2EditDatabase/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/2EditDatabase/types/loaders/PostAkiModLoader.d.ts b/TypeScript/2EditDatabase/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/2EditDatabase/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/2EditDatabase/types/loaders/PostDBModLoader.d.ts b/TypeScript/2EditDatabase/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/2EditDatabase/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/2EditDatabase/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/2EditDatabase/types/loaders/PostSptModLoader.d.ts b/TypeScript/2EditDatabase/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/2EditDatabase/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/2EditDatabase/types/loaders/PreAkiModLoader.d.ts b/TypeScript/2EditDatabase/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/2EditDatabase/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/2EditDatabase/types/loaders/PreSptModLoader.d.ts b/TypeScript/2EditDatabase/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/2EditDatabase/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/2EditDatabase/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/2EditDatabase/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/2EditDatabase/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/common/IGlobals.d.ts b/TypeScript/2EditDatabase/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/2EditDatabase/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/2EditDatabase/types/models/eft/common/ILocation.d.ts b/TypeScript/2EditDatabase/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/2EditDatabase/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/2EditDatabase/types/models/eft/common/ILocationBase.d.ts b/TypeScript/2EditDatabase/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/2EditDatabase/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/2EditDatabase/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/2EditDatabase/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/2EditDatabase/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/2EditDatabase/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/2EditDatabase/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/2EditDatabase/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/2EditDatabase/types/models/eft/common/IPmcData.d.ts b/TypeScript/2EditDatabase/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/2EditDatabase/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/2EditDatabase/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/2EditDatabase/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/2EditDatabase/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/2EditDatabase/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/2EditDatabase/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/2EditDatabase/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/2EditDatabase/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/2EditDatabase/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/2EditDatabase/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/2EditDatabase/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/2EditDatabase/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/2EditDatabase/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/2EditDatabase/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/2EditDatabase/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/2EditDatabase/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/2EditDatabase/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/2EditDatabase/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/2EditDatabase/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/2EditDatabase/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/2EditDatabase/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/2EditDatabase/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/2EditDatabase/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/2EditDatabase/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/2EditDatabase/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/2EditDatabase/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/2EditDatabase/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/2EditDatabase/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/2EditDatabase/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/2EditDatabase/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/2EditDatabase/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/2EditDatabase/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/2EditDatabase/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/2EditDatabase/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/2EditDatabase/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/2EditDatabase/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/2EditDatabase/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/2EditDatabase/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/2EditDatabase/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/2EditDatabase/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/2EditDatabase/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/2EditDatabase/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/2EditDatabase/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/2EditDatabase/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/2EditDatabase/types/models/eft/hideout/IQteData.d.ts b/TypeScript/2EditDatabase/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/2EditDatabase/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/2EditDatabase/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/2EditDatabase/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/2EditDatabase/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/2EditDatabase/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/2EditDatabase/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/2EditDatabase/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/2EditDatabase/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/2EditDatabase/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/2EditDatabase/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/2EditDatabase/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/2EditDatabase/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/2EditDatabase/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/2EditDatabase/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/2EditDatabase/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/2EditDatabase/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/2EditDatabase/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/2EditDatabase/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/2EditDatabase/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/2EditDatabase/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/2EditDatabase/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/2EditDatabase/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/2EditDatabase/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/2EditDatabase/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/2EditDatabase/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/2EditDatabase/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/2EditDatabase/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/2EditDatabase/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/2EditDatabase/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/2EditDatabase/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/2EditDatabase/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/2EditDatabase/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/2EditDatabase/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/2EditDatabase/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/2EditDatabase/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/2EditDatabase/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/2EditDatabase/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/2EditDatabase/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/2EditDatabase/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/2EditDatabase/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/2EditDatabase/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/2EditDatabase/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/2EditDatabase/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/2EditDatabase/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/2EditDatabase/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/2EditDatabase/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/2EditDatabase/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/2EditDatabase/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/2EditDatabase/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/2EditDatabase/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/2EditDatabase/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/2EditDatabase/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/2EditDatabase/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/2EditDatabase/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/2EditDatabase/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/2EditDatabase/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/2EditDatabase/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/2EditDatabase/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/2EditDatabase/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/2EditDatabase/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/2EditDatabase/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/2EditDatabase/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/2EditDatabase/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/2EditDatabase/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/2EditDatabase/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/2EditDatabase/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/2EditDatabase/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/2EditDatabase/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/2EditDatabase/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/2EditDatabase/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/2EditDatabase/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/2EditDatabase/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/2EditDatabase/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/ws/IWsAid.d.ts b/TypeScript/2EditDatabase/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/2EditDatabase/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/2EditDatabase/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/2EditDatabase/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/2EditDatabase/types/models/eft/ws/IWsPing.d.ts b/TypeScript/2EditDatabase/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/2EditDatabase/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/2EditDatabase/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/2EditDatabase/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/2EditDatabase/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/2EditDatabase/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/2EditDatabase/types/models/enums/ConfigTypes.d.ts b/TypeScript/2EditDatabase/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/2EditDatabase/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/2EditDatabase/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/2EditDatabase/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/2EditDatabase/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/2EditDatabase/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/2EditDatabase/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/2EditDatabase/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/2EditDatabase/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/2EditDatabase/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/2EditDatabase/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/2EditDatabase/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/2EditDatabase/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/2EditDatabase/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/2EditDatabase/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/2EditDatabase/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/2EditDatabase/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/2EditDatabase/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/2EditDatabase/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/2EditDatabase/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/2EditDatabase/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/2EditDatabase/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/2EditDatabase/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/2EditDatabase/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/2EditDatabase/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/2EditDatabase/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/2EditDatabase/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/2EditDatabase/types/models/spt/bindings/Route.d.ts b/TypeScript/2EditDatabase/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/2EditDatabase/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/2EditDatabase/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/2EditDatabase/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/2EditDatabase/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/2EditDatabase/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/2EditDatabase/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/2EditDatabase/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/2EditDatabase/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/2EditDatabase/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/2EditDatabase/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/2EditDatabase/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IBotConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/2EditDatabase/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IItemConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/2EditDatabase/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/2EditDatabase/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/2EditDatabase/types/models/spt/config/ILootConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/2EditDatabase/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/2EditDatabase/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/2EditDatabase/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/2EditDatabase/types/models/spt/controllers/IBotController.d.ts b/TypeScript/2EditDatabase/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/2EditDatabase/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/2EditDatabase/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/2EditDatabase/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/2EditDatabase/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/2EditDatabase/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/2EditDatabase/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/2EditDatabase/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/2EditDatabase/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/2EditDatabase/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/2EditDatabase/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/2EditDatabase/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/2EditDatabase/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/2EditDatabase/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/2EditDatabase/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/2EditDatabase/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/2EditDatabase/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/2EditDatabase/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/2EditDatabase/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/2EditDatabase/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/2EditDatabase/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/2EditDatabase/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/2EditDatabase/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/2EditDatabase/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/2EditDatabase/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/2EditDatabase/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/2EditDatabase/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/2EditDatabase/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/2EditDatabase/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/2EditDatabase/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/2EditDatabase/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/2EditDatabase/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/2EditDatabase/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/2EditDatabase/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/2EditDatabase/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/2EditDatabase/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/2EditDatabase/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/2EditDatabase/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/2EditDatabase/types/models/spt/server/ILocations.d.ts b/TypeScript/2EditDatabase/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/2EditDatabase/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/2EditDatabase/types/models/spt/services/CustomPreset.d.ts b/TypeScript/2EditDatabase/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/2EditDatabase/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/2EditDatabase/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/2EditDatabase/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/2EditDatabase/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/2EditDatabase/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/2EditDatabase/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/2EditDatabase/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/2EditDatabase/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/2EditDatabase/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/2EditDatabase/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/2EditDatabase/types/models/spt/services/LootRequest.d.ts b/TypeScript/2EditDatabase/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/2EditDatabase/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/2EditDatabase/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/2EditDatabase/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/2EditDatabase/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/2EditDatabase/types/models/spt/utils/ILogger.d.ts b/TypeScript/2EditDatabase/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/2EditDatabase/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/2EditDatabase/types/routers/EventOutputHolder.d.ts b/TypeScript/2EditDatabase/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/2EditDatabase/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/2EditDatabase/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/2EditDatabase/types/routers/HttpRouter.d.ts b/TypeScript/2EditDatabase/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/2EditDatabase/types/routers/HttpRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/2EditDatabase/types/routers/ImageRouter.d.ts b/TypeScript/2EditDatabase/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/2EditDatabase/types/routers/ImageRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/2EditDatabase/types/routers/ItemEventRouter.d.ts b/TypeScript/2EditDatabase/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/2EditDatabase/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/2EditDatabase/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/2EditDatabase/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/2EditDatabase/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/2EditDatabase/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/2EditDatabase/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/2EditDatabase/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/2EditDatabase/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/2EditDatabase/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/2EditDatabase/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/2EditDatabase/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/2EditDatabase/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/2EditDatabase/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/2EditDatabase/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/2EditDatabase/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/2EditDatabase/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/2EditDatabase/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/2EditDatabase/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/2EditDatabase/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/2EditDatabase/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/2EditDatabase/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/2EditDatabase/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/2EditDatabase/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/2EditDatabase/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/2EditDatabase/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/2EditDatabase/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/2EditDatabase/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/2EditDatabase/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/2EditDatabase/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/2EditDatabase/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/2EditDatabase/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/2EditDatabase/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/2EditDatabase/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/2EditDatabase/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/2EditDatabase/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/2EditDatabase/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/2EditDatabase/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/2EditDatabase/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/2EditDatabase/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/2EditDatabase/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/2EditDatabase/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/2EditDatabase/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/2EditDatabase/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/2EditDatabase/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/2EditDatabase/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/2EditDatabase/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/2EditDatabase/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/2EditDatabase/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/2EditDatabase/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/2EditDatabase/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/2EditDatabase/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/2EditDatabase/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/2EditDatabase/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/2EditDatabase/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/2EditDatabase/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/2EditDatabase/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/2EditDatabase/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/2EditDatabase/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/2EditDatabase/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/2EditDatabase/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/2EditDatabase/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/2EditDatabase/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/2EditDatabase/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/2EditDatabase/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/2EditDatabase/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/2EditDatabase/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/2EditDatabase/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/2EditDatabase/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/2EditDatabase/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/2EditDatabase/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/BotStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/2EditDatabase/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/2EditDatabase/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/2EditDatabase/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/2EditDatabase/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/2EditDatabase/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/DataStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/2EditDatabase/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/2EditDatabase/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/GameStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/2EditDatabase/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/2EditDatabase/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/2EditDatabase/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/2EditDatabase/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/2EditDatabase/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/2EditDatabase/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/2EditDatabase/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/2EditDatabase/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/2EditDatabase/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/2EditDatabase/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/2EditDatabase/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/2EditDatabase/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/2EditDatabase/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/2EditDatabase/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/2EditDatabase/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/2EditDatabase/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/2EditDatabase/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/2EditDatabase/types/servers/ConfigServer.d.ts b/TypeScript/2EditDatabase/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/2EditDatabase/types/servers/ConfigServer.d.ts +++ b/TypeScript/2EditDatabase/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/2EditDatabase/types/servers/DatabaseServer.d.ts b/TypeScript/2EditDatabase/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/2EditDatabase/types/servers/DatabaseServer.d.ts +++ b/TypeScript/2EditDatabase/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/2EditDatabase/types/servers/HttpServer.d.ts b/TypeScript/2EditDatabase/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/2EditDatabase/types/servers/HttpServer.d.ts +++ b/TypeScript/2EditDatabase/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/2EditDatabase/types/servers/RagfairServer.d.ts b/TypeScript/2EditDatabase/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/2EditDatabase/types/servers/RagfairServer.d.ts +++ b/TypeScript/2EditDatabase/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/2EditDatabase/types/servers/SaveServer.d.ts b/TypeScript/2EditDatabase/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/2EditDatabase/types/servers/SaveServer.d.ts +++ b/TypeScript/2EditDatabase/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/2EditDatabase/types/servers/WebSocketServer.d.ts b/TypeScript/2EditDatabase/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/2EditDatabase/types/servers/WebSocketServer.d.ts +++ b/TypeScript/2EditDatabase/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/2EditDatabase/types/servers/http/AkiHttpListener.d.ts b/TypeScript/2EditDatabase/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/2EditDatabase/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/2EditDatabase/types/servers/http/SptHttpListener.d.ts b/TypeScript/2EditDatabase/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/2EditDatabase/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/2EditDatabase/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/2EditDatabase/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/2EditDatabase/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/2EditDatabase/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/2EditDatabase/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/2EditDatabase/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/2EditDatabase/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/2EditDatabase/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/2EditDatabase/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/2EditDatabase/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/2EditDatabase/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/2EditDatabase/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/2EditDatabase/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/2EditDatabase/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/2EditDatabase/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/2EditDatabase/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/2EditDatabase/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/2EditDatabase/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/2EditDatabase/types/services/BotEquipmentFilterService.d.ts b/TypeScript/2EditDatabase/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/2EditDatabase/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/2EditDatabase/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/2EditDatabase/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/2EditDatabase/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/2EditDatabase/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/2EditDatabase/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/2EditDatabase/types/services/BotGenerationCacheService.d.ts b/TypeScript/2EditDatabase/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/2EditDatabase/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/2EditDatabase/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/2EditDatabase/types/services/BotLootCacheService.d.ts b/TypeScript/2EditDatabase/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/2EditDatabase/types/services/BotLootCacheService.d.ts +++ b/TypeScript/2EditDatabase/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/2EditDatabase/types/services/BotWeaponModLimitService.d.ts b/TypeScript/2EditDatabase/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/2EditDatabase/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/2EditDatabase/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/2EditDatabase/types/services/CustomLocationWaveService.d.ts b/TypeScript/2EditDatabase/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/2EditDatabase/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/2EditDatabase/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/2EditDatabase/types/services/FenceService.d.ts b/TypeScript/2EditDatabase/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/2EditDatabase/types/services/FenceService.d.ts +++ b/TypeScript/2EditDatabase/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/2EditDatabase/types/services/GiftService.d.ts b/TypeScript/2EditDatabase/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/2EditDatabase/types/services/GiftService.d.ts +++ b/TypeScript/2EditDatabase/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/2EditDatabase/types/services/InsuranceService.d.ts b/TypeScript/2EditDatabase/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/2EditDatabase/types/services/InsuranceService.d.ts +++ b/TypeScript/2EditDatabase/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/2EditDatabase/types/services/ItemBaseClassService.d.ts b/TypeScript/2EditDatabase/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/2EditDatabase/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/2EditDatabase/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/2EditDatabase/types/services/ItemFilterService.d.ts b/TypeScript/2EditDatabase/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/2EditDatabase/types/services/ItemFilterService.d.ts +++ b/TypeScript/2EditDatabase/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/2EditDatabase/types/services/LocaleService.d.ts b/TypeScript/2EditDatabase/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/2EditDatabase/types/services/LocaleService.d.ts +++ b/TypeScript/2EditDatabase/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/2EditDatabase/types/services/LocalisationService.d.ts b/TypeScript/2EditDatabase/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/2EditDatabase/types/services/LocalisationService.d.ts +++ b/TypeScript/2EditDatabase/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/2EditDatabase/types/services/MailSendService.d.ts b/TypeScript/2EditDatabase/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/2EditDatabase/types/services/MailSendService.d.ts +++ b/TypeScript/2EditDatabase/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/2EditDatabase/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/2EditDatabase/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/2EditDatabase/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/2EditDatabase/types/services/MatchLocationService.d.ts b/TypeScript/2EditDatabase/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/2EditDatabase/types/services/MatchLocationService.d.ts +++ b/TypeScript/2EditDatabase/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/2EditDatabase/types/services/ModCompilerService.d.ts b/TypeScript/2EditDatabase/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/2EditDatabase/types/services/ModCompilerService.d.ts +++ b/TypeScript/2EditDatabase/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/2EditDatabase/types/services/NotificationService.d.ts b/TypeScript/2EditDatabase/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/2EditDatabase/types/services/NotificationService.d.ts +++ b/TypeScript/2EditDatabase/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/2EditDatabase/types/services/OpenZoneService.d.ts b/TypeScript/2EditDatabase/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/2EditDatabase/types/services/OpenZoneService.d.ts +++ b/TypeScript/2EditDatabase/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/2EditDatabase/types/services/PaymentService.d.ts b/TypeScript/2EditDatabase/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/2EditDatabase/types/services/PaymentService.d.ts +++ b/TypeScript/2EditDatabase/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/services/PlayerService.d.ts b/TypeScript/2EditDatabase/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/2EditDatabase/types/services/PlayerService.d.ts +++ b/TypeScript/2EditDatabase/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/2EditDatabase/types/services/PmcChatResponseService.d.ts b/TypeScript/2EditDatabase/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/2EditDatabase/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/2EditDatabase/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/services/ProfileFixerService.d.ts b/TypeScript/2EditDatabase/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/2EditDatabase/types/services/ProfileFixerService.d.ts +++ b/TypeScript/2EditDatabase/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/2EditDatabase/types/services/ProfileSnapshotService.d.ts b/TypeScript/2EditDatabase/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/2EditDatabase/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/2EditDatabase/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/2EditDatabase/types/services/RagfairCategoriesService.d.ts b/TypeScript/2EditDatabase/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/2EditDatabase/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/2EditDatabase/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/2EditDatabase/types/services/RagfairLinkedItemService.d.ts b/TypeScript/2EditDatabase/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/2EditDatabase/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/2EditDatabase/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/2EditDatabase/types/services/RagfairOfferService.d.ts b/TypeScript/2EditDatabase/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/2EditDatabase/types/services/RagfairOfferService.d.ts +++ b/TypeScript/2EditDatabase/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/2EditDatabase/types/services/RagfairPriceService.d.ts b/TypeScript/2EditDatabase/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/2EditDatabase/types/services/RagfairPriceService.d.ts +++ b/TypeScript/2EditDatabase/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/2EditDatabase/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/2EditDatabase/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/2EditDatabase/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/2EditDatabase/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/2EditDatabase/types/services/RagfairTaxService.d.ts b/TypeScript/2EditDatabase/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/2EditDatabase/types/services/RagfairTaxService.d.ts +++ b/TypeScript/2EditDatabase/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/2EditDatabase/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/2EditDatabase/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/2EditDatabase/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/2EditDatabase/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/2EditDatabase/types/services/RepairService.d.ts b/TypeScript/2EditDatabase/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/2EditDatabase/types/services/RepairService.d.ts +++ b/TypeScript/2EditDatabase/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/2EditDatabase/types/services/SeasonalEventService.d.ts b/TypeScript/2EditDatabase/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/2EditDatabase/types/services/SeasonalEventService.d.ts +++ b/TypeScript/2EditDatabase/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/2EditDatabase/types/services/TraderAssortService.d.ts b/TypeScript/2EditDatabase/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/2EditDatabase/types/services/TraderAssortService.d.ts +++ b/TypeScript/2EditDatabase/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/2EditDatabase/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/2EditDatabase/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/2EditDatabase/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/2EditDatabase/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/2EditDatabase/types/services/TraderServicesService.d.ts b/TypeScript/2EditDatabase/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/2EditDatabase/types/services/TraderServicesService.d.ts +++ b/TypeScript/2EditDatabase/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/2EditDatabase/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/2EditDatabase/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/2EditDatabase/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/2EditDatabase/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/services/cache/ModHashCacheService.d.ts b/TypeScript/2EditDatabase/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/2EditDatabase/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/2EditDatabase/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/services/mod/CustomItemService.d.ts b/TypeScript/2EditDatabase/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/2EditDatabase/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/2EditDatabase/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/2EditDatabase/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/2EditDatabase/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/2EditDatabase/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/2EditDatabase/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/2EditDatabase/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/2EditDatabase/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/2EditDatabase/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/2EditDatabase/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/2EditDatabase/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/2EditDatabase/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/2EditDatabase/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/2EditDatabase/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/2EditDatabase/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/2EditDatabase/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/2EditDatabase/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/2EditDatabase/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/2EditDatabase/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/2EditDatabase/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/2EditDatabase/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/2EditDatabase/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/2EditDatabase/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/2EditDatabase/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/2EditDatabase/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/2EditDatabase/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/2EditDatabase/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/2EditDatabase/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/2EditDatabase/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/2EditDatabase/types/utils/App.d.ts b/TypeScript/2EditDatabase/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/2EditDatabase/types/utils/App.d.ts +++ b/TypeScript/2EditDatabase/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/2EditDatabase/types/utils/AsyncQueue.d.ts b/TypeScript/2EditDatabase/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/2EditDatabase/types/utils/AsyncQueue.d.ts +++ b/TypeScript/2EditDatabase/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/2EditDatabase/types/utils/DatabaseImporter.d.ts b/TypeScript/2EditDatabase/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/2EditDatabase/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/2EditDatabase/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/2EditDatabase/types/utils/HashUtil.d.ts b/TypeScript/2EditDatabase/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/2EditDatabase/types/utils/HashUtil.d.ts +++ b/TypeScript/2EditDatabase/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/2EditDatabase/types/utils/HttpFileUtil.d.ts b/TypeScript/2EditDatabase/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/2EditDatabase/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/2EditDatabase/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/2EditDatabase/types/utils/HttpResponseUtil.d.ts b/TypeScript/2EditDatabase/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/2EditDatabase/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/2EditDatabase/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/2EditDatabase/types/utils/ImporterUtil.d.ts b/TypeScript/2EditDatabase/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/2EditDatabase/types/utils/ImporterUtil.d.ts +++ b/TypeScript/2EditDatabase/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/2EditDatabase/types/utils/JsonUtil.d.ts b/TypeScript/2EditDatabase/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/2EditDatabase/types/utils/JsonUtil.d.ts +++ b/TypeScript/2EditDatabase/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/2EditDatabase/types/utils/ObjectId.d.ts b/TypeScript/2EditDatabase/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/2EditDatabase/types/utils/ObjectId.d.ts +++ b/TypeScript/2EditDatabase/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/2EditDatabase/types/utils/RagfairOfferHolder.d.ts b/TypeScript/2EditDatabase/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/2EditDatabase/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/2EditDatabase/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/2EditDatabase/types/utils/RandomUtil.d.ts b/TypeScript/2EditDatabase/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/2EditDatabase/types/utils/RandomUtil.d.ts +++ b/TypeScript/2EditDatabase/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/2EditDatabase/types/utils/VFS.d.ts b/TypeScript/2EditDatabase/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/2EditDatabase/types/utils/VFS.d.ts +++ b/TypeScript/2EditDatabase/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/2EditDatabase/types/utils/Watermark.d.ts b/TypeScript/2EditDatabase/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/2EditDatabase/types/utils/Watermark.d.ts +++ b/TypeScript/2EditDatabase/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/2EditDatabase/types/utils/cloners/JsonCloner.d.ts b/TypeScript/2EditDatabase/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/2EditDatabase/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/2EditDatabase/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/2EditDatabase/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/2EditDatabase/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/2EditDatabase/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/2EditDatabase/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/2EditDatabase/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/2EditDatabase/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/2EditDatabase/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/2EditDatabase/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/2EditDatabase/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/2EditDatabase/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/2EditDatabase/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/2EditDatabase/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/2EditDatabase/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/2EditDatabase/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/2EditDatabase/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/2EditDatabase/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/2EditDatabase/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/2EditDatabase/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/2EditDatabase/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/2EditDatabase/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/3GetSptConfigFile/README.md b/TypeScript/3GetSptConfigFile/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/3GetSptConfigFile/README.md +++ b/TypeScript/3GetSptConfigFile/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/3GetSptConfigFile/package.json b/TypeScript/3GetSptConfigFile/package.json index fdc26ad..25db4a1 100644 --- a/TypeScript/3GetSptConfigFile/package.json +++ b/TypeScript/3GetSptConfigFile/package.json @@ -1,7 +1,7 @@ { "name": "GetSptConfigFile", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/3GetSptConfigFile/src/mod.ts b/TypeScript/3GetSptConfigFile/src/mod.ts index a4b444b..8c4ed34 100644 --- a/TypeScript/3GetSptConfigFile/src/mod.ts +++ b/TypeScript/3GetSptConfigFile/src/mod.ts @@ -1,14 +1,14 @@ import { DependencyContainer } from "tsyringe"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; -class Mod implements IPostAkiLoadMod +class Mod implements IPostSptLoadMod { - public postAkiLoad(container: DependencyContainer): void + public postSptLoad(container: DependencyContainer): void { // get logger const logger = container.resolve("WinstonLogger"); diff --git a/TypeScript/3GetSptConfigFile/tsconfig.json b/TypeScript/3GetSptConfigFile/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/3GetSptConfigFile/tsconfig.json +++ b/TypeScript/3GetSptConfigFile/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/BotCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/BundleCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/DataCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/GameCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/HealthCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/HttpCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/InraidCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/LocationCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/MatchCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/ModCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/NoteCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/PresetCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/QuestCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/RepairCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/SaveCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/TradeCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/TraderCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/3GetSptConfigFile/types/context/ApplicationContext.d.ts b/TypeScript/3GetSptConfigFile/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/3GetSptConfigFile/types/context/ApplicationContext.d.ts +++ b/TypeScript/3GetSptConfigFile/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/3GetSptConfigFile/types/context/ContextVariable.d.ts b/TypeScript/3GetSptConfigFile/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/3GetSptConfigFile/types/context/ContextVariable.d.ts +++ b/TypeScript/3GetSptConfigFile/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/AchievementController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/AchievementController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/3GetSptConfigFile/types/controllers/BotController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/BotController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/BuildController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/BuildController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/3GetSptConfigFile/types/controllers/ClientLogController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/ClientLogController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/3GetSptConfigFile/types/controllers/CustomizationController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/CustomizationController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/DialogueController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/DialogueController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/3GetSptConfigFile/types/controllers/GameController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/GameController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/3GetSptConfigFile/types/controllers/HandbookController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/HandbookController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/HealthController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/HealthController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/HideoutController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/HideoutController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/InraidController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/InraidController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/3GetSptConfigFile/types/controllers/InsuranceController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/InsuranceController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/InventoryController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/InventoryController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/3GetSptConfigFile/types/controllers/LauncherController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/LauncherController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/3GetSptConfigFile/types/controllers/LocationController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/LocationController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/MatchController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/MatchController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/NoteController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/NoteController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/3GetSptConfigFile/types/controllers/NotifierController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/NotifierController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/PresetController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/PresetController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/ProfileController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/ProfileController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/3GetSptConfigFile/types/controllers/QuestController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/QuestController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/RagfairController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/RagfairController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/3GetSptConfigFile/types/controllers/RepairController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/RepairController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/RepeatableQuestController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/TradeController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/TradeController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/TraderController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/TraderController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/WeatherController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/WeatherController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/WishlistController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/WishlistController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/3GetSptConfigFile/types/di/Router.d.ts b/TypeScript/3GetSptConfigFile/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/3GetSptConfigFile/types/di/Router.d.ts +++ b/TypeScript/3GetSptConfigFile/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/3GetSptConfigFile/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/3GetSptConfigFile/types/generators/BotGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/BotGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/generators/BotInventoryGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/generators/BotLevelGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/3GetSptConfigFile/types/generators/BotLootGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/generators/BotWeaponGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/3GetSptConfigFile/types/generators/LocationGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/LocationGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/3GetSptConfigFile/types/generators/LootGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/LootGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/3GetSptConfigFile/types/generators/PMCLootGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/3GetSptConfigFile/types/generators/PlayerScavGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/3GetSptConfigFile/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/3GetSptConfigFile/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/3GetSptConfigFile/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/3GetSptConfigFile/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/3GetSptConfigFile/types/generators/WeatherGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/3GetSptConfigFile/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/3GetSptConfigFile/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/3GetSptConfigFile/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/3GetSptConfigFile/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/3GetSptConfigFile/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/3GetSptConfigFile/types/helpers/AssortHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/AssortHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/BotHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/BotHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/DialogueHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/GameEventHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/HandbookHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/3GetSptConfigFile/types/helpers/HealthHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/HealthHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/3GetSptConfigFile/types/helpers/HideoutHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/HttpServerHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/InRaidHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/InventoryHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/ItemHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/ItemHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/NotificationSendHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/3GetSptConfigFile/types/helpers/NotifierHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/3GetSptConfigFile/types/helpers/PaymentHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/PresetHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/PresetHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/ProbabilityHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/ProfileHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/3GetSptConfigFile/types/helpers/QuestConditionHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/QuestHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/QuestHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/3GetSptConfigFile/types/helpers/RagfairHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/3GetSptConfigFile/types/helpers/RagfairSellHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/RagfairServerHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/3GetSptConfigFile/types/helpers/RagfairSortHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/RepairHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/RepairHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/SecureContainerHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/TradeHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/TradeHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/TraderAssortHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/TraderHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/TraderHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/3GetSptConfigFile/types/loaders/BundleLoader.d.ts b/TypeScript/3GetSptConfigFile/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/3GetSptConfigFile/types/loaders/BundleLoader.d.ts +++ b/TypeScript/3GetSptConfigFile/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/3GetSptConfigFile/types/loaders/ModLoadOrder.d.ts b/TypeScript/3GetSptConfigFile/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/3GetSptConfigFile/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/3GetSptConfigFile/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/3GetSptConfigFile/types/loaders/ModTypeCheck.d.ts b/TypeScript/3GetSptConfigFile/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/3GetSptConfigFile/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/3GetSptConfigFile/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/3GetSptConfigFile/types/loaders/PostAkiModLoader.d.ts b/TypeScript/3GetSptConfigFile/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/3GetSptConfigFile/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/3GetSptConfigFile/types/loaders/PostDBModLoader.d.ts b/TypeScript/3GetSptConfigFile/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/3GetSptConfigFile/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/3GetSptConfigFile/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/3GetSptConfigFile/types/loaders/PostSptModLoader.d.ts b/TypeScript/3GetSptConfigFile/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/3GetSptConfigFile/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/3GetSptConfigFile/types/loaders/PreAkiModLoader.d.ts b/TypeScript/3GetSptConfigFile/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/3GetSptConfigFile/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/3GetSptConfigFile/types/loaders/PreSptModLoader.d.ts b/TypeScript/3GetSptConfigFile/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/3GetSptConfigFile/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/common/IGlobals.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/common/ILocation.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/common/ILocationBase.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/common/IPmcData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/hideout/IQteData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/3GetSptConfigFile/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/3GetSptConfigFile/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsAid.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsPing.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/enums/ConfigTypes.d.ts b/TypeScript/3GetSptConfigFile/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/3GetSptConfigFile/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/3GetSptConfigFile/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/3GetSptConfigFile/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/3GetSptConfigFile/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/3GetSptConfigFile/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/3GetSptConfigFile/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/3GetSptConfigFile/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/3GetSptConfigFile/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/3GetSptConfigFile/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/3GetSptConfigFile/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/3GetSptConfigFile/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/3GetSptConfigFile/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/3GetSptConfigFile/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/3GetSptConfigFile/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/3GetSptConfigFile/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/3GetSptConfigFile/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/3GetSptConfigFile/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/3GetSptConfigFile/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/3GetSptConfigFile/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/3GetSptConfigFile/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/3GetSptConfigFile/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/3GetSptConfigFile/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/3GetSptConfigFile/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/3GetSptConfigFile/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/3GetSptConfigFile/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/bindings/Route.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IBotConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IItemConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/ILootConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/controllers/IBotController.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/3GetSptConfigFile/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/server/ILocations.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/services/CustomPreset.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/services/LootRequest.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/utils/ILogger.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/3GetSptConfigFile/types/routers/EventOutputHolder.d.ts b/TypeScript/3GetSptConfigFile/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/3GetSptConfigFile/types/routers/HttpRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/HttpRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/3GetSptConfigFile/types/routers/ImageRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/ImageRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/3GetSptConfigFile/types/routers/ItemEventRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/3GetSptConfigFile/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/3GetSptConfigFile/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/3GetSptConfigFile/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/3GetSptConfigFile/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/3GetSptConfigFile/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/3GetSptConfigFile/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/3GetSptConfigFile/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/3GetSptConfigFile/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/3GetSptConfigFile/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/3GetSptConfigFile/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/3GetSptConfigFile/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/3GetSptConfigFile/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/3GetSptConfigFile/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/BotStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/DataStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/GameStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/3GetSptConfigFile/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/3GetSptConfigFile/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/3GetSptConfigFile/types/servers/ConfigServer.d.ts b/TypeScript/3GetSptConfigFile/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/3GetSptConfigFile/types/servers/ConfigServer.d.ts +++ b/TypeScript/3GetSptConfigFile/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/3GetSptConfigFile/types/servers/DatabaseServer.d.ts b/TypeScript/3GetSptConfigFile/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/3GetSptConfigFile/types/servers/DatabaseServer.d.ts +++ b/TypeScript/3GetSptConfigFile/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/3GetSptConfigFile/types/servers/HttpServer.d.ts b/TypeScript/3GetSptConfigFile/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/3GetSptConfigFile/types/servers/HttpServer.d.ts +++ b/TypeScript/3GetSptConfigFile/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/3GetSptConfigFile/types/servers/RagfairServer.d.ts b/TypeScript/3GetSptConfigFile/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/3GetSptConfigFile/types/servers/RagfairServer.d.ts +++ b/TypeScript/3GetSptConfigFile/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/3GetSptConfigFile/types/servers/SaveServer.d.ts b/TypeScript/3GetSptConfigFile/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/3GetSptConfigFile/types/servers/SaveServer.d.ts +++ b/TypeScript/3GetSptConfigFile/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/3GetSptConfigFile/types/servers/WebSocketServer.d.ts b/TypeScript/3GetSptConfigFile/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/3GetSptConfigFile/types/servers/WebSocketServer.d.ts +++ b/TypeScript/3GetSptConfigFile/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/3GetSptConfigFile/types/servers/http/AkiHttpListener.d.ts b/TypeScript/3GetSptConfigFile/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/3GetSptConfigFile/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/3GetSptConfigFile/types/servers/http/SptHttpListener.d.ts b/TypeScript/3GetSptConfigFile/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/3GetSptConfigFile/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/3GetSptConfigFile/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/3GetSptConfigFile/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/3GetSptConfigFile/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/3GetSptConfigFile/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/3GetSptConfigFile/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/3GetSptConfigFile/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/3GetSptConfigFile/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/3GetSptConfigFile/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/3GetSptConfigFile/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/3GetSptConfigFile/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/3GetSptConfigFile/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/3GetSptConfigFile/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/3GetSptConfigFile/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/3GetSptConfigFile/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/3GetSptConfigFile/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/3GetSptConfigFile/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/3GetSptConfigFile/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/3GetSptConfigFile/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/3GetSptConfigFile/types/services/BotEquipmentFilterService.d.ts b/TypeScript/3GetSptConfigFile/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/3GetSptConfigFile/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/3GetSptConfigFile/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/3GetSptConfigFile/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/3GetSptConfigFile/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/3GetSptConfigFile/types/services/BotGenerationCacheService.d.ts b/TypeScript/3GetSptConfigFile/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/3GetSptConfigFile/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/3GetSptConfigFile/types/services/BotLootCacheService.d.ts b/TypeScript/3GetSptConfigFile/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/3GetSptConfigFile/types/services/BotLootCacheService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/3GetSptConfigFile/types/services/BotWeaponModLimitService.d.ts b/TypeScript/3GetSptConfigFile/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/3GetSptConfigFile/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/3GetSptConfigFile/types/services/CustomLocationWaveService.d.ts b/TypeScript/3GetSptConfigFile/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/3GetSptConfigFile/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/3GetSptConfigFile/types/services/FenceService.d.ts b/TypeScript/3GetSptConfigFile/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/3GetSptConfigFile/types/services/FenceService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/3GetSptConfigFile/types/services/GiftService.d.ts b/TypeScript/3GetSptConfigFile/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/3GetSptConfigFile/types/services/GiftService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/3GetSptConfigFile/types/services/InsuranceService.d.ts b/TypeScript/3GetSptConfigFile/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/3GetSptConfigFile/types/services/InsuranceService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/3GetSptConfigFile/types/services/ItemBaseClassService.d.ts b/TypeScript/3GetSptConfigFile/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/3GetSptConfigFile/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/3GetSptConfigFile/types/services/ItemFilterService.d.ts b/TypeScript/3GetSptConfigFile/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/3GetSptConfigFile/types/services/ItemFilterService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/3GetSptConfigFile/types/services/LocaleService.d.ts b/TypeScript/3GetSptConfigFile/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/3GetSptConfigFile/types/services/LocaleService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/3GetSptConfigFile/types/services/LocalisationService.d.ts b/TypeScript/3GetSptConfigFile/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/3GetSptConfigFile/types/services/LocalisationService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/3GetSptConfigFile/types/services/MailSendService.d.ts b/TypeScript/3GetSptConfigFile/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/3GetSptConfigFile/types/services/MailSendService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/3GetSptConfigFile/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/3GetSptConfigFile/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/3GetSptConfigFile/types/services/MatchLocationService.d.ts b/TypeScript/3GetSptConfigFile/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/3GetSptConfigFile/types/services/MatchLocationService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/3GetSptConfigFile/types/services/ModCompilerService.d.ts b/TypeScript/3GetSptConfigFile/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/3GetSptConfigFile/types/services/ModCompilerService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/3GetSptConfigFile/types/services/NotificationService.d.ts b/TypeScript/3GetSptConfigFile/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/3GetSptConfigFile/types/services/NotificationService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/3GetSptConfigFile/types/services/OpenZoneService.d.ts b/TypeScript/3GetSptConfigFile/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/3GetSptConfigFile/types/services/OpenZoneService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/3GetSptConfigFile/types/services/PaymentService.d.ts b/TypeScript/3GetSptConfigFile/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/3GetSptConfigFile/types/services/PaymentService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/services/PlayerService.d.ts b/TypeScript/3GetSptConfigFile/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/3GetSptConfigFile/types/services/PlayerService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/3GetSptConfigFile/types/services/PmcChatResponseService.d.ts b/TypeScript/3GetSptConfigFile/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/3GetSptConfigFile/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/services/ProfileFixerService.d.ts b/TypeScript/3GetSptConfigFile/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/3GetSptConfigFile/types/services/ProfileFixerService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/3GetSptConfigFile/types/services/ProfileSnapshotService.d.ts b/TypeScript/3GetSptConfigFile/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/3GetSptConfigFile/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/3GetSptConfigFile/types/services/RagfairCategoriesService.d.ts b/TypeScript/3GetSptConfigFile/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/3GetSptConfigFile/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/3GetSptConfigFile/types/services/RagfairLinkedItemService.d.ts b/TypeScript/3GetSptConfigFile/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/3GetSptConfigFile/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/3GetSptConfigFile/types/services/RagfairOfferService.d.ts b/TypeScript/3GetSptConfigFile/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/3GetSptConfigFile/types/services/RagfairOfferService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/3GetSptConfigFile/types/services/RagfairPriceService.d.ts b/TypeScript/3GetSptConfigFile/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/3GetSptConfigFile/types/services/RagfairPriceService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/3GetSptConfigFile/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/3GetSptConfigFile/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/3GetSptConfigFile/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/3GetSptConfigFile/types/services/RagfairTaxService.d.ts b/TypeScript/3GetSptConfigFile/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/3GetSptConfigFile/types/services/RagfairTaxService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/3GetSptConfigFile/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/3GetSptConfigFile/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/3GetSptConfigFile/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/3GetSptConfigFile/types/services/RepairService.d.ts b/TypeScript/3GetSptConfigFile/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/3GetSptConfigFile/types/services/RepairService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/3GetSptConfigFile/types/services/SeasonalEventService.d.ts b/TypeScript/3GetSptConfigFile/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/3GetSptConfigFile/types/services/SeasonalEventService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/3GetSptConfigFile/types/services/TraderAssortService.d.ts b/TypeScript/3GetSptConfigFile/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/3GetSptConfigFile/types/services/TraderAssortService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/3GetSptConfigFile/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/3GetSptConfigFile/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/3GetSptConfigFile/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/3GetSptConfigFile/types/services/TraderServicesService.d.ts b/TypeScript/3GetSptConfigFile/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/3GetSptConfigFile/types/services/TraderServicesService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/3GetSptConfigFile/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/3GetSptConfigFile/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/3GetSptConfigFile/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/services/cache/ModHashCacheService.d.ts b/TypeScript/3GetSptConfigFile/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/3GetSptConfigFile/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/services/mod/CustomItemService.d.ts b/TypeScript/3GetSptConfigFile/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/3GetSptConfigFile/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/3GetSptConfigFile/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/3GetSptConfigFile/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/3GetSptConfigFile/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/3GetSptConfigFile/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/3GetSptConfigFile/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/3GetSptConfigFile/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/3GetSptConfigFile/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/3GetSptConfigFile/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/3GetSptConfigFile/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/3GetSptConfigFile/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/3GetSptConfigFile/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/3GetSptConfigFile/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/3GetSptConfigFile/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/3GetSptConfigFile/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/3GetSptConfigFile/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/3GetSptConfigFile/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/3GetSptConfigFile/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/3GetSptConfigFile/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/3GetSptConfigFile/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/3GetSptConfigFile/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/3GetSptConfigFile/types/utils/App.d.ts b/TypeScript/3GetSptConfigFile/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/App.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/3GetSptConfigFile/types/utils/AsyncQueue.d.ts b/TypeScript/3GetSptConfigFile/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/AsyncQueue.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/3GetSptConfigFile/types/utils/DatabaseImporter.d.ts b/TypeScript/3GetSptConfigFile/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/3GetSptConfigFile/types/utils/HashUtil.d.ts b/TypeScript/3GetSptConfigFile/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/HashUtil.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/3GetSptConfigFile/types/utils/HttpFileUtil.d.ts b/TypeScript/3GetSptConfigFile/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/3GetSptConfigFile/types/utils/HttpResponseUtil.d.ts b/TypeScript/3GetSptConfigFile/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/3GetSptConfigFile/types/utils/ImporterUtil.d.ts b/TypeScript/3GetSptConfigFile/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/ImporterUtil.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/3GetSptConfigFile/types/utils/JsonUtil.d.ts b/TypeScript/3GetSptConfigFile/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/JsonUtil.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/3GetSptConfigFile/types/utils/ObjectId.d.ts b/TypeScript/3GetSptConfigFile/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/ObjectId.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/3GetSptConfigFile/types/utils/RagfairOfferHolder.d.ts b/TypeScript/3GetSptConfigFile/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/3GetSptConfigFile/types/utils/RandomUtil.d.ts b/TypeScript/3GetSptConfigFile/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/RandomUtil.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/3GetSptConfigFile/types/utils/VFS.d.ts b/TypeScript/3GetSptConfigFile/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/VFS.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/3GetSptConfigFile/types/utils/Watermark.d.ts b/TypeScript/3GetSptConfigFile/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/Watermark.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/3GetSptConfigFile/types/utils/cloners/JsonCloner.d.ts b/TypeScript/3GetSptConfigFile/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/3GetSptConfigFile/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/3GetSptConfigFile/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/3GetSptConfigFile/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/3GetSptConfigFile/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/3GetSptConfigFile/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/3GetSptConfigFile/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/3GetSptConfigFile/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/3GetSptConfigFile/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/3GetSptConfigFile/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/3GetSptConfigFile/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/3GetSptConfigFile/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/3GetSptConfigFile/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/README.md b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/README.md +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/package.json b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/package.json index b28fa8d..f64022f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/package.json +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/package.json @@ -1,7 +1,7 @@ { "name": "UseACustomJson5OrJsonCConfigFile", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/src/mod.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/src/mod.ts index 1439e17..59cc800 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/src/mod.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/src/mod.ts @@ -1,16 +1,16 @@ import path from "node:path"; import { DependencyContainer } from "tsyringe"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { VFS } from "@spt-aki/utils/VFS"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { VFS } from "@spt/utils/VFS"; import JSON5 from "json5"; import { jsonc } from "jsonc"; -class Mod implements IPostAkiLoadMod +class Mod implements IPostSptLoadMod { - public postAkiLoad(container: DependencyContainer): void { + public postSptLoad(container: DependencyContainer): void { // get logger const logger = container.resolve("WinstonLogger"); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/tsconfig.json b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/tsconfig.json +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/BotCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/BundleCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/DataCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/GameCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HealthCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HttpCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/InraidCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/LocationCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/MatchCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ModCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/NoteCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/PresetCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/QuestCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/RepairCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/SaveCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/TradeCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/TraderCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/context/ApplicationContext.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/context/ApplicationContext.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/context/ContextVariable.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/context/ContextVariable.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/AchievementController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/AchievementController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/BotController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/BotController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/BuildController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/BuildController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/ClientLogController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/ClientLogController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/CustomizationController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/CustomizationController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/DialogueController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/DialogueController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/GameController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/GameController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/HandbookController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/HandbookController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/HealthController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/HealthController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/HideoutController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/HideoutController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/InraidController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/InraidController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/InsuranceController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/InsuranceController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/InventoryController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/InventoryController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/LauncherController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/LauncherController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/LocationController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/LocationController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/MatchController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/MatchController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/NoteController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/NoteController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/NotifierController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/NotifierController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/PresetController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/PresetController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/ProfileController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/ProfileController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/QuestController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/QuestController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/RagfairController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/RagfairController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/RepairController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/RepairController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/RepeatableQuestController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/TradeController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/TradeController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/TraderController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/TraderController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/WeatherController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/WeatherController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/WishlistController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/WishlistController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/di/Router.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/di/Router.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotInventoryGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotLevelGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotLootGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotWeaponGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/LocationGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/LocationGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/LootGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/LootGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/PMCLootGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/PlayerScavGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/WeatherGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/AssortHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/AssortHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/DialogueHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/GameEventHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HandbookHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HealthHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HealthHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HideoutHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HttpServerHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/InRaidHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/InventoryHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/ItemHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/ItemHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/NotificationSendHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/NotifierHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/PaymentHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/PresetHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/PresetHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/ProbabilityHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/ProfileHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/QuestConditionHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/QuestHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/QuestHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairSellHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairServerHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairSortHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RepairHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RepairHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/SecureContainerHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/TradeHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/TradeHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/TraderAssortHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/TraderHelper.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/TraderHelper.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/BundleLoader.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/BundleLoader.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/ModLoadOrder.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/ModTypeCheck.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PostAkiModLoader.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PostDBModLoader.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PostSptModLoader.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PreAkiModLoader.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PreSptModLoader.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/IGlobals.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILocation.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILocationBase.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/IPmcData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/hideout/IQteData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsAid.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsPing.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/enums/ConfigTypes.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/bindings/Route.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IBotConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IItemConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILootConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/controllers/IBotController.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/server/ILocations.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/CustomPreset.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/LootRequest.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/utils/ILogger.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/EventOutputHolder.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/HttpRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/HttpRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/ImageRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/ImageRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/ItemEventRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/BotStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/DataStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/GameStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ConfigServer.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ConfigServer.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/DatabaseServer.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/DatabaseServer.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/HttpServer.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/HttpServer.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/RagfairServer.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/RagfairServer.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/SaveServer.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/SaveServer.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/WebSocketServer.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/WebSocketServer.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/http/AkiHttpListener.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/http/SptHttpListener.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotEquipmentFilterService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotGenerationCacheService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotLootCacheService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotLootCacheService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotWeaponModLimitService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/CustomLocationWaveService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/FenceService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/FenceService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/GiftService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/GiftService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/InsuranceService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/InsuranceService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ItemBaseClassService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ItemFilterService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ItemFilterService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/LocaleService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/LocaleService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/LocalisationService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/LocalisationService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/MailSendService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/MailSendService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/MatchLocationService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/MatchLocationService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ModCompilerService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ModCompilerService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/NotificationService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/NotificationService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/OpenZoneService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/OpenZoneService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/PaymentService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/PaymentService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/PlayerService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/PlayerService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/PmcChatResponseService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ProfileFixerService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ProfileFixerService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ProfileSnapshotService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairCategoriesService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairLinkedItemService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairOfferService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairOfferService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairPriceService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairPriceService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairTaxService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairTaxService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RepairService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RepairService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/SeasonalEventService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/SeasonalEventService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/TraderAssortService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/TraderAssortService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/TraderServicesService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/TraderServicesService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/cache/ModHashCacheService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/CustomItemService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/App.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/App.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/AsyncQueue.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/AsyncQueue.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/DatabaseImporter.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/HashUtil.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/HashUtil.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/HttpFileUtil.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/HttpResponseUtil.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/ImporterUtil.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/ImporterUtil.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/JsonUtil.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/JsonUtil.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/ObjectId.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/ObjectId.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/RagfairOfferHolder.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/RandomUtil.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/RandomUtil.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/VFS.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/VFS.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/Watermark.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/Watermark.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/cloners/JsonCloner.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/4UseACustomConfigFile/README.md b/TypeScript/4UseACustomConfigFile/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/4UseACustomConfigFile/README.md +++ b/TypeScript/4UseACustomConfigFile/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/4UseACustomConfigFile/package.json b/TypeScript/4UseACustomConfigFile/package.json index f089d0f..974f6d6 100644 --- a/TypeScript/4UseACustomConfigFile/package.json +++ b/TypeScript/4UseACustomConfigFile/package.json @@ -1,7 +1,7 @@ { "name": "UseACustomConfigFile", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/4UseACustomConfigFile/src/mod.ts b/TypeScript/4UseACustomConfigFile/src/mod.ts index c33274e..8fba649 100644 --- a/TypeScript/4UseACustomConfigFile/src/mod.ts +++ b/TypeScript/4UseACustomConfigFile/src/mod.ts @@ -1,13 +1,13 @@ import { DependencyContainer } from "tsyringe"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; -class Mod implements IPostAkiLoadMod +class Mod implements IPostSptLoadMod { private modConfig = require("../config/config.json"); - public postAkiLoad(container: DependencyContainer): void { + public postSptLoad(container: DependencyContainer): void { // get logger const logger = container.resolve("WinstonLogger"); diff --git a/TypeScript/4UseACustomConfigFile/tsconfig.json b/TypeScript/4UseACustomConfigFile/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/4UseACustomConfigFile/tsconfig.json +++ b/TypeScript/4UseACustomConfigFile/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/BotCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/BundleCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/DataCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/GameCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/HealthCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/HttpCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/InraidCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/LocationCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/MatchCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/ModCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/NoteCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/PresetCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/QuestCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/RepairCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/SaveCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/TradeCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/TraderCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/4UseACustomConfigFile/types/context/ApplicationContext.d.ts b/TypeScript/4UseACustomConfigFile/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/4UseACustomConfigFile/types/context/ApplicationContext.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/4UseACustomConfigFile/types/context/ContextVariable.d.ts b/TypeScript/4UseACustomConfigFile/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/4UseACustomConfigFile/types/context/ContextVariable.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/AchievementController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/AchievementController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/BotController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/BotController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/BuildController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/BuildController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/ClientLogController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/ClientLogController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/CustomizationController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/CustomizationController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/DialogueController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/DialogueController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/GameController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/GameController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/HandbookController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/HandbookController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/HealthController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/HealthController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/HideoutController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/HideoutController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/InraidController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/InraidController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/InsuranceController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/InsuranceController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/InventoryController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/InventoryController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/LauncherController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/LauncherController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/LocationController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/LocationController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/MatchController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/MatchController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/NoteController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/NoteController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/NotifierController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/NotifierController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/PresetController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/PresetController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/ProfileController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/ProfileController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/QuestController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/QuestController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/RagfairController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/RagfairController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/RepairController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/RepairController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/RepeatableQuestController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/TradeController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/TradeController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/TraderController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/TraderController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/WeatherController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/WeatherController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/WishlistController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/WishlistController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/4UseACustomConfigFile/types/di/Router.d.ts b/TypeScript/4UseACustomConfigFile/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/4UseACustomConfigFile/types/di/Router.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/4UseACustomConfigFile/types/generators/BotGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/BotGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/BotInventoryGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/BotLevelGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/BotLootGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/BotWeaponGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/4UseACustomConfigFile/types/generators/LocationGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/LocationGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/LootGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/LootGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/PMCLootGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/4UseACustomConfigFile/types/generators/PlayerScavGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/4UseACustomConfigFile/types/generators/WeatherGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/AssortHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/AssortHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/BotHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/BotHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/DialogueHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/GameEventHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/HandbookHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/HealthHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/HealthHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/HideoutHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/HttpServerHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/InRaidHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/InventoryHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/ItemHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/ItemHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/NotificationSendHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/NotifierHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/PaymentHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/PresetHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/PresetHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/ProbabilityHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/ProfileHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/QuestConditionHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/QuestHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/QuestHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/RagfairHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/RagfairSellHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/RagfairServerHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/RagfairSortHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/RepairHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/RepairHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/SecureContainerHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/TradeHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/TradeHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/TraderAssortHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/TraderHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/TraderHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4UseACustomConfigFile/types/loaders/BundleLoader.d.ts b/TypeScript/4UseACustomConfigFile/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/4UseACustomConfigFile/types/loaders/BundleLoader.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/4UseACustomConfigFile/types/loaders/ModLoadOrder.d.ts b/TypeScript/4UseACustomConfigFile/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/4UseACustomConfigFile/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/4UseACustomConfigFile/types/loaders/ModTypeCheck.d.ts b/TypeScript/4UseACustomConfigFile/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/4UseACustomConfigFile/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/4UseACustomConfigFile/types/loaders/PostAkiModLoader.d.ts b/TypeScript/4UseACustomConfigFile/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/4UseACustomConfigFile/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/4UseACustomConfigFile/types/loaders/PostDBModLoader.d.ts b/TypeScript/4UseACustomConfigFile/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/4UseACustomConfigFile/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/4UseACustomConfigFile/types/loaders/PostSptModLoader.d.ts b/TypeScript/4UseACustomConfigFile/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/4UseACustomConfigFile/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/4UseACustomConfigFile/types/loaders/PreAkiModLoader.d.ts b/TypeScript/4UseACustomConfigFile/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/4UseACustomConfigFile/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/4UseACustomConfigFile/types/loaders/PreSptModLoader.d.ts b/TypeScript/4UseACustomConfigFile/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/4UseACustomConfigFile/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/common/IGlobals.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILocation.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILocationBase.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/common/IPmcData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/hideout/IQteData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsAid.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsPing.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/enums/ConfigTypes.d.ts b/TypeScript/4UseACustomConfigFile/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/4UseACustomConfigFile/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/4UseACustomConfigFile/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/4UseACustomConfigFile/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/4UseACustomConfigFile/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/4UseACustomConfigFile/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/4UseACustomConfigFile/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/4UseACustomConfigFile/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/4UseACustomConfigFile/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/4UseACustomConfigFile/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/4UseACustomConfigFile/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/4UseACustomConfigFile/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/4UseACustomConfigFile/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/4UseACustomConfigFile/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/4UseACustomConfigFile/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/4UseACustomConfigFile/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/4UseACustomConfigFile/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/4UseACustomConfigFile/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/4UseACustomConfigFile/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/4UseACustomConfigFile/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/4UseACustomConfigFile/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/4UseACustomConfigFile/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/4UseACustomConfigFile/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/4UseACustomConfigFile/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/4UseACustomConfigFile/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/bindings/Route.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IBotConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IItemConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILootConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/controllers/IBotController.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/4UseACustomConfigFile/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/server/ILocations.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/services/CustomPreset.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/services/LootRequest.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/utils/ILogger.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/4UseACustomConfigFile/types/routers/EventOutputHolder.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/routers/HttpRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/HttpRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/4UseACustomConfigFile/types/routers/ImageRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/ImageRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/4UseACustomConfigFile/types/routers/ItemEventRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/4UseACustomConfigFile/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/4UseACustomConfigFile/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/4UseACustomConfigFile/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/4UseACustomConfigFile/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/4UseACustomConfigFile/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/4UseACustomConfigFile/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/4UseACustomConfigFile/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/BotStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/DataStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/GameStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/4UseACustomConfigFile/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/4UseACustomConfigFile/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/4UseACustomConfigFile/types/servers/ConfigServer.d.ts b/TypeScript/4UseACustomConfigFile/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/4UseACustomConfigFile/types/servers/ConfigServer.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/4UseACustomConfigFile/types/servers/DatabaseServer.d.ts b/TypeScript/4UseACustomConfigFile/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/4UseACustomConfigFile/types/servers/DatabaseServer.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/4UseACustomConfigFile/types/servers/HttpServer.d.ts b/TypeScript/4UseACustomConfigFile/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/4UseACustomConfigFile/types/servers/HttpServer.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4UseACustomConfigFile/types/servers/RagfairServer.d.ts b/TypeScript/4UseACustomConfigFile/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/4UseACustomConfigFile/types/servers/RagfairServer.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/4UseACustomConfigFile/types/servers/SaveServer.d.ts b/TypeScript/4UseACustomConfigFile/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/4UseACustomConfigFile/types/servers/SaveServer.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/4UseACustomConfigFile/types/servers/WebSocketServer.d.ts b/TypeScript/4UseACustomConfigFile/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/4UseACustomConfigFile/types/servers/WebSocketServer.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/4UseACustomConfigFile/types/servers/http/AkiHttpListener.d.ts b/TypeScript/4UseACustomConfigFile/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/4UseACustomConfigFile/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/4UseACustomConfigFile/types/servers/http/SptHttpListener.d.ts b/TypeScript/4UseACustomConfigFile/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/4UseACustomConfigFile/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/4UseACustomConfigFile/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/4UseACustomConfigFile/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/4UseACustomConfigFile/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/4UseACustomConfigFile/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/4UseACustomConfigFile/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/4UseACustomConfigFile/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/4UseACustomConfigFile/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/4UseACustomConfigFile/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/4UseACustomConfigFile/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/4UseACustomConfigFile/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/4UseACustomConfigFile/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/4UseACustomConfigFile/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/4UseACustomConfigFile/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/4UseACustomConfigFile/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/4UseACustomConfigFile/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/4UseACustomConfigFile/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/4UseACustomConfigFile/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/4UseACustomConfigFile/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/4UseACustomConfigFile/types/services/BotEquipmentFilterService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/4UseACustomConfigFile/types/services/BotGenerationCacheService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/services/BotLootCacheService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/BotLootCacheService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/services/BotWeaponModLimitService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/4UseACustomConfigFile/types/services/CustomLocationWaveService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/services/FenceService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/FenceService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/4UseACustomConfigFile/types/services/GiftService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/GiftService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/4UseACustomConfigFile/types/services/InsuranceService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/InsuranceService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4UseACustomConfigFile/types/services/ItemBaseClassService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/4UseACustomConfigFile/types/services/ItemFilterService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/ItemFilterService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/4UseACustomConfigFile/types/services/LocaleService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/LocaleService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/4UseACustomConfigFile/types/services/LocalisationService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/LocalisationService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/4UseACustomConfigFile/types/services/MailSendService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/MailSendService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/4UseACustomConfigFile/types/services/MatchLocationService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/MatchLocationService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/4UseACustomConfigFile/types/services/ModCompilerService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/ModCompilerService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/4UseACustomConfigFile/types/services/NotificationService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/NotificationService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/4UseACustomConfigFile/types/services/OpenZoneService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/OpenZoneService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/4UseACustomConfigFile/types/services/PaymentService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/PaymentService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/services/PlayerService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/PlayerService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/services/PmcChatResponseService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/services/ProfileFixerService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/ProfileFixerService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/4UseACustomConfigFile/types/services/ProfileSnapshotService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/4UseACustomConfigFile/types/services/RagfairCategoriesService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/services/RagfairLinkedItemService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/services/RagfairOfferService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/RagfairOfferService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/services/RagfairPriceService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/RagfairPriceService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/4UseACustomConfigFile/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/services/RagfairTaxService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/RagfairTaxService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4UseACustomConfigFile/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4UseACustomConfigFile/types/services/RepairService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/RepairService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4UseACustomConfigFile/types/services/SeasonalEventService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/SeasonalEventService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/4UseACustomConfigFile/types/services/TraderAssortService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/TraderAssortService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/4UseACustomConfigFile/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/4UseACustomConfigFile/types/services/TraderServicesService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/TraderServicesService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/4UseACustomConfigFile/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/services/cache/ModHashCacheService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/services/mod/CustomItemService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/4UseACustomConfigFile/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/4UseACustomConfigFile/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/4UseACustomConfigFile/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/4UseACustomConfigFile/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/4UseACustomConfigFile/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/4UseACustomConfigFile/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/4UseACustomConfigFile/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/4UseACustomConfigFile/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/4UseACustomConfigFile/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/4UseACustomConfigFile/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/4UseACustomConfigFile/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/4UseACustomConfigFile/types/utils/App.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/App.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/utils/AsyncQueue.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/AsyncQueue.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/4UseACustomConfigFile/types/utils/DatabaseImporter.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/4UseACustomConfigFile/types/utils/HashUtil.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/HashUtil.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/4UseACustomConfigFile/types/utils/HttpFileUtil.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/4UseACustomConfigFile/types/utils/HttpResponseUtil.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/4UseACustomConfigFile/types/utils/ImporterUtil.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/ImporterUtil.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/utils/JsonUtil.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/JsonUtil.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/4UseACustomConfigFile/types/utils/ObjectId.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/ObjectId.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/4UseACustomConfigFile/types/utils/RagfairOfferHolder.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/4UseACustomConfigFile/types/utils/RandomUtil.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/RandomUtil.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/4UseACustomConfigFile/types/utils/VFS.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/VFS.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/4UseACustomConfigFile/types/utils/Watermark.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/Watermark.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/4UseACustomConfigFile/types/utils/cloners/JsonCloner.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/4UseACustomConfigFile/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/4UseACustomConfigFile/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/4UseACustomConfigFile/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/4UseACustomConfigFile/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/4UseACustomConfigFile/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/4UseACustomConfigFile/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/4UseACustomConfigFile/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/5ReplaceMethod/README.md b/TypeScript/5ReplaceMethod/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/5ReplaceMethod/README.md +++ b/TypeScript/5ReplaceMethod/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/5ReplaceMethod/package.json b/TypeScript/5ReplaceMethod/package.json index 5876e57..8ae3b2c 100644 --- a/TypeScript/5ReplaceMethod/package.json +++ b/TypeScript/5ReplaceMethod/package.json @@ -1,7 +1,7 @@ { "name": "ReplaceMethod", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/5ReplaceMethod/src/mod.ts b/TypeScript/5ReplaceMethod/src/mod.ts index e10244f..61e48a7 100644 --- a/TypeScript/5ReplaceMethod/src/mod.ts +++ b/TypeScript/5ReplaceMethod/src/mod.ts @@ -1,13 +1,13 @@ import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { SaveServer } from "@spt/servers/SaveServer"; -class Mod implements IPreAkiLoadMod +class Mod implements IPreSptLoadMod { // DO NOT leave static references to ANY resolved dependency. // ALWAYS use the container to resolve dependencies @@ -15,7 +15,7 @@ class Mod implements IPreAkiLoadMod private static container: DependencyContainer; // Perform these actions before server fully loads - public preAkiLoad(container: DependencyContainer): void + public preSptLoad(container: DependencyContainer): void { // We will save a reference to the dependency container to resolve dependencies // that we may need down the line diff --git a/TypeScript/5ReplaceMethod/tsconfig.json b/TypeScript/5ReplaceMethod/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/5ReplaceMethod/tsconfig.json +++ b/TypeScript/5ReplaceMethod/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/5ReplaceMethod/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/BotCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/BundleCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/DataCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/5ReplaceMethod/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/GameCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/5ReplaceMethod/types/callbacks/HealthCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/5ReplaceMethod/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/HttpCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/5ReplaceMethod/types/callbacks/InraidCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/5ReplaceMethod/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/LocationCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/MatchCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/ModCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/5ReplaceMethod/types/callbacks/NoteCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/5ReplaceMethod/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/PresetCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/5ReplaceMethod/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/QuestCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/5ReplaceMethod/types/callbacks/RepairCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/5ReplaceMethod/types/callbacks/SaveCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/TradeCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/5ReplaceMethod/types/callbacks/TraderCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/5ReplaceMethod/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/5ReplaceMethod/types/context/ApplicationContext.d.ts b/TypeScript/5ReplaceMethod/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/5ReplaceMethod/types/context/ApplicationContext.d.ts +++ b/TypeScript/5ReplaceMethod/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/5ReplaceMethod/types/context/ContextVariable.d.ts b/TypeScript/5ReplaceMethod/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/5ReplaceMethod/types/context/ContextVariable.d.ts +++ b/TypeScript/5ReplaceMethod/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/5ReplaceMethod/types/controllers/AchievementController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/AchievementController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/5ReplaceMethod/types/controllers/BotController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/BotController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/5ReplaceMethod/types/controllers/BuildController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/BuildController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/5ReplaceMethod/types/controllers/ClientLogController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/ClientLogController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/5ReplaceMethod/types/controllers/CustomizationController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/CustomizationController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/5ReplaceMethod/types/controllers/DialogueController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/DialogueController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/5ReplaceMethod/types/controllers/GameController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/GameController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/5ReplaceMethod/types/controllers/HandbookController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/HandbookController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/5ReplaceMethod/types/controllers/HealthController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/HealthController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/5ReplaceMethod/types/controllers/HideoutController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/HideoutController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/controllers/InraidController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/InraidController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/5ReplaceMethod/types/controllers/InsuranceController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/InsuranceController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/5ReplaceMethod/types/controllers/InventoryController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/InventoryController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/5ReplaceMethod/types/controllers/LauncherController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/LauncherController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/5ReplaceMethod/types/controllers/LocationController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/LocationController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/5ReplaceMethod/types/controllers/MatchController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/MatchController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/5ReplaceMethod/types/controllers/NoteController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/NoteController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/5ReplaceMethod/types/controllers/NotifierController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/NotifierController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/5ReplaceMethod/types/controllers/PresetController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/PresetController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/5ReplaceMethod/types/controllers/ProfileController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/ProfileController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/5ReplaceMethod/types/controllers/QuestController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/QuestController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/5ReplaceMethod/types/controllers/RagfairController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/RagfairController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/5ReplaceMethod/types/controllers/RepairController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/RepairController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/5ReplaceMethod/types/controllers/RepeatableQuestController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/5ReplaceMethod/types/controllers/TradeController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/TradeController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/5ReplaceMethod/types/controllers/TraderController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/TraderController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/5ReplaceMethod/types/controllers/WeatherController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/WeatherController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/5ReplaceMethod/types/controllers/WishlistController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/WishlistController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/5ReplaceMethod/types/di/Router.d.ts b/TypeScript/5ReplaceMethod/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/5ReplaceMethod/types/di/Router.d.ts +++ b/TypeScript/5ReplaceMethod/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/5ReplaceMethod/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/5ReplaceMethod/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/5ReplaceMethod/types/generators/BotGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/5ReplaceMethod/types/generators/BotGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/generators/BotInventoryGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/5ReplaceMethod/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/generators/BotLevelGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/5ReplaceMethod/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/5ReplaceMethod/types/generators/BotLootGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/5ReplaceMethod/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/generators/BotWeaponGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/5ReplaceMethod/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/5ReplaceMethod/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/5ReplaceMethod/types/generators/LocationGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/5ReplaceMethod/types/generators/LocationGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/5ReplaceMethod/types/generators/LootGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/5ReplaceMethod/types/generators/LootGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/5ReplaceMethod/types/generators/PMCLootGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/5ReplaceMethod/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/5ReplaceMethod/types/generators/PlayerScavGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/5ReplaceMethod/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/5ReplaceMethod/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/5ReplaceMethod/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/5ReplaceMethod/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/5ReplaceMethod/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/5ReplaceMethod/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/5ReplaceMethod/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/5ReplaceMethod/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/5ReplaceMethod/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/5ReplaceMethod/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/5ReplaceMethod/types/generators/WeatherGenerator.d.ts b/TypeScript/5ReplaceMethod/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/5ReplaceMethod/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/5ReplaceMethod/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/5ReplaceMethod/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/5ReplaceMethod/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/5ReplaceMethod/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/5ReplaceMethod/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/5ReplaceMethod/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/5ReplaceMethod/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/5ReplaceMethod/types/helpers/AssortHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/AssortHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/5ReplaceMethod/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/5ReplaceMethod/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/5ReplaceMethod/types/helpers/BotHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/BotHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/5ReplaceMethod/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/5ReplaceMethod/types/helpers/DialogueHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/5ReplaceMethod/types/helpers/GameEventHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/5ReplaceMethod/types/helpers/HandbookHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/5ReplaceMethod/types/helpers/HealthHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/HealthHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/5ReplaceMethod/types/helpers/HideoutHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/helpers/HttpServerHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/5ReplaceMethod/types/helpers/InRaidHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/5ReplaceMethod/types/helpers/InventoryHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/5ReplaceMethod/types/helpers/ItemHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/ItemHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/helpers/NotificationSendHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/5ReplaceMethod/types/helpers/NotifierHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/5ReplaceMethod/types/helpers/PaymentHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/5ReplaceMethod/types/helpers/PresetHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/PresetHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/5ReplaceMethod/types/helpers/ProbabilityHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/5ReplaceMethod/types/helpers/ProfileHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/5ReplaceMethod/types/helpers/QuestConditionHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/5ReplaceMethod/types/helpers/QuestHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/QuestHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/5ReplaceMethod/types/helpers/RagfairHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/5ReplaceMethod/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/5ReplaceMethod/types/helpers/RagfairSellHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/5ReplaceMethod/types/helpers/RagfairServerHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/5ReplaceMethod/types/helpers/RagfairSortHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/5ReplaceMethod/types/helpers/RepairHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/RepairHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/5ReplaceMethod/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/5ReplaceMethod/types/helpers/SecureContainerHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/5ReplaceMethod/types/helpers/TradeHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/TradeHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/5ReplaceMethod/types/helpers/TraderAssortHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/5ReplaceMethod/types/helpers/TraderHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/TraderHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/5ReplaceMethod/types/loaders/BundleLoader.d.ts b/TypeScript/5ReplaceMethod/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/5ReplaceMethod/types/loaders/BundleLoader.d.ts +++ b/TypeScript/5ReplaceMethod/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/5ReplaceMethod/types/loaders/ModLoadOrder.d.ts b/TypeScript/5ReplaceMethod/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/5ReplaceMethod/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/5ReplaceMethod/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/5ReplaceMethod/types/loaders/ModTypeCheck.d.ts b/TypeScript/5ReplaceMethod/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/5ReplaceMethod/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/5ReplaceMethod/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/5ReplaceMethod/types/loaders/PostAkiModLoader.d.ts b/TypeScript/5ReplaceMethod/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/5ReplaceMethod/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/5ReplaceMethod/types/loaders/PostDBModLoader.d.ts b/TypeScript/5ReplaceMethod/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/5ReplaceMethod/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/5ReplaceMethod/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/5ReplaceMethod/types/loaders/PostSptModLoader.d.ts b/TypeScript/5ReplaceMethod/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/5ReplaceMethod/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/5ReplaceMethod/types/loaders/PreAkiModLoader.d.ts b/TypeScript/5ReplaceMethod/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/5ReplaceMethod/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/5ReplaceMethod/types/loaders/PreSptModLoader.d.ts b/TypeScript/5ReplaceMethod/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/5ReplaceMethod/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/5ReplaceMethod/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/common/IGlobals.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/common/ILocation.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/5ReplaceMethod/types/models/eft/common/ILocationBase.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/common/IPmcData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/5ReplaceMethod/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/hideout/IQteData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/5ReplaceMethod/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/5ReplaceMethod/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/5ReplaceMethod/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/5ReplaceMethod/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/5ReplaceMethod/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/5ReplaceMethod/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/5ReplaceMethod/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/5ReplaceMethod/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/5ReplaceMethod/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsAid.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsPing.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/5ReplaceMethod/types/models/enums/ConfigTypes.d.ts b/TypeScript/5ReplaceMethod/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/5ReplaceMethod/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/5ReplaceMethod/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/5ReplaceMethod/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/5ReplaceMethod/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/5ReplaceMethod/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/5ReplaceMethod/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/5ReplaceMethod/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/5ReplaceMethod/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/5ReplaceMethod/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/5ReplaceMethod/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/5ReplaceMethod/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/5ReplaceMethod/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/5ReplaceMethod/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/5ReplaceMethod/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/5ReplaceMethod/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/5ReplaceMethod/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/5ReplaceMethod/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/5ReplaceMethod/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/5ReplaceMethod/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/5ReplaceMethod/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/5ReplaceMethod/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/5ReplaceMethod/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/5ReplaceMethod/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/5ReplaceMethod/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/5ReplaceMethod/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/5ReplaceMethod/types/models/spt/bindings/Route.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/5ReplaceMethod/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IBotConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IItemConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/ILootConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/controllers/IBotController.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/5ReplaceMethod/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/5ReplaceMethod/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/5ReplaceMethod/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/5ReplaceMethod/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/server/ILocations.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/services/CustomPreset.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/5ReplaceMethod/types/models/spt/services/LootRequest.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/5ReplaceMethod/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/5ReplaceMethod/types/models/spt/utils/ILogger.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/5ReplaceMethod/types/routers/EventOutputHolder.d.ts b/TypeScript/5ReplaceMethod/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/5ReplaceMethod/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/5ReplaceMethod/types/routers/HttpRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/5ReplaceMethod/types/routers/HttpRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/5ReplaceMethod/types/routers/ImageRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/5ReplaceMethod/types/routers/ImageRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/5ReplaceMethod/types/routers/ItemEventRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/5ReplaceMethod/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/5ReplaceMethod/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/5ReplaceMethod/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/5ReplaceMethod/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/5ReplaceMethod/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/5ReplaceMethod/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/5ReplaceMethod/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/5ReplaceMethod/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/5ReplaceMethod/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/5ReplaceMethod/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/5ReplaceMethod/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/5ReplaceMethod/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/5ReplaceMethod/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/5ReplaceMethod/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/5ReplaceMethod/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/5ReplaceMethod/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/5ReplaceMethod/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/5ReplaceMethod/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/5ReplaceMethod/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/5ReplaceMethod/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/5ReplaceMethod/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/5ReplaceMethod/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/5ReplaceMethod/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/5ReplaceMethod/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/5ReplaceMethod/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/5ReplaceMethod/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/5ReplaceMethod/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/5ReplaceMethod/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/5ReplaceMethod/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/5ReplaceMethod/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/5ReplaceMethod/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/5ReplaceMethod/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/5ReplaceMethod/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/5ReplaceMethod/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/5ReplaceMethod/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/5ReplaceMethod/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/5ReplaceMethod/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/5ReplaceMethod/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/5ReplaceMethod/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/5ReplaceMethod/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/5ReplaceMethod/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/5ReplaceMethod/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/BotStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/DataStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/GameStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/5ReplaceMethod/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/5ReplaceMethod/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/5ReplaceMethod/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/5ReplaceMethod/types/servers/ConfigServer.d.ts b/TypeScript/5ReplaceMethod/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/5ReplaceMethod/types/servers/ConfigServer.d.ts +++ b/TypeScript/5ReplaceMethod/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/5ReplaceMethod/types/servers/DatabaseServer.d.ts b/TypeScript/5ReplaceMethod/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/5ReplaceMethod/types/servers/DatabaseServer.d.ts +++ b/TypeScript/5ReplaceMethod/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/5ReplaceMethod/types/servers/HttpServer.d.ts b/TypeScript/5ReplaceMethod/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/5ReplaceMethod/types/servers/HttpServer.d.ts +++ b/TypeScript/5ReplaceMethod/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/5ReplaceMethod/types/servers/RagfairServer.d.ts b/TypeScript/5ReplaceMethod/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/5ReplaceMethod/types/servers/RagfairServer.d.ts +++ b/TypeScript/5ReplaceMethod/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/5ReplaceMethod/types/servers/SaveServer.d.ts b/TypeScript/5ReplaceMethod/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/5ReplaceMethod/types/servers/SaveServer.d.ts +++ b/TypeScript/5ReplaceMethod/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/5ReplaceMethod/types/servers/WebSocketServer.d.ts b/TypeScript/5ReplaceMethod/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/5ReplaceMethod/types/servers/WebSocketServer.d.ts +++ b/TypeScript/5ReplaceMethod/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/5ReplaceMethod/types/servers/http/AkiHttpListener.d.ts b/TypeScript/5ReplaceMethod/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/5ReplaceMethod/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/5ReplaceMethod/types/servers/http/SptHttpListener.d.ts b/TypeScript/5ReplaceMethod/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/5ReplaceMethod/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/5ReplaceMethod/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/5ReplaceMethod/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/5ReplaceMethod/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/5ReplaceMethod/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/5ReplaceMethod/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/5ReplaceMethod/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/5ReplaceMethod/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/5ReplaceMethod/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/5ReplaceMethod/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/5ReplaceMethod/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/5ReplaceMethod/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/5ReplaceMethod/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/5ReplaceMethod/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/5ReplaceMethod/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/5ReplaceMethod/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/5ReplaceMethod/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/5ReplaceMethod/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/5ReplaceMethod/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/5ReplaceMethod/types/services/BotEquipmentFilterService.d.ts b/TypeScript/5ReplaceMethod/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/5ReplaceMethod/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/5ReplaceMethod/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/5ReplaceMethod/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/5ReplaceMethod/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/5ReplaceMethod/types/services/BotGenerationCacheService.d.ts b/TypeScript/5ReplaceMethod/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/5ReplaceMethod/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/5ReplaceMethod/types/services/BotLootCacheService.d.ts b/TypeScript/5ReplaceMethod/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/5ReplaceMethod/types/services/BotLootCacheService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/5ReplaceMethod/types/services/BotWeaponModLimitService.d.ts b/TypeScript/5ReplaceMethod/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/5ReplaceMethod/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/5ReplaceMethod/types/services/CustomLocationWaveService.d.ts b/TypeScript/5ReplaceMethod/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/5ReplaceMethod/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/5ReplaceMethod/types/services/FenceService.d.ts b/TypeScript/5ReplaceMethod/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/5ReplaceMethod/types/services/FenceService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/5ReplaceMethod/types/services/GiftService.d.ts b/TypeScript/5ReplaceMethod/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/5ReplaceMethod/types/services/GiftService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/5ReplaceMethod/types/services/InsuranceService.d.ts b/TypeScript/5ReplaceMethod/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/5ReplaceMethod/types/services/InsuranceService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/5ReplaceMethod/types/services/ItemBaseClassService.d.ts b/TypeScript/5ReplaceMethod/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/5ReplaceMethod/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/5ReplaceMethod/types/services/ItemFilterService.d.ts b/TypeScript/5ReplaceMethod/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/5ReplaceMethod/types/services/ItemFilterService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/5ReplaceMethod/types/services/LocaleService.d.ts b/TypeScript/5ReplaceMethod/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/5ReplaceMethod/types/services/LocaleService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/5ReplaceMethod/types/services/LocalisationService.d.ts b/TypeScript/5ReplaceMethod/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/5ReplaceMethod/types/services/LocalisationService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/5ReplaceMethod/types/services/MailSendService.d.ts b/TypeScript/5ReplaceMethod/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/5ReplaceMethod/types/services/MailSendService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/5ReplaceMethod/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/5ReplaceMethod/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/5ReplaceMethod/types/services/MatchLocationService.d.ts b/TypeScript/5ReplaceMethod/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/5ReplaceMethod/types/services/MatchLocationService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/5ReplaceMethod/types/services/ModCompilerService.d.ts b/TypeScript/5ReplaceMethod/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/5ReplaceMethod/types/services/ModCompilerService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/5ReplaceMethod/types/services/NotificationService.d.ts b/TypeScript/5ReplaceMethod/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/5ReplaceMethod/types/services/NotificationService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/5ReplaceMethod/types/services/OpenZoneService.d.ts b/TypeScript/5ReplaceMethod/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/5ReplaceMethod/types/services/OpenZoneService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/5ReplaceMethod/types/services/PaymentService.d.ts b/TypeScript/5ReplaceMethod/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/5ReplaceMethod/types/services/PaymentService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/services/PlayerService.d.ts b/TypeScript/5ReplaceMethod/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/5ReplaceMethod/types/services/PlayerService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/5ReplaceMethod/types/services/PmcChatResponseService.d.ts b/TypeScript/5ReplaceMethod/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/5ReplaceMethod/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/services/ProfileFixerService.d.ts b/TypeScript/5ReplaceMethod/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/5ReplaceMethod/types/services/ProfileFixerService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/5ReplaceMethod/types/services/ProfileSnapshotService.d.ts b/TypeScript/5ReplaceMethod/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/5ReplaceMethod/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/5ReplaceMethod/types/services/RagfairCategoriesService.d.ts b/TypeScript/5ReplaceMethod/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/5ReplaceMethod/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/5ReplaceMethod/types/services/RagfairLinkedItemService.d.ts b/TypeScript/5ReplaceMethod/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/5ReplaceMethod/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/5ReplaceMethod/types/services/RagfairOfferService.d.ts b/TypeScript/5ReplaceMethod/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/5ReplaceMethod/types/services/RagfairOfferService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/5ReplaceMethod/types/services/RagfairPriceService.d.ts b/TypeScript/5ReplaceMethod/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/5ReplaceMethod/types/services/RagfairPriceService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/5ReplaceMethod/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/5ReplaceMethod/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/5ReplaceMethod/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/5ReplaceMethod/types/services/RagfairTaxService.d.ts b/TypeScript/5ReplaceMethod/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/5ReplaceMethod/types/services/RagfairTaxService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/5ReplaceMethod/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/5ReplaceMethod/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/5ReplaceMethod/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/5ReplaceMethod/types/services/RepairService.d.ts b/TypeScript/5ReplaceMethod/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/5ReplaceMethod/types/services/RepairService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/5ReplaceMethod/types/services/SeasonalEventService.d.ts b/TypeScript/5ReplaceMethod/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/5ReplaceMethod/types/services/SeasonalEventService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/5ReplaceMethod/types/services/TraderAssortService.d.ts b/TypeScript/5ReplaceMethod/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/5ReplaceMethod/types/services/TraderAssortService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/5ReplaceMethod/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/5ReplaceMethod/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/5ReplaceMethod/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/5ReplaceMethod/types/services/TraderServicesService.d.ts b/TypeScript/5ReplaceMethod/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/5ReplaceMethod/types/services/TraderServicesService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/5ReplaceMethod/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/5ReplaceMethod/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/5ReplaceMethod/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/services/cache/ModHashCacheService.d.ts b/TypeScript/5ReplaceMethod/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/5ReplaceMethod/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/services/mod/CustomItemService.d.ts b/TypeScript/5ReplaceMethod/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/5ReplaceMethod/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/5ReplaceMethod/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/5ReplaceMethod/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/5ReplaceMethod/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/5ReplaceMethod/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/5ReplaceMethod/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/5ReplaceMethod/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/5ReplaceMethod/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/5ReplaceMethod/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/5ReplaceMethod/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/5ReplaceMethod/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/5ReplaceMethod/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/5ReplaceMethod/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/5ReplaceMethod/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/5ReplaceMethod/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/5ReplaceMethod/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/5ReplaceMethod/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/5ReplaceMethod/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/5ReplaceMethod/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/5ReplaceMethod/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/5ReplaceMethod/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/5ReplaceMethod/types/utils/App.d.ts b/TypeScript/5ReplaceMethod/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/5ReplaceMethod/types/utils/App.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/5ReplaceMethod/types/utils/AsyncQueue.d.ts b/TypeScript/5ReplaceMethod/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/5ReplaceMethod/types/utils/AsyncQueue.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/5ReplaceMethod/types/utils/DatabaseImporter.d.ts b/TypeScript/5ReplaceMethod/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/5ReplaceMethod/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/5ReplaceMethod/types/utils/HashUtil.d.ts b/TypeScript/5ReplaceMethod/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/5ReplaceMethod/types/utils/HashUtil.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/5ReplaceMethod/types/utils/HttpFileUtil.d.ts b/TypeScript/5ReplaceMethod/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/5ReplaceMethod/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/5ReplaceMethod/types/utils/HttpResponseUtil.d.ts b/TypeScript/5ReplaceMethod/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/5ReplaceMethod/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/5ReplaceMethod/types/utils/ImporterUtil.d.ts b/TypeScript/5ReplaceMethod/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/5ReplaceMethod/types/utils/ImporterUtil.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/5ReplaceMethod/types/utils/JsonUtil.d.ts b/TypeScript/5ReplaceMethod/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/5ReplaceMethod/types/utils/JsonUtil.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/5ReplaceMethod/types/utils/ObjectId.d.ts b/TypeScript/5ReplaceMethod/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/5ReplaceMethod/types/utils/ObjectId.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/5ReplaceMethod/types/utils/RagfairOfferHolder.d.ts b/TypeScript/5ReplaceMethod/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/5ReplaceMethod/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/5ReplaceMethod/types/utils/RandomUtil.d.ts b/TypeScript/5ReplaceMethod/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/5ReplaceMethod/types/utils/RandomUtil.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/5ReplaceMethod/types/utils/VFS.d.ts b/TypeScript/5ReplaceMethod/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/5ReplaceMethod/types/utils/VFS.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/5ReplaceMethod/types/utils/Watermark.d.ts b/TypeScript/5ReplaceMethod/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/5ReplaceMethod/types/utils/Watermark.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/5ReplaceMethod/types/utils/cloners/JsonCloner.d.ts b/TypeScript/5ReplaceMethod/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/5ReplaceMethod/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/5ReplaceMethod/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/5ReplaceMethod/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/5ReplaceMethod/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/5ReplaceMethod/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/5ReplaceMethod/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/5ReplaceMethod/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/5ReplaceMethod/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/5ReplaceMethod/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/5ReplaceMethod/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/5ReplaceMethod/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/5ReplaceMethod/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/5ReplaceMethod/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/5ReplaceMethod/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/5ReplaceMethod/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/5ReplaceMethod/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/5ReplaceMethod/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/6ReferenceAnotherClass/README.md b/TypeScript/6ReferenceAnotherClass/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/6ReferenceAnotherClass/README.md +++ b/TypeScript/6ReferenceAnotherClass/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/6ReferenceAnotherClass/package.json b/TypeScript/6ReferenceAnotherClass/package.json index a73456f..b8d3d13 100644 --- a/TypeScript/6ReferenceAnotherClass/package.json +++ b/TypeScript/6ReferenceAnotherClass/package.json @@ -1,7 +1,7 @@ { "name": "ReferenceAnotherClass", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/6ReferenceAnotherClass/src/mod.ts b/TypeScript/6ReferenceAnotherClass/src/mod.ts index 035fcc8..81a37fa 100644 --- a/TypeScript/6ReferenceAnotherClass/src/mod.ts +++ b/TypeScript/6ReferenceAnotherClass/src/mod.ts @@ -1,12 +1,12 @@ import { DependencyContainer } from "tsyringe"; -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; import { MoreCode } from "./MoreCode"; -class Mod implements IPostAkiLoadMod +class Mod implements IPostSptLoadMod { - public postAkiLoad(container: DependencyContainer): void + public postSptLoad(container: DependencyContainer): void { // get logger const logger = container.resolve("WinstonLogger"); diff --git a/TypeScript/6ReferenceAnotherClass/tsconfig.json b/TypeScript/6ReferenceAnotherClass/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/6ReferenceAnotherClass/tsconfig.json +++ b/TypeScript/6ReferenceAnotherClass/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/BotCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/BundleCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/DataCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/GameCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/HealthCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/HttpCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/InraidCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/LocationCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/MatchCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/ModCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/NoteCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/PresetCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/QuestCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/RepairCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/SaveCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/TradeCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/TraderCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/6ReferenceAnotherClass/types/context/ApplicationContext.d.ts b/TypeScript/6ReferenceAnotherClass/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/6ReferenceAnotherClass/types/context/ApplicationContext.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/6ReferenceAnotherClass/types/context/ContextVariable.d.ts b/TypeScript/6ReferenceAnotherClass/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/6ReferenceAnotherClass/types/context/ContextVariable.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/AchievementController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/AchievementController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/BotController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/BotController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/BuildController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/BuildController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/ClientLogController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/ClientLogController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/CustomizationController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/CustomizationController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/DialogueController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/DialogueController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/GameController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/GameController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/HandbookController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/HandbookController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/HealthController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/HealthController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/HideoutController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/HideoutController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/InraidController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/InraidController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/InsuranceController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/InsuranceController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/InventoryController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/InventoryController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/LauncherController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/LauncherController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/LocationController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/LocationController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/MatchController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/MatchController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/NoteController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/NoteController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/NotifierController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/NotifierController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/PresetController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/PresetController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/ProfileController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/ProfileController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/QuestController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/QuestController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/RagfairController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/RagfairController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/RepairController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/RepairController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/RepeatableQuestController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/TradeController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/TradeController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/TraderController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/TraderController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/WeatherController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/WeatherController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/WishlistController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/WishlistController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/6ReferenceAnotherClass/types/di/Router.d.ts b/TypeScript/6ReferenceAnotherClass/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/6ReferenceAnotherClass/types/di/Router.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/BotGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/BotGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/BotInventoryGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/BotLevelGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/BotLootGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/BotWeaponGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/LocationGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/LocationGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/LootGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/LootGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/PMCLootGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/PlayerScavGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/WeatherGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/AssortHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/AssortHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/BotHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/BotHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/DialogueHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/GameEventHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/HandbookHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/HealthHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/HealthHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/HideoutHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/HttpServerHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/InRaidHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/InventoryHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/ItemHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/ItemHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/NotificationSendHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/NotifierHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/PaymentHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/PresetHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/PresetHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/ProbabilityHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/ProfileHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/QuestConditionHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/QuestHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/QuestHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairSellHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairServerHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairSortHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/RepairHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/RepairHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/SecureContainerHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/TradeHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/TradeHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/TraderAssortHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/TraderHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/TraderHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/loaders/BundleLoader.d.ts b/TypeScript/6ReferenceAnotherClass/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/6ReferenceAnotherClass/types/loaders/BundleLoader.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/loaders/ModLoadOrder.d.ts b/TypeScript/6ReferenceAnotherClass/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/6ReferenceAnotherClass/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/6ReferenceAnotherClass/types/loaders/ModTypeCheck.d.ts b/TypeScript/6ReferenceAnotherClass/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/6ReferenceAnotherClass/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/6ReferenceAnotherClass/types/loaders/PostAkiModLoader.d.ts b/TypeScript/6ReferenceAnotherClass/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/6ReferenceAnotherClass/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/6ReferenceAnotherClass/types/loaders/PostDBModLoader.d.ts b/TypeScript/6ReferenceAnotherClass/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/6ReferenceAnotherClass/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/6ReferenceAnotherClass/types/loaders/PostSptModLoader.d.ts b/TypeScript/6ReferenceAnotherClass/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/6ReferenceAnotherClass/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/6ReferenceAnotherClass/types/loaders/PreAkiModLoader.d.ts b/TypeScript/6ReferenceAnotherClass/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/6ReferenceAnotherClass/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/6ReferenceAnotherClass/types/loaders/PreSptModLoader.d.ts b/TypeScript/6ReferenceAnotherClass/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/6ReferenceAnotherClass/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/IGlobals.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILocation.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILocationBase.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/IPmcData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/hideout/IQteData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsAid.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsPing.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/enums/ConfigTypes.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/6ReferenceAnotherClass/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/6ReferenceAnotherClass/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/6ReferenceAnotherClass/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/6ReferenceAnotherClass/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/6ReferenceAnotherClass/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/6ReferenceAnotherClass/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/6ReferenceAnotherClass/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/6ReferenceAnotherClass/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/6ReferenceAnotherClass/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/6ReferenceAnotherClass/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/6ReferenceAnotherClass/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/6ReferenceAnotherClass/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/6ReferenceAnotherClass/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/6ReferenceAnotherClass/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/6ReferenceAnotherClass/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/bindings/Route.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IBotConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IItemConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILootConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/controllers/IBotController.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/server/ILocations.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/services/CustomPreset.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/services/LootRequest.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/utils/ILogger.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/EventOutputHolder.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/HttpRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/HttpRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/ImageRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/ImageRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/ItemEventRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/BotStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/DataStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/GameStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/6ReferenceAnotherClass/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/6ReferenceAnotherClass/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/6ReferenceAnotherClass/types/servers/ConfigServer.d.ts b/TypeScript/6ReferenceAnotherClass/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/6ReferenceAnotherClass/types/servers/ConfigServer.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/6ReferenceAnotherClass/types/servers/DatabaseServer.d.ts b/TypeScript/6ReferenceAnotherClass/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/6ReferenceAnotherClass/types/servers/DatabaseServer.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/6ReferenceAnotherClass/types/servers/HttpServer.d.ts b/TypeScript/6ReferenceAnotherClass/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/6ReferenceAnotherClass/types/servers/HttpServer.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/servers/RagfairServer.d.ts b/TypeScript/6ReferenceAnotherClass/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/6ReferenceAnotherClass/types/servers/RagfairServer.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/6ReferenceAnotherClass/types/servers/SaveServer.d.ts b/TypeScript/6ReferenceAnotherClass/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/6ReferenceAnotherClass/types/servers/SaveServer.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/6ReferenceAnotherClass/types/servers/WebSocketServer.d.ts b/TypeScript/6ReferenceAnotherClass/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/6ReferenceAnotherClass/types/servers/WebSocketServer.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/6ReferenceAnotherClass/types/servers/http/AkiHttpListener.d.ts b/TypeScript/6ReferenceAnotherClass/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/6ReferenceAnotherClass/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/6ReferenceAnotherClass/types/servers/http/SptHttpListener.d.ts b/TypeScript/6ReferenceAnotherClass/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/6ReferenceAnotherClass/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/6ReferenceAnotherClass/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/6ReferenceAnotherClass/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/6ReferenceAnotherClass/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/6ReferenceAnotherClass/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/6ReferenceAnotherClass/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/6ReferenceAnotherClass/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/6ReferenceAnotherClass/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/6ReferenceAnotherClass/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/6ReferenceAnotherClass/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/6ReferenceAnotherClass/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/6ReferenceAnotherClass/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/6ReferenceAnotherClass/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/6ReferenceAnotherClass/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/6ReferenceAnotherClass/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/6ReferenceAnotherClass/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/6ReferenceAnotherClass/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/6ReferenceAnotherClass/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/6ReferenceAnotherClass/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/6ReferenceAnotherClass/types/services/BotEquipmentFilterService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/BotGenerationCacheService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/BotLootCacheService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/BotLootCacheService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/BotWeaponModLimitService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/CustomLocationWaveService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/FenceService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/FenceService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/6ReferenceAnotherClass/types/services/GiftService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/GiftService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/6ReferenceAnotherClass/types/services/InsuranceService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/InsuranceService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/ItemBaseClassService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/6ReferenceAnotherClass/types/services/ItemFilterService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/ItemFilterService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/LocaleService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/LocaleService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/6ReferenceAnotherClass/types/services/LocalisationService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/LocalisationService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/6ReferenceAnotherClass/types/services/MailSendService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/MailSendService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/MatchLocationService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/MatchLocationService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/ModCompilerService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/ModCompilerService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/6ReferenceAnotherClass/types/services/NotificationService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/NotificationService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/OpenZoneService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/OpenZoneService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/PaymentService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/PaymentService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/PlayerService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/PlayerService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/PmcChatResponseService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/ProfileFixerService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/ProfileFixerService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/6ReferenceAnotherClass/types/services/ProfileSnapshotService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/6ReferenceAnotherClass/types/services/RagfairCategoriesService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/RagfairLinkedItemService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/RagfairOfferService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/RagfairOfferService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/RagfairPriceService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/RagfairPriceService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/RagfairTaxService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/RagfairTaxService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/RepairService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/RepairService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/SeasonalEventService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/SeasonalEventService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/TraderAssortService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/TraderAssortService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/6ReferenceAnotherClass/types/services/TraderServicesService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/TraderServicesService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/cache/ModHashCacheService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/mod/CustomItemService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/6ReferenceAnotherClass/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/6ReferenceAnotherClass/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/6ReferenceAnotherClass/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/App.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/App.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/AsyncQueue.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/AsyncQueue.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/DatabaseImporter.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/HashUtil.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/HashUtil.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/HttpFileUtil.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/HttpResponseUtil.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/ImporterUtil.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/ImporterUtil.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/JsonUtil.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/JsonUtil.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/ObjectId.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/ObjectId.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/RagfairOfferHolder.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/RandomUtil.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/RandomUtil.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/VFS.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/VFS.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/Watermark.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/Watermark.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/cloners/JsonCloner.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/6ReferenceAnotherClass/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/6ReferenceAnotherClass/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/7OnLoadHook/README.md b/TypeScript/7OnLoadHook/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/7OnLoadHook/README.md +++ b/TypeScript/7OnLoadHook/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/7OnLoadHook/package.json b/TypeScript/7OnLoadHook/package.json index 25ac3eb..4a34e62 100644 --- a/TypeScript/7OnLoadHook/package.json +++ b/TypeScript/7OnLoadHook/package.json @@ -1,7 +1,7 @@ { "name": "OnLoadHook", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/7OnLoadHook/src/mod.ts b/TypeScript/7OnLoadHook/src/mod.ts index e8fd335..831aec0 100644 --- a/TypeScript/7OnLoadHook/src/mod.ts +++ b/TypeScript/7OnLoadHook/src/mod.ts @@ -1,12 +1,12 @@ import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { OnLoadModService } from "@spt-aki/services/mod/onLoad/OnLoadModService"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { OnLoadModService } from "@spt/services/mod/onLoad/OnLoadModService"; -class Mod implements IPreAkiLoadMod +class Mod implements IPreSptLoadMod { - public preAkiLoad(container: DependencyContainer): void + public preSptLoad(container: DependencyContainer): void { const logger = container.resolve("WinstonLogger"); const onLoadModService = container.resolve("OnLoadModService"); diff --git a/TypeScript/7OnLoadHook/tsconfig.json b/TypeScript/7OnLoadHook/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/7OnLoadHook/tsconfig.json +++ b/TypeScript/7OnLoadHook/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/7OnLoadHook/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/7OnLoadHook/types/callbacks/BotCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/7OnLoadHook/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/7OnLoadHook/types/callbacks/BundleCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/7OnLoadHook/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/7OnLoadHook/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/7OnLoadHook/types/callbacks/DataCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/7OnLoadHook/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/7OnLoadHook/types/callbacks/GameCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/7OnLoadHook/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/7OnLoadHook/types/callbacks/HealthCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/7OnLoadHook/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/7OnLoadHook/types/callbacks/HttpCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/7OnLoadHook/types/callbacks/InraidCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/7OnLoadHook/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/7OnLoadHook/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/7OnLoadHook/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/7OnLoadHook/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/7OnLoadHook/types/callbacks/LocationCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/7OnLoadHook/types/callbacks/MatchCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/7OnLoadHook/types/callbacks/ModCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/7OnLoadHook/types/callbacks/NoteCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/7OnLoadHook/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/7OnLoadHook/types/callbacks/PresetCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/7OnLoadHook/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/7OnLoadHook/types/callbacks/QuestCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/7OnLoadHook/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/7OnLoadHook/types/callbacks/RepairCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/7OnLoadHook/types/callbacks/SaveCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/7OnLoadHook/types/callbacks/TradeCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/7OnLoadHook/types/callbacks/TraderCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/7OnLoadHook/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/7OnLoadHook/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/7OnLoadHook/types/context/ApplicationContext.d.ts b/TypeScript/7OnLoadHook/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/7OnLoadHook/types/context/ApplicationContext.d.ts +++ b/TypeScript/7OnLoadHook/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/7OnLoadHook/types/context/ContextVariable.d.ts b/TypeScript/7OnLoadHook/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/7OnLoadHook/types/context/ContextVariable.d.ts +++ b/TypeScript/7OnLoadHook/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/7OnLoadHook/types/controllers/AchievementController.d.ts b/TypeScript/7OnLoadHook/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/7OnLoadHook/types/controllers/AchievementController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/7OnLoadHook/types/controllers/BotController.d.ts b/TypeScript/7OnLoadHook/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/7OnLoadHook/types/controllers/BotController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/7OnLoadHook/types/controllers/BuildController.d.ts b/TypeScript/7OnLoadHook/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/7OnLoadHook/types/controllers/BuildController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/7OnLoadHook/types/controllers/ClientLogController.d.ts b/TypeScript/7OnLoadHook/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/7OnLoadHook/types/controllers/ClientLogController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/7OnLoadHook/types/controllers/CustomizationController.d.ts b/TypeScript/7OnLoadHook/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/7OnLoadHook/types/controllers/CustomizationController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/7OnLoadHook/types/controllers/DialogueController.d.ts b/TypeScript/7OnLoadHook/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/7OnLoadHook/types/controllers/DialogueController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/7OnLoadHook/types/controllers/GameController.d.ts b/TypeScript/7OnLoadHook/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/7OnLoadHook/types/controllers/GameController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/7OnLoadHook/types/controllers/HandbookController.d.ts b/TypeScript/7OnLoadHook/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/7OnLoadHook/types/controllers/HandbookController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/7OnLoadHook/types/controllers/HealthController.d.ts b/TypeScript/7OnLoadHook/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/7OnLoadHook/types/controllers/HealthController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/7OnLoadHook/types/controllers/HideoutController.d.ts b/TypeScript/7OnLoadHook/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/7OnLoadHook/types/controllers/HideoutController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/controllers/InraidController.d.ts b/TypeScript/7OnLoadHook/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/7OnLoadHook/types/controllers/InraidController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/7OnLoadHook/types/controllers/InsuranceController.d.ts b/TypeScript/7OnLoadHook/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/7OnLoadHook/types/controllers/InsuranceController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/7OnLoadHook/types/controllers/InventoryController.d.ts b/TypeScript/7OnLoadHook/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/7OnLoadHook/types/controllers/InventoryController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/7OnLoadHook/types/controllers/LauncherController.d.ts b/TypeScript/7OnLoadHook/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/7OnLoadHook/types/controllers/LauncherController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/7OnLoadHook/types/controllers/LocationController.d.ts b/TypeScript/7OnLoadHook/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/7OnLoadHook/types/controllers/LocationController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/7OnLoadHook/types/controllers/MatchController.d.ts b/TypeScript/7OnLoadHook/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/7OnLoadHook/types/controllers/MatchController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/7OnLoadHook/types/controllers/NoteController.d.ts b/TypeScript/7OnLoadHook/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/7OnLoadHook/types/controllers/NoteController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/7OnLoadHook/types/controllers/NotifierController.d.ts b/TypeScript/7OnLoadHook/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/7OnLoadHook/types/controllers/NotifierController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/7OnLoadHook/types/controllers/PresetController.d.ts b/TypeScript/7OnLoadHook/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/7OnLoadHook/types/controllers/PresetController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/7OnLoadHook/types/controllers/ProfileController.d.ts b/TypeScript/7OnLoadHook/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/7OnLoadHook/types/controllers/ProfileController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/7OnLoadHook/types/controllers/QuestController.d.ts b/TypeScript/7OnLoadHook/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/7OnLoadHook/types/controllers/QuestController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/7OnLoadHook/types/controllers/RagfairController.d.ts b/TypeScript/7OnLoadHook/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/7OnLoadHook/types/controllers/RagfairController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/7OnLoadHook/types/controllers/RepairController.d.ts b/TypeScript/7OnLoadHook/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/7OnLoadHook/types/controllers/RepairController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/7OnLoadHook/types/controllers/RepeatableQuestController.d.ts b/TypeScript/7OnLoadHook/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/7OnLoadHook/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/7OnLoadHook/types/controllers/TradeController.d.ts b/TypeScript/7OnLoadHook/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/7OnLoadHook/types/controllers/TradeController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/7OnLoadHook/types/controllers/TraderController.d.ts b/TypeScript/7OnLoadHook/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/7OnLoadHook/types/controllers/TraderController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/7OnLoadHook/types/controllers/WeatherController.d.ts b/TypeScript/7OnLoadHook/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/7OnLoadHook/types/controllers/WeatherController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/7OnLoadHook/types/controllers/WishlistController.d.ts b/TypeScript/7OnLoadHook/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/7OnLoadHook/types/controllers/WishlistController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/7OnLoadHook/types/di/Router.d.ts b/TypeScript/7OnLoadHook/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/7OnLoadHook/types/di/Router.d.ts +++ b/TypeScript/7OnLoadHook/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/7OnLoadHook/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/7OnLoadHook/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/7OnLoadHook/types/generators/BotGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/7OnLoadHook/types/generators/BotGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/generators/BotInventoryGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/7OnLoadHook/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/generators/BotLevelGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/7OnLoadHook/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/7OnLoadHook/types/generators/BotLootGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/7OnLoadHook/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/generators/BotWeaponGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/7OnLoadHook/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/7OnLoadHook/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/7OnLoadHook/types/generators/LocationGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/7OnLoadHook/types/generators/LocationGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/7OnLoadHook/types/generators/LootGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/7OnLoadHook/types/generators/LootGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/7OnLoadHook/types/generators/PMCLootGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/7OnLoadHook/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/7OnLoadHook/types/generators/PlayerScavGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/7OnLoadHook/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/7OnLoadHook/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/7OnLoadHook/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/7OnLoadHook/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/7OnLoadHook/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/7OnLoadHook/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/7OnLoadHook/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/7OnLoadHook/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/7OnLoadHook/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/7OnLoadHook/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/7OnLoadHook/types/generators/WeatherGenerator.d.ts b/TypeScript/7OnLoadHook/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/7OnLoadHook/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/7OnLoadHook/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/7OnLoadHook/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/7OnLoadHook/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/7OnLoadHook/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/7OnLoadHook/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/7OnLoadHook/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/7OnLoadHook/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/7OnLoadHook/types/helpers/AssortHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/7OnLoadHook/types/helpers/AssortHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/7OnLoadHook/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/7OnLoadHook/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/7OnLoadHook/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/7OnLoadHook/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/7OnLoadHook/types/helpers/BotHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/7OnLoadHook/types/helpers/BotHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/7OnLoadHook/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/7OnLoadHook/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/7OnLoadHook/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/7OnLoadHook/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/7OnLoadHook/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/7OnLoadHook/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/7OnLoadHook/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/7OnLoadHook/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/7OnLoadHook/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/7OnLoadHook/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/7OnLoadHook/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/7OnLoadHook/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/7OnLoadHook/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/7OnLoadHook/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/7OnLoadHook/types/helpers/DialogueHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/7OnLoadHook/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/7OnLoadHook/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/7OnLoadHook/types/helpers/GameEventHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/7OnLoadHook/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/7OnLoadHook/types/helpers/HandbookHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/7OnLoadHook/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/7OnLoadHook/types/helpers/HealthHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/7OnLoadHook/types/helpers/HealthHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/7OnLoadHook/types/helpers/HideoutHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/7OnLoadHook/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/helpers/HttpServerHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/7OnLoadHook/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/7OnLoadHook/types/helpers/InRaidHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/7OnLoadHook/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/7OnLoadHook/types/helpers/InventoryHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/7OnLoadHook/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/7OnLoadHook/types/helpers/ItemHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/7OnLoadHook/types/helpers/ItemHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/helpers/NotificationSendHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/7OnLoadHook/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/7OnLoadHook/types/helpers/NotifierHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/7OnLoadHook/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/7OnLoadHook/types/helpers/PaymentHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/7OnLoadHook/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/7OnLoadHook/types/helpers/PresetHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/7OnLoadHook/types/helpers/PresetHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/7OnLoadHook/types/helpers/ProbabilityHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/7OnLoadHook/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/7OnLoadHook/types/helpers/ProfileHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/7OnLoadHook/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/7OnLoadHook/types/helpers/QuestConditionHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/7OnLoadHook/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/7OnLoadHook/types/helpers/QuestHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/7OnLoadHook/types/helpers/QuestHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/7OnLoadHook/types/helpers/RagfairHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/7OnLoadHook/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/7OnLoadHook/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/7OnLoadHook/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/7OnLoadHook/types/helpers/RagfairSellHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/7OnLoadHook/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/7OnLoadHook/types/helpers/RagfairServerHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/7OnLoadHook/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/7OnLoadHook/types/helpers/RagfairSortHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/7OnLoadHook/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/7OnLoadHook/types/helpers/RepairHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/7OnLoadHook/types/helpers/RepairHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/7OnLoadHook/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/7OnLoadHook/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/7OnLoadHook/types/helpers/SecureContainerHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/7OnLoadHook/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/7OnLoadHook/types/helpers/TradeHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/7OnLoadHook/types/helpers/TradeHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/7OnLoadHook/types/helpers/TraderAssortHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/7OnLoadHook/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/7OnLoadHook/types/helpers/TraderHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/7OnLoadHook/types/helpers/TraderHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/7OnLoadHook/types/loaders/BundleLoader.d.ts b/TypeScript/7OnLoadHook/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/7OnLoadHook/types/loaders/BundleLoader.d.ts +++ b/TypeScript/7OnLoadHook/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/7OnLoadHook/types/loaders/ModLoadOrder.d.ts b/TypeScript/7OnLoadHook/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/7OnLoadHook/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/7OnLoadHook/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/7OnLoadHook/types/loaders/ModTypeCheck.d.ts b/TypeScript/7OnLoadHook/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/7OnLoadHook/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/7OnLoadHook/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/7OnLoadHook/types/loaders/PostAkiModLoader.d.ts b/TypeScript/7OnLoadHook/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/7OnLoadHook/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/7OnLoadHook/types/loaders/PostDBModLoader.d.ts b/TypeScript/7OnLoadHook/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/7OnLoadHook/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/7OnLoadHook/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/7OnLoadHook/types/loaders/PostSptModLoader.d.ts b/TypeScript/7OnLoadHook/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/7OnLoadHook/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/7OnLoadHook/types/loaders/PreAkiModLoader.d.ts b/TypeScript/7OnLoadHook/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/7OnLoadHook/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/7OnLoadHook/types/loaders/PreSptModLoader.d.ts b/TypeScript/7OnLoadHook/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/7OnLoadHook/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/7OnLoadHook/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/7OnLoadHook/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/common/IGlobals.d.ts b/TypeScript/7OnLoadHook/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/7OnLoadHook/types/models/eft/common/ILocation.d.ts b/TypeScript/7OnLoadHook/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/7OnLoadHook/types/models/eft/common/ILocationBase.d.ts b/TypeScript/7OnLoadHook/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/7OnLoadHook/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/7OnLoadHook/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/7OnLoadHook/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/7OnLoadHook/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/7OnLoadHook/types/models/eft/common/IPmcData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/7OnLoadHook/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/7OnLoadHook/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/7OnLoadHook/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/7OnLoadHook/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/7OnLoadHook/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/7OnLoadHook/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/7OnLoadHook/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/7OnLoadHook/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/7OnLoadHook/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/7OnLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/7OnLoadHook/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/7OnLoadHook/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/7OnLoadHook/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/7OnLoadHook/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/7OnLoadHook/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/7OnLoadHook/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/7OnLoadHook/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/7OnLoadHook/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/7OnLoadHook/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/7OnLoadHook/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/7OnLoadHook/types/models/eft/hideout/IQteData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/7OnLoadHook/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/7OnLoadHook/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/7OnLoadHook/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/7OnLoadHook/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/7OnLoadHook/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/7OnLoadHook/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/7OnLoadHook/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/7OnLoadHook/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/7OnLoadHook/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/7OnLoadHook/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/7OnLoadHook/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/7OnLoadHook/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/7OnLoadHook/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/7OnLoadHook/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/7OnLoadHook/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/7OnLoadHook/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/7OnLoadHook/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/7OnLoadHook/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/7OnLoadHook/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/7OnLoadHook/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/7OnLoadHook/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/7OnLoadHook/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/7OnLoadHook/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/7OnLoadHook/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/7OnLoadHook/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/7OnLoadHook/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/7OnLoadHook/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/7OnLoadHook/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/7OnLoadHook/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/7OnLoadHook/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/7OnLoadHook/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/7OnLoadHook/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/7OnLoadHook/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/7OnLoadHook/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/7OnLoadHook/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/7OnLoadHook/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/7OnLoadHook/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/7OnLoadHook/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/7OnLoadHook/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/7OnLoadHook/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsAid.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsPing.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/7OnLoadHook/types/models/enums/ConfigTypes.d.ts b/TypeScript/7OnLoadHook/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/7OnLoadHook/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/7OnLoadHook/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/7OnLoadHook/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/7OnLoadHook/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/7OnLoadHook/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/7OnLoadHook/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/7OnLoadHook/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/7OnLoadHook/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/7OnLoadHook/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/7OnLoadHook/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/7OnLoadHook/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/7OnLoadHook/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/7OnLoadHook/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/7OnLoadHook/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/7OnLoadHook/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/7OnLoadHook/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/7OnLoadHook/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/7OnLoadHook/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/7OnLoadHook/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/7OnLoadHook/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/7OnLoadHook/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/7OnLoadHook/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/7OnLoadHook/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/7OnLoadHook/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/7OnLoadHook/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/7OnLoadHook/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/7OnLoadHook/types/models/spt/bindings/Route.d.ts b/TypeScript/7OnLoadHook/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/7OnLoadHook/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/7OnLoadHook/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/7OnLoadHook/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/7OnLoadHook/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/7OnLoadHook/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IBotConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IItemConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/ILootConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/7OnLoadHook/types/models/spt/controllers/IBotController.d.ts b/TypeScript/7OnLoadHook/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/7OnLoadHook/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/7OnLoadHook/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/7OnLoadHook/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/7OnLoadHook/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/7OnLoadHook/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/7OnLoadHook/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/7OnLoadHook/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/7OnLoadHook/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/7OnLoadHook/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/7OnLoadHook/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/7OnLoadHook/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/7OnLoadHook/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/7OnLoadHook/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/7OnLoadHook/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/7OnLoadHook/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/7OnLoadHook/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/7OnLoadHook/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/7OnLoadHook/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/7OnLoadHook/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/7OnLoadHook/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/7OnLoadHook/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/7OnLoadHook/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/7OnLoadHook/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/7OnLoadHook/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/7OnLoadHook/types/models/spt/server/ILocations.d.ts b/TypeScript/7OnLoadHook/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/7OnLoadHook/types/models/spt/services/CustomPreset.d.ts b/TypeScript/7OnLoadHook/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/7OnLoadHook/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/7OnLoadHook/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/7OnLoadHook/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/7OnLoadHook/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/7OnLoadHook/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/7OnLoadHook/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/7OnLoadHook/types/models/spt/services/LootRequest.d.ts b/TypeScript/7OnLoadHook/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/7OnLoadHook/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/7OnLoadHook/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/7OnLoadHook/types/models/spt/utils/ILogger.d.ts b/TypeScript/7OnLoadHook/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/7OnLoadHook/types/routers/EventOutputHolder.d.ts b/TypeScript/7OnLoadHook/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/7OnLoadHook/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/7OnLoadHook/types/routers/HttpRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/7OnLoadHook/types/routers/HttpRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/7OnLoadHook/types/routers/ImageRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/7OnLoadHook/types/routers/ImageRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/7OnLoadHook/types/routers/ItemEventRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/7OnLoadHook/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/7OnLoadHook/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/7OnLoadHook/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/7OnLoadHook/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/7OnLoadHook/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/7OnLoadHook/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/7OnLoadHook/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/7OnLoadHook/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/7OnLoadHook/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/7OnLoadHook/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/7OnLoadHook/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/7OnLoadHook/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/7OnLoadHook/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/7OnLoadHook/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/7OnLoadHook/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/7OnLoadHook/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/7OnLoadHook/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/7OnLoadHook/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/7OnLoadHook/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/7OnLoadHook/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/7OnLoadHook/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/7OnLoadHook/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/7OnLoadHook/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/7OnLoadHook/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/7OnLoadHook/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/7OnLoadHook/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/7OnLoadHook/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/7OnLoadHook/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/7OnLoadHook/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/7OnLoadHook/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/7OnLoadHook/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/7OnLoadHook/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/7OnLoadHook/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/7OnLoadHook/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/7OnLoadHook/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/7OnLoadHook/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/7OnLoadHook/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/7OnLoadHook/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/7OnLoadHook/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/7OnLoadHook/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/7OnLoadHook/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/7OnLoadHook/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/BotStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/DataStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/GameStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/7OnLoadHook/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/7OnLoadHook/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/7OnLoadHook/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/7OnLoadHook/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/7OnLoadHook/types/servers/ConfigServer.d.ts b/TypeScript/7OnLoadHook/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/7OnLoadHook/types/servers/ConfigServer.d.ts +++ b/TypeScript/7OnLoadHook/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/7OnLoadHook/types/servers/DatabaseServer.d.ts b/TypeScript/7OnLoadHook/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/7OnLoadHook/types/servers/DatabaseServer.d.ts +++ b/TypeScript/7OnLoadHook/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/7OnLoadHook/types/servers/HttpServer.d.ts b/TypeScript/7OnLoadHook/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/7OnLoadHook/types/servers/HttpServer.d.ts +++ b/TypeScript/7OnLoadHook/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/7OnLoadHook/types/servers/RagfairServer.d.ts b/TypeScript/7OnLoadHook/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/7OnLoadHook/types/servers/RagfairServer.d.ts +++ b/TypeScript/7OnLoadHook/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/7OnLoadHook/types/servers/SaveServer.d.ts b/TypeScript/7OnLoadHook/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/7OnLoadHook/types/servers/SaveServer.d.ts +++ b/TypeScript/7OnLoadHook/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/7OnLoadHook/types/servers/WebSocketServer.d.ts b/TypeScript/7OnLoadHook/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/7OnLoadHook/types/servers/WebSocketServer.d.ts +++ b/TypeScript/7OnLoadHook/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/7OnLoadHook/types/servers/http/AkiHttpListener.d.ts b/TypeScript/7OnLoadHook/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/7OnLoadHook/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/7OnLoadHook/types/servers/http/SptHttpListener.d.ts b/TypeScript/7OnLoadHook/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/7OnLoadHook/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/7OnLoadHook/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/7OnLoadHook/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/7OnLoadHook/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/7OnLoadHook/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/7OnLoadHook/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/7OnLoadHook/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/7OnLoadHook/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/7OnLoadHook/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/7OnLoadHook/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/7OnLoadHook/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/7OnLoadHook/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/7OnLoadHook/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/7OnLoadHook/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/7OnLoadHook/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/7OnLoadHook/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/7OnLoadHook/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/7OnLoadHook/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/7OnLoadHook/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/7OnLoadHook/types/services/BotEquipmentFilterService.d.ts b/TypeScript/7OnLoadHook/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/7OnLoadHook/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/7OnLoadHook/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/7OnLoadHook/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/7OnLoadHook/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/7OnLoadHook/types/services/BotGenerationCacheService.d.ts b/TypeScript/7OnLoadHook/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/7OnLoadHook/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/7OnLoadHook/types/services/BotLootCacheService.d.ts b/TypeScript/7OnLoadHook/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/7OnLoadHook/types/services/BotLootCacheService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/7OnLoadHook/types/services/BotWeaponModLimitService.d.ts b/TypeScript/7OnLoadHook/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/7OnLoadHook/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/7OnLoadHook/types/services/CustomLocationWaveService.d.ts b/TypeScript/7OnLoadHook/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/7OnLoadHook/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/7OnLoadHook/types/services/FenceService.d.ts b/TypeScript/7OnLoadHook/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/7OnLoadHook/types/services/FenceService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/7OnLoadHook/types/services/GiftService.d.ts b/TypeScript/7OnLoadHook/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/7OnLoadHook/types/services/GiftService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/7OnLoadHook/types/services/InsuranceService.d.ts b/TypeScript/7OnLoadHook/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/7OnLoadHook/types/services/InsuranceService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/7OnLoadHook/types/services/ItemBaseClassService.d.ts b/TypeScript/7OnLoadHook/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/7OnLoadHook/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/7OnLoadHook/types/services/ItemFilterService.d.ts b/TypeScript/7OnLoadHook/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/7OnLoadHook/types/services/ItemFilterService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/7OnLoadHook/types/services/LocaleService.d.ts b/TypeScript/7OnLoadHook/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/7OnLoadHook/types/services/LocaleService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/7OnLoadHook/types/services/LocalisationService.d.ts b/TypeScript/7OnLoadHook/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/7OnLoadHook/types/services/LocalisationService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/7OnLoadHook/types/services/MailSendService.d.ts b/TypeScript/7OnLoadHook/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/7OnLoadHook/types/services/MailSendService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/7OnLoadHook/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/7OnLoadHook/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/7OnLoadHook/types/services/MatchLocationService.d.ts b/TypeScript/7OnLoadHook/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/7OnLoadHook/types/services/MatchLocationService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/7OnLoadHook/types/services/ModCompilerService.d.ts b/TypeScript/7OnLoadHook/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/7OnLoadHook/types/services/ModCompilerService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/7OnLoadHook/types/services/NotificationService.d.ts b/TypeScript/7OnLoadHook/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/7OnLoadHook/types/services/NotificationService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/7OnLoadHook/types/services/OpenZoneService.d.ts b/TypeScript/7OnLoadHook/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/7OnLoadHook/types/services/OpenZoneService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/7OnLoadHook/types/services/PaymentService.d.ts b/TypeScript/7OnLoadHook/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/7OnLoadHook/types/services/PaymentService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/services/PlayerService.d.ts b/TypeScript/7OnLoadHook/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/7OnLoadHook/types/services/PlayerService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/7OnLoadHook/types/services/PmcChatResponseService.d.ts b/TypeScript/7OnLoadHook/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/7OnLoadHook/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/services/ProfileFixerService.d.ts b/TypeScript/7OnLoadHook/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/7OnLoadHook/types/services/ProfileFixerService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/7OnLoadHook/types/services/ProfileSnapshotService.d.ts b/TypeScript/7OnLoadHook/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/7OnLoadHook/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/7OnLoadHook/types/services/RagfairCategoriesService.d.ts b/TypeScript/7OnLoadHook/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/7OnLoadHook/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/7OnLoadHook/types/services/RagfairLinkedItemService.d.ts b/TypeScript/7OnLoadHook/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/7OnLoadHook/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/7OnLoadHook/types/services/RagfairOfferService.d.ts b/TypeScript/7OnLoadHook/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/7OnLoadHook/types/services/RagfairOfferService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/7OnLoadHook/types/services/RagfairPriceService.d.ts b/TypeScript/7OnLoadHook/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/7OnLoadHook/types/services/RagfairPriceService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/7OnLoadHook/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/7OnLoadHook/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/7OnLoadHook/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/7OnLoadHook/types/services/RagfairTaxService.d.ts b/TypeScript/7OnLoadHook/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/7OnLoadHook/types/services/RagfairTaxService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/7OnLoadHook/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/7OnLoadHook/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/7OnLoadHook/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/7OnLoadHook/types/services/RepairService.d.ts b/TypeScript/7OnLoadHook/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/7OnLoadHook/types/services/RepairService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/7OnLoadHook/types/services/SeasonalEventService.d.ts b/TypeScript/7OnLoadHook/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/7OnLoadHook/types/services/SeasonalEventService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/7OnLoadHook/types/services/TraderAssortService.d.ts b/TypeScript/7OnLoadHook/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/7OnLoadHook/types/services/TraderAssortService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/7OnLoadHook/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/7OnLoadHook/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/7OnLoadHook/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/7OnLoadHook/types/services/TraderServicesService.d.ts b/TypeScript/7OnLoadHook/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/7OnLoadHook/types/services/TraderServicesService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/7OnLoadHook/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/7OnLoadHook/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/7OnLoadHook/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/services/cache/ModHashCacheService.d.ts b/TypeScript/7OnLoadHook/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/7OnLoadHook/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/services/mod/CustomItemService.d.ts b/TypeScript/7OnLoadHook/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/7OnLoadHook/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/7OnLoadHook/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/7OnLoadHook/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/7OnLoadHook/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/7OnLoadHook/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/7OnLoadHook/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/7OnLoadHook/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/7OnLoadHook/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/7OnLoadHook/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/7OnLoadHook/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/7OnLoadHook/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/7OnLoadHook/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/7OnLoadHook/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/7OnLoadHook/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/7OnLoadHook/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/7OnLoadHook/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/7OnLoadHook/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/7OnLoadHook/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/7OnLoadHook/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/7OnLoadHook/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/7OnLoadHook/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/7OnLoadHook/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/7OnLoadHook/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/7OnLoadHook/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/7OnLoadHook/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/7OnLoadHook/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/7OnLoadHook/types/utils/App.d.ts b/TypeScript/7OnLoadHook/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/7OnLoadHook/types/utils/App.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/7OnLoadHook/types/utils/AsyncQueue.d.ts b/TypeScript/7OnLoadHook/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/7OnLoadHook/types/utils/AsyncQueue.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/7OnLoadHook/types/utils/DatabaseImporter.d.ts b/TypeScript/7OnLoadHook/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/7OnLoadHook/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/7OnLoadHook/types/utils/HashUtil.d.ts b/TypeScript/7OnLoadHook/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/7OnLoadHook/types/utils/HashUtil.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/7OnLoadHook/types/utils/HttpFileUtil.d.ts b/TypeScript/7OnLoadHook/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/7OnLoadHook/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/7OnLoadHook/types/utils/HttpResponseUtil.d.ts b/TypeScript/7OnLoadHook/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/7OnLoadHook/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/7OnLoadHook/types/utils/ImporterUtil.d.ts b/TypeScript/7OnLoadHook/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/7OnLoadHook/types/utils/ImporterUtil.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/7OnLoadHook/types/utils/JsonUtil.d.ts b/TypeScript/7OnLoadHook/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/7OnLoadHook/types/utils/JsonUtil.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/7OnLoadHook/types/utils/ObjectId.d.ts b/TypeScript/7OnLoadHook/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/7OnLoadHook/types/utils/ObjectId.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/7OnLoadHook/types/utils/RagfairOfferHolder.d.ts b/TypeScript/7OnLoadHook/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/7OnLoadHook/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/7OnLoadHook/types/utils/RandomUtil.d.ts b/TypeScript/7OnLoadHook/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/7OnLoadHook/types/utils/RandomUtil.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/7OnLoadHook/types/utils/VFS.d.ts b/TypeScript/7OnLoadHook/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/7OnLoadHook/types/utils/VFS.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/7OnLoadHook/types/utils/Watermark.d.ts b/TypeScript/7OnLoadHook/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/7OnLoadHook/types/utils/Watermark.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/7OnLoadHook/types/utils/cloners/JsonCloner.d.ts b/TypeScript/7OnLoadHook/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/7OnLoadHook/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/7OnLoadHook/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/7OnLoadHook/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/7OnLoadHook/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/7OnLoadHook/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/7OnLoadHook/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/7OnLoadHook/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/7OnLoadHook/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/7OnLoadHook/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/7OnLoadHook/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/7OnLoadHook/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/7OnLoadHook/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/7OnLoadHook/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/7OnLoadHook/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/7OnLoadHook/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/7OnLoadHook/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/7OnLoadHook/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/8OnUpdateHook/README.md b/TypeScript/8OnUpdateHook/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/8OnUpdateHook/README.md +++ b/TypeScript/8OnUpdateHook/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/8OnUpdateHook/package.json b/TypeScript/8OnUpdateHook/package.json index 10957b7..c6428c3 100644 --- a/TypeScript/8OnUpdateHook/package.json +++ b/TypeScript/8OnUpdateHook/package.json @@ -1,7 +1,7 @@ { "name": "OnUpdateHook", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/8OnUpdateHook/src/mod.ts b/TypeScript/8OnUpdateHook/src/mod.ts index 9f9f11b..c36134b 100644 --- a/TypeScript/8OnUpdateHook/src/mod.ts +++ b/TypeScript/8OnUpdateHook/src/mod.ts @@ -1,12 +1,12 @@ import { DependencyContainer } from "tsyringe"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { OnUpdateModService } from "@spt-aki/services/mod/onUpdate/OnUpdateModService"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { OnUpdateModService } from "@spt/services/mod/onUpdate/OnUpdateModService"; -class Mod implements IPreAkiLoadMod +class Mod implements IPreSptLoadMod { - public preAkiLoad(container: DependencyContainer): void { + public preSptLoad(container: DependencyContainer): void { const logger = container.resolve("WinstonLogger"); const onUpdateModService = container.resolve("OnUpdateModService"); diff --git a/TypeScript/8OnUpdateHook/tsconfig.json b/TypeScript/8OnUpdateHook/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/8OnUpdateHook/tsconfig.json +++ b/TypeScript/8OnUpdateHook/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/8OnUpdateHook/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/BotCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/BundleCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/DataCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/8OnUpdateHook/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/GameCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/8OnUpdateHook/types/callbacks/HealthCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/8OnUpdateHook/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/HttpCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/8OnUpdateHook/types/callbacks/InraidCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/8OnUpdateHook/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/LocationCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/MatchCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/ModCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/8OnUpdateHook/types/callbacks/NoteCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/8OnUpdateHook/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/PresetCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/8OnUpdateHook/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/QuestCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/8OnUpdateHook/types/callbacks/RepairCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/8OnUpdateHook/types/callbacks/SaveCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/TradeCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/8OnUpdateHook/types/callbacks/TraderCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/8OnUpdateHook/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/8OnUpdateHook/types/context/ApplicationContext.d.ts b/TypeScript/8OnUpdateHook/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/8OnUpdateHook/types/context/ApplicationContext.d.ts +++ b/TypeScript/8OnUpdateHook/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/8OnUpdateHook/types/context/ContextVariable.d.ts b/TypeScript/8OnUpdateHook/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/8OnUpdateHook/types/context/ContextVariable.d.ts +++ b/TypeScript/8OnUpdateHook/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/8OnUpdateHook/types/controllers/AchievementController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/AchievementController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/8OnUpdateHook/types/controllers/BotController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/BotController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/8OnUpdateHook/types/controllers/BuildController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/BuildController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/8OnUpdateHook/types/controllers/ClientLogController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/ClientLogController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/8OnUpdateHook/types/controllers/CustomizationController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/CustomizationController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/8OnUpdateHook/types/controllers/DialogueController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/DialogueController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/8OnUpdateHook/types/controllers/GameController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/GameController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/8OnUpdateHook/types/controllers/HandbookController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/HandbookController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/8OnUpdateHook/types/controllers/HealthController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/HealthController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/8OnUpdateHook/types/controllers/HideoutController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/HideoutController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/controllers/InraidController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/InraidController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/8OnUpdateHook/types/controllers/InsuranceController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/InsuranceController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/8OnUpdateHook/types/controllers/InventoryController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/InventoryController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/8OnUpdateHook/types/controllers/LauncherController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/LauncherController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/8OnUpdateHook/types/controllers/LocationController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/LocationController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/8OnUpdateHook/types/controllers/MatchController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/MatchController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/8OnUpdateHook/types/controllers/NoteController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/NoteController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/8OnUpdateHook/types/controllers/NotifierController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/NotifierController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/8OnUpdateHook/types/controllers/PresetController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/PresetController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/8OnUpdateHook/types/controllers/ProfileController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/ProfileController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/8OnUpdateHook/types/controllers/QuestController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/QuestController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/8OnUpdateHook/types/controllers/RagfairController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/RagfairController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/8OnUpdateHook/types/controllers/RepairController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/RepairController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/8OnUpdateHook/types/controllers/RepeatableQuestController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/8OnUpdateHook/types/controllers/TradeController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/TradeController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/8OnUpdateHook/types/controllers/TraderController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/TraderController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/8OnUpdateHook/types/controllers/WeatherController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/WeatherController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/8OnUpdateHook/types/controllers/WishlistController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/WishlistController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/8OnUpdateHook/types/di/Router.d.ts b/TypeScript/8OnUpdateHook/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/8OnUpdateHook/types/di/Router.d.ts +++ b/TypeScript/8OnUpdateHook/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/8OnUpdateHook/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/8OnUpdateHook/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/8OnUpdateHook/types/generators/BotGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/8OnUpdateHook/types/generators/BotGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/generators/BotInventoryGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/8OnUpdateHook/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/generators/BotLevelGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/8OnUpdateHook/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/8OnUpdateHook/types/generators/BotLootGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/8OnUpdateHook/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/generators/BotWeaponGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/8OnUpdateHook/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/8OnUpdateHook/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/8OnUpdateHook/types/generators/LocationGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/8OnUpdateHook/types/generators/LocationGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/8OnUpdateHook/types/generators/LootGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/8OnUpdateHook/types/generators/LootGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/8OnUpdateHook/types/generators/PMCLootGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/8OnUpdateHook/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/8OnUpdateHook/types/generators/PlayerScavGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/8OnUpdateHook/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/8OnUpdateHook/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/8OnUpdateHook/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/8OnUpdateHook/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/8OnUpdateHook/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/8OnUpdateHook/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/8OnUpdateHook/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/8OnUpdateHook/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/8OnUpdateHook/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/8OnUpdateHook/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/8OnUpdateHook/types/generators/WeatherGenerator.d.ts b/TypeScript/8OnUpdateHook/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/8OnUpdateHook/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/8OnUpdateHook/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/8OnUpdateHook/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/8OnUpdateHook/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/8OnUpdateHook/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/8OnUpdateHook/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/8OnUpdateHook/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/8OnUpdateHook/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/8OnUpdateHook/types/helpers/AssortHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/AssortHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/8OnUpdateHook/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/8OnUpdateHook/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/8OnUpdateHook/types/helpers/BotHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/BotHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/8OnUpdateHook/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/8OnUpdateHook/types/helpers/DialogueHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/8OnUpdateHook/types/helpers/GameEventHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/8OnUpdateHook/types/helpers/HandbookHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/8OnUpdateHook/types/helpers/HealthHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/HealthHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/8OnUpdateHook/types/helpers/HideoutHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/helpers/HttpServerHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/8OnUpdateHook/types/helpers/InRaidHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/8OnUpdateHook/types/helpers/InventoryHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/8OnUpdateHook/types/helpers/ItemHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/ItemHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/helpers/NotificationSendHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/8OnUpdateHook/types/helpers/NotifierHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/8OnUpdateHook/types/helpers/PaymentHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/8OnUpdateHook/types/helpers/PresetHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/PresetHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/8OnUpdateHook/types/helpers/ProbabilityHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/8OnUpdateHook/types/helpers/ProfileHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/8OnUpdateHook/types/helpers/QuestConditionHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/8OnUpdateHook/types/helpers/QuestHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/QuestHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/8OnUpdateHook/types/helpers/RagfairHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/8OnUpdateHook/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/8OnUpdateHook/types/helpers/RagfairSellHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/8OnUpdateHook/types/helpers/RagfairServerHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/8OnUpdateHook/types/helpers/RagfairSortHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/8OnUpdateHook/types/helpers/RepairHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/RepairHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/8OnUpdateHook/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/8OnUpdateHook/types/helpers/SecureContainerHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/8OnUpdateHook/types/helpers/TradeHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/TradeHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/8OnUpdateHook/types/helpers/TraderAssortHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/8OnUpdateHook/types/helpers/TraderHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/TraderHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/8OnUpdateHook/types/loaders/BundleLoader.d.ts b/TypeScript/8OnUpdateHook/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/8OnUpdateHook/types/loaders/BundleLoader.d.ts +++ b/TypeScript/8OnUpdateHook/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/8OnUpdateHook/types/loaders/ModLoadOrder.d.ts b/TypeScript/8OnUpdateHook/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/8OnUpdateHook/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/8OnUpdateHook/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/8OnUpdateHook/types/loaders/ModTypeCheck.d.ts b/TypeScript/8OnUpdateHook/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/8OnUpdateHook/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/8OnUpdateHook/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/8OnUpdateHook/types/loaders/PostAkiModLoader.d.ts b/TypeScript/8OnUpdateHook/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/8OnUpdateHook/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/8OnUpdateHook/types/loaders/PostDBModLoader.d.ts b/TypeScript/8OnUpdateHook/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/8OnUpdateHook/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/8OnUpdateHook/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/8OnUpdateHook/types/loaders/PostSptModLoader.d.ts b/TypeScript/8OnUpdateHook/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/8OnUpdateHook/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/8OnUpdateHook/types/loaders/PreAkiModLoader.d.ts b/TypeScript/8OnUpdateHook/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/8OnUpdateHook/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/8OnUpdateHook/types/loaders/PreSptModLoader.d.ts b/TypeScript/8OnUpdateHook/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/8OnUpdateHook/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/8OnUpdateHook/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/common/IGlobals.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/common/ILocation.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/8OnUpdateHook/types/models/eft/common/ILocationBase.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/common/IPmcData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/8OnUpdateHook/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/hideout/IQteData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/8OnUpdateHook/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/8OnUpdateHook/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/8OnUpdateHook/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/8OnUpdateHook/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/8OnUpdateHook/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/8OnUpdateHook/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/8OnUpdateHook/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/8OnUpdateHook/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/8OnUpdateHook/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsAid.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsPing.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/8OnUpdateHook/types/models/enums/ConfigTypes.d.ts b/TypeScript/8OnUpdateHook/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/8OnUpdateHook/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/8OnUpdateHook/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/8OnUpdateHook/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/8OnUpdateHook/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/8OnUpdateHook/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/8OnUpdateHook/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/8OnUpdateHook/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/8OnUpdateHook/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/8OnUpdateHook/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/8OnUpdateHook/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/8OnUpdateHook/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/8OnUpdateHook/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/8OnUpdateHook/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/8OnUpdateHook/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/8OnUpdateHook/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/8OnUpdateHook/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/8OnUpdateHook/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/8OnUpdateHook/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/8OnUpdateHook/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/8OnUpdateHook/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/8OnUpdateHook/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/8OnUpdateHook/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/8OnUpdateHook/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/8OnUpdateHook/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/8OnUpdateHook/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/8OnUpdateHook/types/models/spt/bindings/Route.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/8OnUpdateHook/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IBotConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IItemConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/ILootConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/controllers/IBotController.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/8OnUpdateHook/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/8OnUpdateHook/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/8OnUpdateHook/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/8OnUpdateHook/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/server/ILocations.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/services/CustomPreset.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/8OnUpdateHook/types/models/spt/services/LootRequest.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/8OnUpdateHook/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/8OnUpdateHook/types/models/spt/utils/ILogger.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/8OnUpdateHook/types/routers/EventOutputHolder.d.ts b/TypeScript/8OnUpdateHook/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/8OnUpdateHook/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/8OnUpdateHook/types/routers/HttpRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/8OnUpdateHook/types/routers/HttpRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/8OnUpdateHook/types/routers/ImageRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/8OnUpdateHook/types/routers/ImageRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/8OnUpdateHook/types/routers/ItemEventRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/8OnUpdateHook/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/8OnUpdateHook/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/8OnUpdateHook/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/8OnUpdateHook/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/8OnUpdateHook/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/8OnUpdateHook/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/8OnUpdateHook/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/8OnUpdateHook/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/8OnUpdateHook/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/8OnUpdateHook/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/8OnUpdateHook/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/8OnUpdateHook/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/8OnUpdateHook/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/8OnUpdateHook/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/8OnUpdateHook/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/8OnUpdateHook/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/8OnUpdateHook/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/8OnUpdateHook/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/8OnUpdateHook/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/8OnUpdateHook/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/8OnUpdateHook/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/8OnUpdateHook/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/8OnUpdateHook/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/8OnUpdateHook/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/8OnUpdateHook/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/8OnUpdateHook/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/8OnUpdateHook/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/8OnUpdateHook/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/8OnUpdateHook/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/8OnUpdateHook/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/8OnUpdateHook/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/8OnUpdateHook/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/8OnUpdateHook/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/8OnUpdateHook/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/8OnUpdateHook/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/8OnUpdateHook/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/8OnUpdateHook/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/8OnUpdateHook/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/8OnUpdateHook/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/8OnUpdateHook/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/8OnUpdateHook/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/8OnUpdateHook/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/BotStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/DataStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/GameStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/8OnUpdateHook/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/8OnUpdateHook/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/8OnUpdateHook/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/8OnUpdateHook/types/servers/ConfigServer.d.ts b/TypeScript/8OnUpdateHook/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/8OnUpdateHook/types/servers/ConfigServer.d.ts +++ b/TypeScript/8OnUpdateHook/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/8OnUpdateHook/types/servers/DatabaseServer.d.ts b/TypeScript/8OnUpdateHook/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/8OnUpdateHook/types/servers/DatabaseServer.d.ts +++ b/TypeScript/8OnUpdateHook/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/8OnUpdateHook/types/servers/HttpServer.d.ts b/TypeScript/8OnUpdateHook/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/8OnUpdateHook/types/servers/HttpServer.d.ts +++ b/TypeScript/8OnUpdateHook/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/8OnUpdateHook/types/servers/RagfairServer.d.ts b/TypeScript/8OnUpdateHook/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/8OnUpdateHook/types/servers/RagfairServer.d.ts +++ b/TypeScript/8OnUpdateHook/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/8OnUpdateHook/types/servers/SaveServer.d.ts b/TypeScript/8OnUpdateHook/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/8OnUpdateHook/types/servers/SaveServer.d.ts +++ b/TypeScript/8OnUpdateHook/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/8OnUpdateHook/types/servers/WebSocketServer.d.ts b/TypeScript/8OnUpdateHook/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/8OnUpdateHook/types/servers/WebSocketServer.d.ts +++ b/TypeScript/8OnUpdateHook/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/8OnUpdateHook/types/servers/http/AkiHttpListener.d.ts b/TypeScript/8OnUpdateHook/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/8OnUpdateHook/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/8OnUpdateHook/types/servers/http/SptHttpListener.d.ts b/TypeScript/8OnUpdateHook/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/8OnUpdateHook/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/8OnUpdateHook/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/8OnUpdateHook/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/8OnUpdateHook/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/8OnUpdateHook/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/8OnUpdateHook/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/8OnUpdateHook/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/8OnUpdateHook/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/8OnUpdateHook/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/8OnUpdateHook/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/8OnUpdateHook/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/8OnUpdateHook/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/8OnUpdateHook/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/8OnUpdateHook/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/8OnUpdateHook/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/8OnUpdateHook/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/8OnUpdateHook/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/8OnUpdateHook/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/8OnUpdateHook/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/8OnUpdateHook/types/services/BotEquipmentFilterService.d.ts b/TypeScript/8OnUpdateHook/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/8OnUpdateHook/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/8OnUpdateHook/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/8OnUpdateHook/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/8OnUpdateHook/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/8OnUpdateHook/types/services/BotGenerationCacheService.d.ts b/TypeScript/8OnUpdateHook/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/8OnUpdateHook/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/8OnUpdateHook/types/services/BotLootCacheService.d.ts b/TypeScript/8OnUpdateHook/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/8OnUpdateHook/types/services/BotLootCacheService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/8OnUpdateHook/types/services/BotWeaponModLimitService.d.ts b/TypeScript/8OnUpdateHook/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/8OnUpdateHook/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/8OnUpdateHook/types/services/CustomLocationWaveService.d.ts b/TypeScript/8OnUpdateHook/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/8OnUpdateHook/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/8OnUpdateHook/types/services/FenceService.d.ts b/TypeScript/8OnUpdateHook/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/8OnUpdateHook/types/services/FenceService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/8OnUpdateHook/types/services/GiftService.d.ts b/TypeScript/8OnUpdateHook/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/8OnUpdateHook/types/services/GiftService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/8OnUpdateHook/types/services/InsuranceService.d.ts b/TypeScript/8OnUpdateHook/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/8OnUpdateHook/types/services/InsuranceService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/8OnUpdateHook/types/services/ItemBaseClassService.d.ts b/TypeScript/8OnUpdateHook/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/8OnUpdateHook/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/8OnUpdateHook/types/services/ItemFilterService.d.ts b/TypeScript/8OnUpdateHook/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/8OnUpdateHook/types/services/ItemFilterService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/8OnUpdateHook/types/services/LocaleService.d.ts b/TypeScript/8OnUpdateHook/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/8OnUpdateHook/types/services/LocaleService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/8OnUpdateHook/types/services/LocalisationService.d.ts b/TypeScript/8OnUpdateHook/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/8OnUpdateHook/types/services/LocalisationService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/8OnUpdateHook/types/services/MailSendService.d.ts b/TypeScript/8OnUpdateHook/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/8OnUpdateHook/types/services/MailSendService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/8OnUpdateHook/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/8OnUpdateHook/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/8OnUpdateHook/types/services/MatchLocationService.d.ts b/TypeScript/8OnUpdateHook/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/8OnUpdateHook/types/services/MatchLocationService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/8OnUpdateHook/types/services/ModCompilerService.d.ts b/TypeScript/8OnUpdateHook/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/8OnUpdateHook/types/services/ModCompilerService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/8OnUpdateHook/types/services/NotificationService.d.ts b/TypeScript/8OnUpdateHook/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/8OnUpdateHook/types/services/NotificationService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/8OnUpdateHook/types/services/OpenZoneService.d.ts b/TypeScript/8OnUpdateHook/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/8OnUpdateHook/types/services/OpenZoneService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/8OnUpdateHook/types/services/PaymentService.d.ts b/TypeScript/8OnUpdateHook/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/8OnUpdateHook/types/services/PaymentService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/services/PlayerService.d.ts b/TypeScript/8OnUpdateHook/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/8OnUpdateHook/types/services/PlayerService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/8OnUpdateHook/types/services/PmcChatResponseService.d.ts b/TypeScript/8OnUpdateHook/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/8OnUpdateHook/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/services/ProfileFixerService.d.ts b/TypeScript/8OnUpdateHook/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/8OnUpdateHook/types/services/ProfileFixerService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/8OnUpdateHook/types/services/ProfileSnapshotService.d.ts b/TypeScript/8OnUpdateHook/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/8OnUpdateHook/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/8OnUpdateHook/types/services/RagfairCategoriesService.d.ts b/TypeScript/8OnUpdateHook/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/8OnUpdateHook/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/8OnUpdateHook/types/services/RagfairLinkedItemService.d.ts b/TypeScript/8OnUpdateHook/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/8OnUpdateHook/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/8OnUpdateHook/types/services/RagfairOfferService.d.ts b/TypeScript/8OnUpdateHook/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/8OnUpdateHook/types/services/RagfairOfferService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/8OnUpdateHook/types/services/RagfairPriceService.d.ts b/TypeScript/8OnUpdateHook/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/8OnUpdateHook/types/services/RagfairPriceService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/8OnUpdateHook/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/8OnUpdateHook/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/8OnUpdateHook/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/8OnUpdateHook/types/services/RagfairTaxService.d.ts b/TypeScript/8OnUpdateHook/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/8OnUpdateHook/types/services/RagfairTaxService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/8OnUpdateHook/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/8OnUpdateHook/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/8OnUpdateHook/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/8OnUpdateHook/types/services/RepairService.d.ts b/TypeScript/8OnUpdateHook/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/8OnUpdateHook/types/services/RepairService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/8OnUpdateHook/types/services/SeasonalEventService.d.ts b/TypeScript/8OnUpdateHook/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/8OnUpdateHook/types/services/SeasonalEventService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/8OnUpdateHook/types/services/TraderAssortService.d.ts b/TypeScript/8OnUpdateHook/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/8OnUpdateHook/types/services/TraderAssortService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/8OnUpdateHook/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/8OnUpdateHook/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/8OnUpdateHook/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/8OnUpdateHook/types/services/TraderServicesService.d.ts b/TypeScript/8OnUpdateHook/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/8OnUpdateHook/types/services/TraderServicesService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/8OnUpdateHook/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/8OnUpdateHook/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/8OnUpdateHook/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/services/cache/ModHashCacheService.d.ts b/TypeScript/8OnUpdateHook/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/8OnUpdateHook/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/services/mod/CustomItemService.d.ts b/TypeScript/8OnUpdateHook/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/8OnUpdateHook/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/8OnUpdateHook/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/8OnUpdateHook/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/8OnUpdateHook/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/8OnUpdateHook/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/8OnUpdateHook/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/8OnUpdateHook/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/8OnUpdateHook/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/8OnUpdateHook/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/8OnUpdateHook/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/8OnUpdateHook/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/8OnUpdateHook/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/8OnUpdateHook/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/8OnUpdateHook/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/8OnUpdateHook/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/8OnUpdateHook/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/8OnUpdateHook/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/8OnUpdateHook/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/8OnUpdateHook/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/8OnUpdateHook/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/8OnUpdateHook/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/8OnUpdateHook/types/utils/App.d.ts b/TypeScript/8OnUpdateHook/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/8OnUpdateHook/types/utils/App.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/8OnUpdateHook/types/utils/AsyncQueue.d.ts b/TypeScript/8OnUpdateHook/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/8OnUpdateHook/types/utils/AsyncQueue.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/8OnUpdateHook/types/utils/DatabaseImporter.d.ts b/TypeScript/8OnUpdateHook/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/8OnUpdateHook/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/8OnUpdateHook/types/utils/HashUtil.d.ts b/TypeScript/8OnUpdateHook/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/8OnUpdateHook/types/utils/HashUtil.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/8OnUpdateHook/types/utils/HttpFileUtil.d.ts b/TypeScript/8OnUpdateHook/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/8OnUpdateHook/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/8OnUpdateHook/types/utils/HttpResponseUtil.d.ts b/TypeScript/8OnUpdateHook/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/8OnUpdateHook/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/8OnUpdateHook/types/utils/ImporterUtil.d.ts b/TypeScript/8OnUpdateHook/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/8OnUpdateHook/types/utils/ImporterUtil.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/8OnUpdateHook/types/utils/JsonUtil.d.ts b/TypeScript/8OnUpdateHook/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/8OnUpdateHook/types/utils/JsonUtil.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/8OnUpdateHook/types/utils/ObjectId.d.ts b/TypeScript/8OnUpdateHook/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/8OnUpdateHook/types/utils/ObjectId.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/8OnUpdateHook/types/utils/RagfairOfferHolder.d.ts b/TypeScript/8OnUpdateHook/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/8OnUpdateHook/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/8OnUpdateHook/types/utils/RandomUtil.d.ts b/TypeScript/8OnUpdateHook/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/8OnUpdateHook/types/utils/RandomUtil.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/8OnUpdateHook/types/utils/VFS.d.ts b/TypeScript/8OnUpdateHook/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/8OnUpdateHook/types/utils/VFS.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/8OnUpdateHook/types/utils/Watermark.d.ts b/TypeScript/8OnUpdateHook/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/8OnUpdateHook/types/utils/Watermark.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/8OnUpdateHook/types/utils/cloners/JsonCloner.d.ts b/TypeScript/8OnUpdateHook/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/8OnUpdateHook/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/8OnUpdateHook/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/8OnUpdateHook/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/8OnUpdateHook/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/8OnUpdateHook/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/8OnUpdateHook/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/8OnUpdateHook/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/8OnUpdateHook/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/8OnUpdateHook/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/8OnUpdateHook/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/8OnUpdateHook/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/8OnUpdateHook/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/8OnUpdateHook/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/8OnUpdateHook/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/8OnUpdateHook/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/8OnUpdateHook/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/8OnUpdateHook/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/9RouterHooks/README.md b/TypeScript/9RouterHooks/README.md index 3bd5a99..a8981b6 100644 --- a/TypeScript/9RouterHooks/README.md +++ b/TypeScript/9RouterHooks/README.md @@ -1,6 +1,6 @@ -# Welcome to the SPT-AKI Modding Project +# Welcome to the SPT Modding Project -This project is designed to streamline the initial setup process for building and creating mods in the SPT-AKI environment. Follow this guide to set up your environment efficiently. +This project is designed to streamline the initial setup process for building and creating mods in the SPT environment. Follow this guide to set up your environment efficiently. ## **Table of Contents** - [NodeJS Setup](#nodejs-setup) @@ -39,7 +39,7 @@ Note: Preserve the `node_modules` folder as it contains necessary dependencies f ## **Essential Concepts** -Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT-AKI adopts. Comprehensive guidelines will be available on the hub upon release. +Prioritize understanding Dependency Injection and Inversion of Control, the architectural principles SPT adopts. Comprehensive guidelines will be available on the hub upon release. Some resources to get you started: - [A quick intro to Dependency Injection](https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/) @@ -47,13 +47,13 @@ Some resources to get you started: ## **Coding Guidelines** -Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"akiVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. +Focus your mod development around the `mod.ts` file. In the `package.json` file, only alter these properties: `"name"`, `"version"`, `"sptVersion"`, `"loadBefore"`, `"loadAfter"`, `"incompatibilities"`, `"isBundleMod"`, `"author"`, and `"license"`. New to Typescript? Find comprehensive documentation on the [official website](https://www.typescriptlang.org/docs/). ## **Distribution Guidelines** -Automated tasks are set up to bundle all necessary files for your mod to function in SPT-AKI: +Automated tasks are set up to bundle all necessary files for your mod to function in SPT: > Terminal -> Run Task... -> Show All Tasks... -> npm: build @@ -61,6 +61,6 @@ The ZIP output, located in the `dist` directory, contains all required files. En ## **Conclusion** -With this setup, you're ready to begin modding with SPT-AKI. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. +With this setup, you're ready to begin modding with SPT. If you run into any trouble be sure to check out the [modding documentation on the hub](https://hub.sp-tarkov.com/doc/lexicon/66-modding/). If you really get stuck feel free to join us in the [#mods-development](https://discord.com/channels/875684761291599922/875803116409323562) official Discord channel. Build something awesome! diff --git a/TypeScript/9RouterHooks/package.json b/TypeScript/9RouterHooks/package.json index bf2f3c7..b6db8f7 100644 --- a/TypeScript/9RouterHooks/package.json +++ b/TypeScript/9RouterHooks/package.json @@ -1,7 +1,7 @@ { "name": "RouterHooks", "version": "1.0.0", - "akiVersion": "~3.9", + "sptVersion": "~3.9", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/9RouterHooks/src/mod.ts b/TypeScript/9RouterHooks/src/mod.ts index 36ccde9..51e7122 100644 --- a/TypeScript/9RouterHooks/src/mod.ts +++ b/TypeScript/9RouterHooks/src/mod.ts @@ -1,13 +1,13 @@ import { DependencyContainer } from "tsyringe"; -import type { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import type {DynamicRouterModService} from "@spt-aki/services/mod/dynamicRouter/DynamicRouterModService"; -import type {StaticRouterModService} from "@spt-aki/services/mod/staticRouter/StaticRouterModService"; +import type { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import type {DynamicRouterModService} from "@spt/services/mod/dynamicRouter/DynamicRouterModService"; +import type {StaticRouterModService} from "@spt/services/mod/staticRouter/StaticRouterModService"; -class Mod implements IPreAkiLoadMod +class Mod implements IPreSptLoadMod { - public preAkiLoad(container: DependencyContainer): void { + public preSptLoad(container: DependencyContainer): void { const logger = container.resolve("WinstonLogger"); const dynamicRouterModService = container.resolve("DynamicRouterModService"); const staticRouterModService = container.resolve("StaticRouterModService"); @@ -44,9 +44,9 @@ class Mod implements IPreAkiLoadMod "custom-static-my-mod" ); - // Hook up to existing AKI dynamic route + // Hook up to existing SPT dynamic route dynamicRouterModService.registerDynamicRouter( - "DynamicRoutePeekingAki", + "DynamicRoutePeekingSpt", [ { url: "/client/menu/locale/", @@ -57,12 +57,12 @@ class Mod implements IPreAkiLoadMod } } ], - "aki" + "spt" ); - // Hook up to existing AKI static route + // Hook up to existing SPT static route staticRouterModService.registerStaticRouter( - "StaticRoutePeekingAki", + "StaticRoutePeekingSpt", [ { url: "/launcher/ping", @@ -73,7 +73,7 @@ class Mod implements IPreAkiLoadMod } } ], - "aki" + "spt" ); } } diff --git a/TypeScript/9RouterHooks/tsconfig.json b/TypeScript/9RouterHooks/tsconfig.json index c5ca53f..7d2e93d 100644 --- a/TypeScript/9RouterHooks/tsconfig.json +++ b/TypeScript/9RouterHooks/tsconfig.json @@ -11,7 +11,7 @@ "resolveJsonModule": true, "outDir": "tmp", "paths": { - "@spt-aki/*": ["./types/*"], + "@spt/*": ["./types/*"], }, }, "exclude": ["node_modules", "dist", "tmp"], diff --git a/TypeScript/9RouterHooks/types/callbacks/AchievementCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/AchievementCallbacks.d.ts index 61d3cf2..4fb7125 100644 --- a/TypeScript/9RouterHooks/types/callbacks/AchievementCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/AchievementCallbacks.d.ts @@ -1,10 +1,10 @@ -import { AchievementController } from "@spt-aki/controllers/AchievementController"; -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { AchievementController } from "@spt/controllers/AchievementController"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class AchievementCallbacks { protected achievementController: AchievementController; protected profileController: ProfileController; diff --git a/TypeScript/9RouterHooks/types/callbacks/BotCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/BotCallbacks.d.ts index fd0abfc..43abcfc 100644 --- a/TypeScript/9RouterHooks/types/callbacks/BotCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/BotCallbacks.d.ts @@ -1,10 +1,10 @@ -import { BotController } from "@spt-aki/controllers/BotController"; -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Difficulties } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BotController } from "@spt/controllers/BotController"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { Difficulties } from "@spt/models/eft/common/tables/IBotType"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BotCallbacks { protected botController: BotController; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/9RouterHooks/types/callbacks/BuildsCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/BuildsCallbacks.d.ts index eb8843c..79fee87 100644 --- a/TypeScript/9RouterHooks/types/callbacks/BuildsCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/BuildsCallbacks.d.ts @@ -1,12 +1,12 @@ -import { BuildController } from "@spt-aki/controllers/BuildController"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BuildController } from "@spt/controllers/BuildController"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BuildsCallbacks { protected httpResponse: HttpResponseUtil; protected buildController: BuildController; diff --git a/TypeScript/9RouterHooks/types/callbacks/BundleCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/BundleCallbacks.d.ts index f6a664d..3e579dc 100644 --- a/TypeScript/9RouterHooks/types/callbacks/BundleCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/BundleCallbacks.d.ts @@ -1,7 +1,7 @@ -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class BundleCallbacks { protected httpResponse: HttpResponseUtil; protected bundleLoader: BundleLoader; diff --git a/TypeScript/9RouterHooks/types/callbacks/ClientLogCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/ClientLogCallbacks.d.ts index 1fb7acc..bfeb9a4 100644 --- a/TypeScript/9RouterHooks/types/callbacks/ClientLogCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/ClientLogCallbacks.d.ts @@ -1,10 +1,10 @@ -import { ClientLogController } from "@spt-aki/controllers/ClientLogController"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ClientLogController } from "@spt/controllers/ClientLogController"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** Handle client logging related events */ export declare class ClientLogCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/9RouterHooks/types/callbacks/CustomizationCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/CustomizationCallbacks.d.ts index 9ea8faa..3541343 100644 --- a/TypeScript/9RouterHooks/types/callbacks/CustomizationCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/CustomizationCallbacks.d.ts @@ -1,14 +1,14 @@ -import { CustomizationController } from "@spt-aki/controllers/CustomizationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IGetSuitsResponse } from "@spt-aki/models/eft/customization/IGetSuitsResponse"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { CustomizationController } from "@spt/controllers/CustomizationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IGetSuitsResponse } from "@spt/models/eft/customization/IGetSuitsResponse"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class CustomizationCallbacks { protected customizationController: CustomizationController; protected saveServer: SaveServer; diff --git a/TypeScript/9RouterHooks/types/callbacks/DataCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/DataCallbacks.d.ts index fbac60b..41a5a41 100644 --- a/TypeScript/9RouterHooks/types/callbacks/DataCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/DataCallbacks.d.ts @@ -1,18 +1,18 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IGetItemPricesResponse } from "@spt-aki/models/eft/game/IGetItemPricesResponse"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IGetItemPricesResponse } from "@spt/models/eft/game/IGetItemPricesResponse"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/9RouterHooks/types/callbacks/DialogueCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/DialogueCallbacks.d.ts index f6d3079..f37f487 100644 --- a/TypeScript/9RouterHooks/types/callbacks/DialogueCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/DialogueCallbacks.d.ts @@ -1,36 +1,36 @@ -import { DialogueController } from "@spt-aki/controllers/DialogueController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt-aki/models/eft/dialog/IAcceptFriendRequestData"; -import { IAddUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IAddUserGroupMailRequest"; -import { IChangeGroupMailOwnerRequest } from "@spt-aki/models/eft/dialog/IChangeGroupMailOwnerRequest"; -import { IChatServer } from "@spt-aki/models/eft/dialog/IChatServer"; -import { IClearMailMessageRequest } from "@spt-aki/models/eft/dialog/IClearMailMessageRequest"; -import { ICreateGroupMailRequest } from "@spt-aki/models/eft/dialog/ICreateGroupMailRequest"; -import { IDeleteFriendRequest } from "@spt-aki/models/eft/dialog/IDeleteFriendRequest"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { IRemoveMailMessageRequest } from "@spt-aki/models/eft/dialog/IRemoveMailMessageRequest"; -import { IRemoveUserGroupMailRequest } from "@spt-aki/models/eft/dialog/IRemoveUserGroupMailRequest"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueController } from "@spt/controllers/DialogueController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IAcceptFriendRequestData, ICancelFriendRequestData, IDeclineFriendRequestData } from "@spt/models/eft/dialog/IAcceptFriendRequestData"; +import { IAddUserGroupMailRequest } from "@spt/models/eft/dialog/IAddUserGroupMailRequest"; +import { IChangeGroupMailOwnerRequest } from "@spt/models/eft/dialog/IChangeGroupMailOwnerRequest"; +import { IChatServer } from "@spt/models/eft/dialog/IChatServer"; +import { IClearMailMessageRequest } from "@spt/models/eft/dialog/IClearMailMessageRequest"; +import { ICreateGroupMailRequest } from "@spt/models/eft/dialog/ICreateGroupMailRequest"; +import { IDeleteFriendRequest } from "@spt/models/eft/dialog/IDeleteFriendRequest"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { IRemoveMailMessageRequest } from "@spt/models/eft/dialog/IRemoveMailMessageRequest"; +import { IRemoveUserGroupMailRequest } from "@spt/models/eft/dialog/IRemoveUserGroupMailRequest"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueCallbacks implements OnUpdate { protected hashUtil: HashUtil; protected timeUtil: TimeUtil; diff --git a/TypeScript/9RouterHooks/types/callbacks/GameCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/GameCallbacks.d.ts index f4fa0d7..b41454f 100644 --- a/TypeScript/9RouterHooks/types/callbacks/GameCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/GameCallbacks.d.ts @@ -1,25 +1,25 @@ -import { GameController } from "@spt-aki/controllers/GameController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGameModeResponse } from "@spt-aki/models/eft/game/IGameModeResponse"; -import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { GameController } from "@spt/controllers/GameController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameLogoutResponseData } from "@spt/models/eft/game/IGameLogoutResponseData"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGameModeResponse } from "@spt/models/eft/game/IGameModeResponse"; +import { IGameStartResponse } from "@spt/models/eft/game/IGameStartResponse"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class GameCallbacks implements OnLoad { protected httpResponse: HttpResponseUtil; protected watermark: Watermark; diff --git a/TypeScript/9RouterHooks/types/callbacks/HandbookCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/HandbookCallbacks.d.ts index 0a099e9..61819de 100644 --- a/TypeScript/9RouterHooks/types/callbacks/HandbookCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/HandbookCallbacks.d.ts @@ -1,5 +1,5 @@ -import { HandbookController } from "@spt-aki/controllers/HandbookController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { HandbookController } from "@spt/controllers/HandbookController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class HandbookCallbacks implements OnLoad { protected handbookController: HandbookController; constructor(handbookController: HandbookController); diff --git a/TypeScript/9RouterHooks/types/callbacks/HealthCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/HealthCallbacks.d.ts index 24b633b..840c9b1 100644 --- a/TypeScript/9RouterHooks/types/callbacks/HealthCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/HealthCallbacks.d.ts @@ -1,21 +1,21 @@ -import { HealthController } from "@spt-aki/controllers/HealthController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthController } from "@spt/controllers/HealthController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HttpResponseUtil } from "@spt/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 + * Custom spt server request found in modules/HealthSynchronizer.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id @@ -23,7 +23,7 @@ export declare class HealthCallbacks { */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; /** - * Custom aki server request found in modules/QTEPatch.cs + * Custom spt server request found in modules/QTEPatch.cs * @param url * @param info HealthListener.Instance.CurrentHealth class * @param sessionID session id diff --git a/TypeScript/9RouterHooks/types/callbacks/HideoutCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/HideoutCallbacks.d.ts index c1fa7a5..fadab9b 100644 --- a/TypeScript/9RouterHooks/types/callbacks/HideoutCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/HideoutCallbacks.d.ts @@ -1,22 +1,22 @@ -import { HideoutController } from "@spt-aki/controllers/HideoutController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { HideoutController } from "@spt/controllers/HideoutController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HideoutCallbacks implements OnUpdate { protected hideoutController: HideoutController; protected configServer: ConfigServer; diff --git a/TypeScript/9RouterHooks/types/callbacks/HttpCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/HttpCallbacks.d.ts index 060301a..11b2db5 100644 --- a/TypeScript/9RouterHooks/types/callbacks/HttpCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/HttpCallbacks.d.ts @@ -1,5 +1,5 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HttpServer } from "@spt/servers/HttpServer"; export declare class HttpCallbacks implements OnLoad { protected httpServer: HttpServer; constructor(httpServer: HttpServer); diff --git a/TypeScript/9RouterHooks/types/callbacks/InraidCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/InraidCallbacks.d.ts index 2bffa77..a058b99 100644 --- a/TypeScript/9RouterHooks/types/callbacks/InraidCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/InraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { InraidController } from "@spt-aki/controllers/InraidController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemDeliveryRequestData } from "@spt-aki/models/eft/inRaid/IItemDeliveryRequestData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InraidController } from "@spt/controllers/InraidController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemDeliveryRequestData } from "@spt/models/eft/inRaid/IItemDeliveryRequestData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle client requests */ diff --git a/TypeScript/9RouterHooks/types/callbacks/InsuranceCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/InsuranceCallbacks.d.ts index 1c57629..888f128 100644 --- a/TypeScript/9RouterHooks/types/callbacks/InsuranceCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/InsuranceCallbacks.d.ts @@ -1,15 +1,15 @@ -import { InsuranceController } from "@spt-aki/controllers/InsuranceController"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InsuranceController } from "@spt/controllers/InsuranceController"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class InsuranceCallbacks implements OnUpdate { protected insuranceController: InsuranceController; protected insuranceService: InsuranceService; diff --git a/TypeScript/9RouterHooks/types/callbacks/InventoryCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/InventoryCallbacks.d.ts index 5aa0cb2..e0968e6 100644 --- a/TypeScript/9RouterHooks/types/callbacks/InventoryCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/InventoryCallbacks.d.ts @@ -1,27 +1,27 @@ -import { InventoryController } from "@spt-aki/controllers/InventoryController"; -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; +import { InventoryController } from "@spt/controllers/InventoryController"; +import { QuestController } from "@spt/controllers/QuestController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; export declare class InventoryCallbacks { protected inventoryController: InventoryController; protected questController: QuestController; diff --git a/TypeScript/9RouterHooks/types/callbacks/ItemEventCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/ItemEventCallbacks.d.ts index 97547c6..2d42ae3 100644 --- a/TypeScript/9RouterHooks/types/callbacks/ItemEventCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/ItemEventCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { Warning } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "@spt-aki/routers/ItemEventRouter"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { Warning } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ItemEventRouter } from "@spt/routers/ItemEventRouter"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ItemEventCallbacks { protected httpResponse: HttpResponseUtil; protected itemEventRouter: ItemEventRouter; diff --git a/TypeScript/9RouterHooks/types/callbacks/LauncherCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/LauncherCallbacks.d.ts index b452291..46fb3f4 100644 --- a/TypeScript/9RouterHooks/types/callbacks/LauncherCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/LauncherCallbacks.d.ts @@ -1,12 +1,12 @@ -import { LauncherController } from "@spt-aki/controllers/LauncherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { LauncherController } from "@spt/controllers/LauncherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class LauncherCallbacks { protected httpResponse: HttpResponseUtil; protected launcherController: LauncherController; diff --git a/TypeScript/9RouterHooks/types/callbacks/LocationCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/LocationCallbacks.d.ts index a370219..2825050 100644 --- a/TypeScript/9RouterHooks/types/callbacks/LocationCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/LocationCallbacks.d.ts @@ -1,10 +1,10 @@ -import { LocationController } from "@spt-aki/controllers/LocationController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { LocationController } from "@spt/controllers/LocationController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class LocationCallbacks { protected httpResponse: HttpResponseUtil; protected locationController: LocationController; diff --git a/TypeScript/9RouterHooks/types/callbacks/MatchCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/MatchCallbacks.d.ts index 4203fa1..f002178 100644 --- a/TypeScript/9RouterHooks/types/callbacks/MatchCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/MatchCallbacks.d.ts @@ -1,24 +1,24 @@ -import { MatchController } from "@spt-aki/controllers/MatchController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IMatchGroupCurrentResponse } from "@spt-aki/models/eft/match/IMatchGroupCurrentResponse"; -import { IMatchGroupInviteSendRequest } from "@spt-aki/models/eft/match/IMatchGroupInviteSendRequest"; -import { IMatchGroupPlayerRemoveRequest } from "@spt-aki/models/eft/match/IMatchGroupPlayerRemoveRequest"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IMatchGroupTransferRequest } from "@spt-aki/models/eft/match/IMatchGroupTransferRequest"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IPutMetricsRequestData } from "@spt-aki/models/eft/match/IPutMetricsRequestData"; -import { IRequestIdRequest } from "@spt-aki/models/eft/match/IRequestIdRequest"; -import { IUpdatePingRequestData } from "@spt-aki/models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { MatchController } from "@spt/controllers/MatchController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IMatchGroupCurrentResponse } from "@spt/models/eft/match/IMatchGroupCurrentResponse"; +import { IMatchGroupInviteSendRequest } from "@spt/models/eft/match/IMatchGroupInviteSendRequest"; +import { IMatchGroupPlayerRemoveRequest } from "@spt/models/eft/match/IMatchGroupPlayerRemoveRequest"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IMatchGroupTransferRequest } from "@spt/models/eft/match/IMatchGroupTransferRequest"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IPutMetricsRequestData } from "@spt/models/eft/match/IPutMetricsRequestData"; +import { IRequestIdRequest } from "@spt/models/eft/match/IRequestIdRequest"; +import { IUpdatePingRequestData } from "@spt/models/eft/match/IUpdatePingRequestData"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class MatchCallbacks { protected httpResponse: HttpResponseUtil; protected jsonUtil: JsonUtil; diff --git a/TypeScript/9RouterHooks/types/callbacks/ModCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/ModCallbacks.d.ts index 6af1e68..a0df59f 100644 --- a/TypeScript/9RouterHooks/types/callbacks/ModCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/ModCallbacks.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { PostAkiModLoader } from "@spt-aki/loaders/PostAkiModLoader"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { PostSptModLoader } from "@spt/loaders/PostSptModLoader"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class ModCallbacks implements OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpFileUtil: HttpFileUtil; - protected postAkiModLoader: PostAkiModLoader; + protected postSptModLoader: PostSptModLoader; protected localisationService: LocalisationService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postAkiModLoader: PostAkiModLoader, localisationService: LocalisationService, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpFileUtil: HttpFileUtil, postSptModLoader: PostSptModLoader, localisationService: LocalisationService, configServer: ConfigServer); onLoad(): Promise; getRoute(): string; } diff --git a/TypeScript/9RouterHooks/types/callbacks/NoteCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/NoteCallbacks.d.ts index a60d3bb..d078171 100644 --- a/TypeScript/9RouterHooks/types/callbacks/NoteCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/NoteCallbacks.d.ts @@ -1,7 +1,7 @@ -import { NoteController } from "@spt-aki/controllers/NoteController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteController } from "@spt/controllers/NoteController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteCallbacks { protected noteController: NoteController; constructor(noteController: NoteController); diff --git a/TypeScript/9RouterHooks/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/NotifierCallbacks.d.ts index 2d561fa..0436e12 100644 --- a/TypeScript/9RouterHooks/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/NotifierCallbacks.d.ts @@ -1,12 +1,12 @@ -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { ISelectProfileResponse } from "@spt-aki/models/eft/notifier/ISelectProfileResponse"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { ISelectProfileResponse } from "@spt/models/eft/notifier/ISelectProfileResponse"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifierCallbacks { protected httpServerHelper: HttpServerHelper; protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/9RouterHooks/types/callbacks/PresetCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/PresetCallbacks.d.ts index 2741094..24edfa2 100644 --- a/TypeScript/9RouterHooks/types/callbacks/PresetCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/PresetCallbacks.d.ts @@ -1,5 +1,5 @@ -import { PresetController } from "@spt-aki/controllers/PresetController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { PresetController } from "@spt/controllers/PresetController"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class PresetCallbacks implements OnLoad { protected presetController: PresetController; constructor(presetController: PresetController); diff --git a/TypeScript/9RouterHooks/types/callbacks/ProfileCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/ProfileCallbacks.d.ts index e3d53e9..3db4ed8 100644 --- a/TypeScript/9RouterHooks/types/callbacks/ProfileCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/ProfileCallbacks.d.ts @@ -1,23 +1,23 @@ -import { ProfileController } from "@spt-aki/controllers/ProfileController"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { ICreateProfileResponse } from "@spt-aki/models/eft/profile/ICreateProfileResponse"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IGetProfileSettingsRequest } from "@spt-aki/models/eft/profile/IGetProfileSettingsRequest"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileController } from "@spt/controllers/ProfileController"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { ICreateProfileResponse } from "@spt/models/eft/profile/ICreateProfileResponse"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IGetProfileSettingsRequest } from "@spt/models/eft/profile/IGetProfileSettingsRequest"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; diff --git a/TypeScript/9RouterHooks/types/callbacks/QuestCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/QuestCallbacks.d.ts index b5c5275..dec034e 100644 --- a/TypeScript/9RouterHooks/types/callbacks/QuestCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/QuestCallbacks.d.ts @@ -1,17 +1,17 @@ -import { QuestController } from "@spt-aki/controllers/QuestController"; -import { RepeatableQuestController } from "@spt-aki/controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { QuestController } from "@spt/controllers/QuestController"; +import { RepeatableQuestController } from "@spt/controllers/RepeatableQuestController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class QuestCallbacks { protected httpResponse: HttpResponseUtil; protected questController: QuestController; diff --git a/TypeScript/9RouterHooks/types/callbacks/RagfairCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/RagfairCallbacks.d.ts index d448d6b..1e92996 100644 --- a/TypeScript/9RouterHooks/types/callbacks/RagfairCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/RagfairCallbacks.d.ts @@ -1,27 +1,27 @@ -import { RagfairController } from "@spt-aki/controllers/RagfairController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "@spt-aki/models/eft/ragfair/ISendRagfairReportRequestData"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { RagfairController } from "@spt/controllers/RagfairController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "@spt/models/eft/ragfair/ISendRagfairReportRequestData"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; /** * Handle ragfair related callback events */ diff --git a/TypeScript/9RouterHooks/types/callbacks/RepairCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/RepairCallbacks.d.ts index c8587dc..930708e 100644 --- a/TypeScript/9RouterHooks/types/callbacks/RepairCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/RepairCallbacks.d.ts @@ -1,8 +1,8 @@ -import { RepairController } from "@spt-aki/controllers/RepairController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { RepairController } from "@spt/controllers/RepairController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; export declare class RepairCallbacks { protected repairController: RepairController; constructor(repairController: RepairController); diff --git a/TypeScript/9RouterHooks/types/callbacks/SaveCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/SaveCallbacks.d.ts index 74d463f..8f836cb 100644 --- a/TypeScript/9RouterHooks/types/callbacks/SaveCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/SaveCallbacks.d.ts @@ -1,8 +1,8 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; export declare class SaveCallbacks implements OnLoad, OnUpdate { protected saveServer: SaveServer; protected configServer: ConfigServer; diff --git a/TypeScript/9RouterHooks/types/callbacks/TradeCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/TradeCallbacks.d.ts index bfa72b0..0f8ebe3 100644 --- a/TypeScript/9RouterHooks/types/callbacks/TradeCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/TradeCallbacks.d.ts @@ -1,9 +1,9 @@ -import { TradeController } from "@spt-aki/controllers/TradeController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { TradeController } from "@spt/controllers/TradeController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; export declare class TradeCallbacks { protected tradeController: TradeController; constructor(tradeController: TradeController); diff --git a/TypeScript/9RouterHooks/types/callbacks/TraderCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/TraderCallbacks.d.ts index 6f0929f..c081a9b 100644 --- a/TypeScript/9RouterHooks/types/callbacks/TraderCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/TraderCallbacks.d.ts @@ -1,10 +1,10 @@ -import { TraderController } from "@spt-aki/controllers/TraderController"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { TraderController } from "@spt/controllers/TraderController"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TraderCallbacks implements OnLoad, OnUpdate { protected httpResponse: HttpResponseUtil; protected traderController: TraderController; diff --git a/TypeScript/9RouterHooks/types/callbacks/WeatherCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/WeatherCallbacks.d.ts index 2c6fdf6..5ba5aab 100644 --- a/TypeScript/9RouterHooks/types/callbacks/WeatherCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/WeatherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { WeatherController } from "@spt-aki/controllers/WeatherController"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { WeatherController } from "@spt/controllers/WeatherController"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class WeatherCallbacks { protected httpResponse: HttpResponseUtil; protected weatherController: WeatherController; diff --git a/TypeScript/9RouterHooks/types/callbacks/WishlistCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/WishlistCallbacks.d.ts index 29c3e44..f5b500f 100644 --- a/TypeScript/9RouterHooks/types/callbacks/WishlistCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/WishlistCallbacks.d.ts @@ -1,7 +1,7 @@ -import { WishlistController } from "@spt-aki/controllers/WishlistController"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { WishlistController } from "@spt/controllers/WishlistController"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export declare class WishlistCallbacks { protected wishlistController: WishlistController; constructor(wishlistController: WishlistController); diff --git a/TypeScript/9RouterHooks/types/context/ApplicationContext.d.ts b/TypeScript/9RouterHooks/types/context/ApplicationContext.d.ts index 22c6c0e..4818e3a 100644 --- a/TypeScript/9RouterHooks/types/context/ApplicationContext.d.ts +++ b/TypeScript/9RouterHooks/types/context/ApplicationContext.d.ts @@ -1,5 +1,5 @@ -import { ContextVariable } from "@spt-aki/context/ContextVariable"; -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariable } from "@spt/context/ContextVariable"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ApplicationContext { private variables; private static holderMaxSize; diff --git a/TypeScript/9RouterHooks/types/context/ContextVariable.d.ts b/TypeScript/9RouterHooks/types/context/ContextVariable.d.ts index 21bf7ef..246be85 100644 --- a/TypeScript/9RouterHooks/types/context/ContextVariable.d.ts +++ b/TypeScript/9RouterHooks/types/context/ContextVariable.d.ts @@ -1,4 +1,4 @@ -import { ContextVariableType } from "@spt-aki/context/ContextVariableType"; +import { ContextVariableType } from "@spt/context/ContextVariableType"; export declare class ContextVariable { private value; private timestamp; diff --git a/TypeScript/9RouterHooks/types/controllers/AchievementController.d.ts b/TypeScript/9RouterHooks/types/controllers/AchievementController.d.ts index 32365c8..14a32c6 100644 --- a/TypeScript/9RouterHooks/types/controllers/AchievementController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/AchievementController.d.ts @@ -1,7 +1,7 @@ -import { ICompletedAchievementsResponse } from "@spt-aki/models/eft/profile/ICompletedAchievementsResponse"; -import { IGetAchievementsResponse } from "@spt-aki/models/eft/profile/IGetAchievementsResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ICompletedAchievementsResponse } from "@spt/models/eft/profile/ICompletedAchievementsResponse"; +import { IGetAchievementsResponse } from "@spt/models/eft/profile/IGetAchievementsResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Logic for handling In Raid callbacks */ diff --git a/TypeScript/9RouterHooks/types/controllers/BotController.d.ts b/TypeScript/9RouterHooks/types/controllers/BotController.d.ts index 99a848f..25f7c29 100644 --- a/TypeScript/9RouterHooks/types/controllers/BotController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/BotController.d.ts @@ -1,26 +1,26 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Condition, IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Condition, IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/9RouterHooks/types/controllers/BuildController.d.ts b/TypeScript/9RouterHooks/types/controllers/BuildController.d.ts index 22e8eb1..7b8957e 100644 --- a/TypeScript/9RouterHooks/types/controllers/BuildController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/BuildController.d.ts @@ -1,25 +1,27 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISetMagazineRequest } from "@spt-aki/models/eft/builds/ISetMagazineRequest"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IRemoveBuildRequestData } from "@spt-aki/models/eft/presetBuild/IRemoveBuildRequestData"; -import { IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISetMagazineRequest } from "@spt/models/eft/builds/ISetMagazineRequest"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IRemoveBuildRequestData } from "@spt/models/eft/presetBuild/IRemoveBuildRequestData"; +import { IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class BuildController { protected logger: ILogger; protected hashUtil: HashUtil; protected eventOutputHolder: EventOutputHolder; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; protected itemHelper: ItemHelper; protected saveServer: SaveServer; protected cloner: ICloner; - constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); + constructor(logger: ILogger, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, profileHelper: ProfileHelper, localisationService: LocalisationService, itemHelper: ItemHelper, saveServer: SaveServer, cloner: ICloner); /** Handle client/handbook/builds/my/list */ getUserBuilds(sessionID: string): IUserBuilds; /** Handle client/builds/weapon/save */ diff --git a/TypeScript/9RouterHooks/types/controllers/ClientLogController.d.ts b/TypeScript/9RouterHooks/types/controllers/ClientLogController.d.ts index 5d70ba4..6356c03 100644 --- a/TypeScript/9RouterHooks/types/controllers/ClientLogController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/ClientLogController.d.ts @@ -1,5 +1,5 @@ -import { IClientLogRequest } from "@spt-aki/models/spt/logging/IClientLogRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { IClientLogRequest } from "@spt/models/spt/logging/IClientLogRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class ClientLogController { protected logger: ILogger; constructor(logger: ILogger); diff --git a/TypeScript/9RouterHooks/types/controllers/CustomizationController.d.ts b/TypeScript/9RouterHooks/types/controllers/CustomizationController.d.ts index 27de49a..613dac9 100644 --- a/TypeScript/9RouterHooks/types/controllers/CustomizationController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/CustomizationController.d.ts @@ -1,14 +1,14 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ClothingItem, IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { ClothingItem, IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class CustomizationController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/9RouterHooks/types/controllers/DialogueController.d.ts b/TypeScript/9RouterHooks/types/controllers/DialogueController.d.ts index 2ad90c4..4a94359 100644 --- a/TypeScript/9RouterHooks/types/controllers/DialogueController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/DialogueController.d.ts @@ -1,28 +1,30 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IFriendRequestSendResponse } from "@spt-aki/models/eft/dialog/IFriendRequestSendResponse"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { Dialogue, DialogueInfo, IAkiProfile, IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IFriendRequestSendResponse } from "@spt/models/eft/dialog/IFriendRequestSendResponse"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { Dialogue, DialogueInfo, ISptProfile, IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class DialogueController { protected logger: ILogger; protected saveServer: SaveServer; protected timeUtil: TimeUtil; protected dialogueHelper: DialogueHelper; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected dialogueChatBots: IDialogueChatBot[]; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, dialogueHelper: DialogueHelper, mailSendService: MailSendService, localisationService: LocalisationService, configServer: ConfigServer, dialogueChatBots: IDialogueChatBot[]); registerChatBot(chatBot: IDialogueChatBot): void; /** Handle onUpdate spt event */ update(): void; @@ -70,14 +72,14 @@ export declare class DialogueController { * @param request get dialog request (params used when dialog doesnt exist in profile) * @returns Dialogue */ - protected getDialogByIdFromProfile(profile: IAkiProfile, request: IGetMailDialogViewRequestData): Dialogue; + protected getDialogByIdFromProfile(profile: ISptProfile, request: IGetMailDialogViewRequestData): Dialogue; /** * Get the users involved in a mail between two entities * @param fullProfile Player profile * @param dialogUsers The participants of the mail * @returns IUserDialogInfo array */ - protected getProfilesForMail(fullProfile: IAkiProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; + protected getProfilesForMail(fullProfile: ISptProfile, dialogUsers: IUserDialogInfo[]): IUserDialogInfo[]; /** * Get a count of messages with attachments from a particular dialog * @param sessionID Session id diff --git a/TypeScript/9RouterHooks/types/controllers/GameController.d.ts b/TypeScript/9RouterHooks/types/controllers/GameController.d.ts index f64e42d..6325d37 100644 --- a/TypeScript/9RouterHooks/types/controllers/GameController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/GameController.d.ts @@ -1,49 +1,49 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ICheckVersionResponse } from "@spt-aki/models/eft/game/ICheckVersionResponse"; -import { ICurrentGroupResponse } from "@spt-aki/models/eft/game/ICurrentGroupResponse"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveResponse"; -import { IGameModeRequestData } from "@spt-aki/models/eft/game/IGameModeRequestData"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILootConfig } from "@spt-aki/models/spt/config/ILootConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { CustomLocationWaveService } from "@spt-aki/services/CustomLocationWaveService"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { OpenZoneService } from "@spt-aki/services/OpenZoneService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ICheckVersionResponse } from "@spt/models/eft/game/ICheckVersionResponse"; +import { ICurrentGroupResponse } from "@spt/models/eft/game/ICurrentGroupResponse"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameKeepAliveResponse } from "@spt/models/eft/game/IGameKeepAliveResponse"; +import { IGameModeRequestData } from "@spt/models/eft/game/IGameModeRequestData"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { IServerDetails } from "@spt/models/eft/game/IServerDetails"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILootConfig } from "@spt/models/spt/config/ILootConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { CustomLocationWaveService } from "@spt/services/CustomLocationWaveService"; +import { GiftService } from "@spt/services/GiftService"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { OpenZoneService } from "@spt/services/OpenZoneService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GameController { protected logger: ILogger; protected databaseServer: DatabaseServer; protected timeUtil: TimeUtil; protected hashUtil: HashUtil; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected httpServerHelper: HttpServerHelper; protected randomUtil: RandomUtil; protected hideoutHelper: HideoutHelper; @@ -68,7 +68,7 @@ export declare class GameController { protected pmcConfig: IPmcConfig; protected lootConfig: ILootConfig; protected botConfig: IBotConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preAkiModLoader: PreAkiModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); + constructor(logger: ILogger, databaseServer: DatabaseServer, timeUtil: TimeUtil, hashUtil: HashUtil, preSptModLoader: PreSptModLoader, httpServerHelper: HttpServerHelper, randomUtil: RandomUtil, hideoutHelper: HideoutHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, localisationService: LocalisationService, customLocationWaveService: CustomLocationWaveService, openZoneService: OpenZoneService, seasonalEventService: SeasonalEventService, itemBaseClassService: ItemBaseClassService, giftService: GiftService, raidTimeAdjustmentService: RaidTimeAdjustmentService, profileActivityService: ProfileActivityService, applicationContext: ApplicationContext, configServer: ConfigServer, cloner: ICloner); load(): void; /** * Handle client/game/start @@ -150,7 +150,7 @@ export declare class GameController { * Get a list of installed mods and save their details to the profile being used * @param fullProfile Profile to add mod details to */ - protected saveActiveModsToProfile(fullProfile: IAkiProfile): void; + protected saveActiveModsToProfile(fullProfile: ISptProfile): void; /** * Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json */ @@ -164,7 +164,7 @@ export declare class GameController { * Check for a dialog with the key 'undefined', and remove it * @param fullProfile Profile to check for dialog in */ - protected checkForAndRemoveUndefinedDialogs(fullProfile: IAkiProfile): void; + protected checkForAndRemoveUndefinedDialogs(fullProfile: ISptProfile): void; /** * Blank out the "test" mail message from prapor */ @@ -173,5 +173,5 @@ export declare class GameController { * Make non-trigger-spawned raiders spawn earlier + always */ protected adjustLabsRaiderSpawnRate(): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; + protected logProfileDetails(fullProfile: ISptProfile): void; } diff --git a/TypeScript/9RouterHooks/types/controllers/HandbookController.d.ts b/TypeScript/9RouterHooks/types/controllers/HandbookController.d.ts index 4820f21..0743d30 100644 --- a/TypeScript/9RouterHooks/types/controllers/HandbookController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/HandbookController.d.ts @@ -1,5 +1,5 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class HandbookController { protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; diff --git a/TypeScript/9RouterHooks/types/controllers/HealthController.d.ts b/TypeScript/9RouterHooks/types/controllers/HealthController.d.ts index 5b2c170..5482283 100644 --- a/TypeScript/9RouterHooks/types/controllers/HealthController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/HealthController.d.ts @@ -1,19 +1,19 @@ -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IWorkoutData } from "@spt-aki/models/eft/health/IWorkoutData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IWorkoutData } from "@spt/models/eft/health/IWorkoutData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class HealthController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/9RouterHooks/types/controllers/HideoutController.d.ts b/TypeScript/9RouterHooks/types/controllers/HideoutController.d.ts index 600c22d..7d2510d 100644 --- a/TypeScript/9RouterHooks/types/controllers/HideoutController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/HideoutController.d.ts @@ -1,45 +1,45 @@ -import { ScavCaseRewardGenerator } from "@spt-aki/generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, ITaskConditionCounter, Product } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHandleQTEEventRequestData } from "@spt-aki/models/eft/hideout/IHandleQTEEventRequestData"; -import { IHideoutArea, Stage } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutCancelProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutCancelProductionRequestData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutImproveAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutImproveAreaRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IRecordShootingRangePoints } from "@spt-aki/models/eft/hideout/IRecordShootingRangePoints"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ProfileActivityService } from "@spt-aki/services/ProfileActivityService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ScavCaseRewardGenerator } from "@spt/generators/ScavCaseRewardGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, ITaskConditionCounter, Product } from "@spt/models/eft/common/tables/IBotBase"; +import { HideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/HideoutUpgradeCompleteRequestData"; +import { IHandleQTEEventRequestData } from "@spt/models/eft/hideout/IHandleQTEEventRequestData"; +import { IHideoutArea, Stage } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutCancelProductionRequestData } from "@spt/models/eft/hideout/IHideoutCancelProductionRequestData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutImproveAreaRequestData } from "@spt/models/eft/hideout/IHideoutImproveAreaRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IRecordShootingRangePoints } from "@spt/models/eft/hideout/IRecordShootingRangePoints"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ProfileActivityService } from "@spt/services/ProfileActivityService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutController { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/controllers/InraidController.d.ts b/TypeScript/9RouterHooks/types/controllers/InraidController.d.ts index 8749ba7..f252a7e 100644 --- a/TypeScript/9RouterHooks/types/controllers/InraidController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/InraidController.d.ts @@ -1,35 +1,36 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { HealthHelper } from "@spt-aki/helpers/HealthHelper"; -import { InRaidHelper } from "@spt-aki/helpers/InRaidHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { PmcChatResponseService } from "@spt-aki/services/PmcChatResponseService"; -import { TraderServicesService } from "@spt-aki/services/TraderServicesService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { HealthHelper } from "@spt/helpers/HealthHelper"; +import { InRaidHelper } from "@spt/helpers/InRaidHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { IBTRConfig } from "@spt/models/spt/config/IBTRConfig"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { PmcChatResponseService } from "@spt/services/PmcChatResponseService"; +import { TraderServicesService } from "@spt/services/TraderServicesService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Logic for handling In Raid callbacks */ @@ -47,6 +48,7 @@ export declare class InraidController { protected healthHelper: HealthHelper; protected traderHelper: TraderHelper; protected traderServicesService: TraderServicesService; + protected localisationService: LocalisationService; protected insuranceService: InsuranceService; protected inRaidHelper: InRaidHelper; protected applicationContext: ApplicationContext; @@ -60,7 +62,7 @@ export declare class InraidController { protected locationConfig: ILocationConfig; protected ragfairConfig: IRagfairConfig; protected hideoutConfig: IHideoutConfig; - constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); + constructor(logger: ILogger, saveServer: SaveServer, timeUtil: TimeUtil, databaseServer: DatabaseServer, pmcChatResponseService: PmcChatResponseService, matchBotDetailsCacheService: MatchBotDetailsCacheService, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, traderServicesService: TraderServicesService, localisationService: LocalisationService, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, applicationContext: ApplicationContext, configServer: ConfigServer, mailSendService: MailSendService, randomUtil: RandomUtil); /** * Save locationId to active profiles inraid object AND app context * @param sessionID Session id diff --git a/TypeScript/9RouterHooks/types/controllers/InsuranceController.d.ts b/TypeScript/9RouterHooks/types/controllers/InsuranceController.d.ts index ccb5c18..cfb05e4 100644 --- a/TypeScript/9RouterHooks/types/controllers/InsuranceController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/InsuranceController.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { Insurance } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { InsuranceService } from "@spt-aki/services/InsuranceService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "@spt/models/eft/insurance/IGetInsuranceCostResponseData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { Insurance } from "@spt/models/eft/profile/ISptProfile"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { InsuranceService } from "@spt/services/InsuranceService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceController { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/9RouterHooks/types/controllers/InventoryController.d.ts b/TypeScript/9RouterHooks/types/controllers/InventoryController.d.ts index 0d7f5ad..04ddea9 100644 --- a/TypeScript/9RouterHooks/types/controllers/InventoryController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/InventoryController.d.ts @@ -1,44 +1,44 @@ -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IOpenRandomLootContainerRequestData } from "@spt-aki/models/eft/inventory/IOpenRandomLootContainerRequestData"; -import { IRedeemProfileRequestData } from "@spt-aki/models/eft/inventory/IRedeemProfileRequestData"; -import { ISetFavoriteItems } from "@spt-aki/models/eft/inventory/ISetFavoriteItems"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IOpenRandomLootContainerRequestData } from "@spt/models/eft/inventory/IOpenRandomLootContainerRequestData"; +import { IRedeemProfileRequestData } from "@spt/models/eft/inventory/IRedeemProfileRequestData"; +import { ISetFavoriteItems } from "@spt/models/eft/inventory/ISetFavoriteItems"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class InventoryController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -167,7 +167,12 @@ export declare class InventoryController { * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: IAkiProfile): void; + /** + * Flag an item as seen in profiles encyclopedia + add inspect xp to profile + * @param itemTpls Inspected item tpls + * @param fullProfile Profile to add xp to + */ + protected flagItemsAsInspectedAndRewardXp(itemTpls: string[], fullProfile: ISptProfile): void; /** * Get the tplid of an item from the examine request object * @param request Response request diff --git a/TypeScript/9RouterHooks/types/controllers/LauncherController.d.ts b/TypeScript/9RouterHooks/types/controllers/LauncherController.d.ts index 5a5d4b7..58bc7b2 100644 --- a/TypeScript/9RouterHooks/types/controllers/LauncherController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/LauncherController.d.ts @@ -1,21 +1,21 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { Info, ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IConnectResponse } from "@spt-aki/models/eft/profile/IConnectResponse"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IConnectResponse } from "@spt/models/eft/profile/IConnectResponse"; +import { Info, ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LauncherController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -26,10 +26,10 @@ export declare class LauncherController { protected profileHelper: ProfileHelper; protected databaseServer: DatabaseServer; protected localisationService: LocalisationService; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected configServer: ConfigServer; protected coreConfig: ICoreConfig; - constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preAkiModLoader: PreAkiModLoader, configServer: ConfigServer); + constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, databaseServer: DatabaseServer, localisationService: LocalisationService, preSptModLoader: PreSptModLoader, configServer: ConfigServer); connect(): IConnectResponse; /** * Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness" diff --git a/TypeScript/9RouterHooks/types/controllers/LocationController.d.ts b/TypeScript/9RouterHooks/types/controllers/LocationController.d.ts index 1b04b2e..f1d5e0c 100644 --- a/TypeScript/9RouterHooks/types/controllers/LocationController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/LocationController.d.ts @@ -1,25 +1,25 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LocationGenerator } from "@spt-aki/generators/LocationGenerator"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IAirdropLootResult } from "@spt-aki/models/eft/location/IAirdropLootResult"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RaidTimeAdjustmentService } from "@spt-aki/services/RaidTimeAdjustmentService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LocationGenerator } from "@spt/generators/LocationGenerator"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IAirdropLootResult } from "@spt/models/eft/location/IAirdropLootResult"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IAirdropConfig } from "@spt/models/spt/config/IAirdropConfig"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RaidTimeAdjustmentService } from "@spt/services/RaidTimeAdjustmentService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class LocationController { protected hashUtil: HashUtil; protected randomUtil: RandomUtil; diff --git a/TypeScript/9RouterHooks/types/controllers/MatchController.d.ts b/TypeScript/9RouterHooks/types/controllers/MatchController.d.ts index 20ed9f6..c08ebb0 100644 --- a/TypeScript/9RouterHooks/types/controllers/MatchController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/MatchController.d.ts @@ -1,29 +1,29 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { LootGenerator } from "@spt-aki/generators/LootGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData"; -import { IGetRaidConfigurationRequestData } from "@spt-aki/models/eft/match/IGetRaidConfigurationRequestData"; -import { IMatchGroupStartGameRequest } from "@spt-aki/models/eft/match/IMatchGroupStartGameRequest"; -import { IMatchGroupStatusRequest } from "@spt-aki/models/eft/match/IMatchGroupStatusRequest"; -import { IMatchGroupStatusResponse } from "@spt-aki/models/eft/match/IMatchGroupStatusResponse"; -import { IProfileStatusResponse } from "@spt-aki/models/eft/match/IProfileStatusResponse"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "@spt-aki/models/spt/config/IMatchConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotGenerationCacheService } from "@spt-aki/services/BotGenerationCacheService"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { MatchLocationService } from "@spt-aki/services/MatchLocationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { LootGenerator } from "@spt/generators/LootGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IEndOfflineRaidRequestData } from "@spt/models/eft/match/IEndOfflineRaidRequestData"; +import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData"; +import { IMatchGroupStartGameRequest } from "@spt/models/eft/match/IMatchGroupStartGameRequest"; +import { IMatchGroupStatusRequest } from "@spt/models/eft/match/IMatchGroupStatusRequest"; +import { IMatchGroupStatusResponse } from "@spt/models/eft/match/IMatchGroupStatusResponse"; +import { IProfileStatusResponse } from "@spt/models/eft/match/IProfileStatusResponse"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { IMatchConfig } from "@spt/models/spt/config/IMatchConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotGenerationCacheService } from "@spt/services/BotGenerationCacheService"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { MatchLocationService } from "@spt/services/MatchLocationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchController { protected logger: ILogger; protected saveServer: SaveServer; diff --git a/TypeScript/9RouterHooks/types/controllers/NoteController.d.ts b/TypeScript/9RouterHooks/types/controllers/NoteController.d.ts index ef07d6d..a46a0aa 100644 --- a/TypeScript/9RouterHooks/types/controllers/NoteController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/NoteController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class NoteController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/9RouterHooks/types/controllers/NotifierController.d.ts b/TypeScript/9RouterHooks/types/controllers/NotifierController.d.ts index ad3d025..8939bee 100644 --- a/TypeScript/9RouterHooks/types/controllers/NotifierController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/NotifierController.d.ts @@ -1,7 +1,7 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; -import { NotificationService } from "@spt-aki/services/NotificationService"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; +import { NotificationService } from "@spt/services/NotificationService"; export declare class NotifierController { protected notifierHelper: NotifierHelper; protected httpServerHelper: HttpServerHelper; diff --git a/TypeScript/9RouterHooks/types/controllers/PresetController.d.ts b/TypeScript/9RouterHooks/types/controllers/PresetController.d.ts index 2e40723..0098a41 100644 --- a/TypeScript/9RouterHooks/types/controllers/PresetController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/PresetController.d.ts @@ -1,6 +1,6 @@ -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class PresetController { protected logger: ILogger; protected presetHelper: PresetHelper; diff --git a/TypeScript/9RouterHooks/types/controllers/ProfileController.d.ts b/TypeScript/9RouterHooks/types/controllers/ProfileController.d.ts index 41d8658..e39a632 100644 --- a/TypeScript/9RouterHooks/types/controllers/ProfileController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/ProfileController.d.ts @@ -1,32 +1,32 @@ -import { PlayerScavGenerator } from "@spt-aki/generators/PlayerScavGenerator"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IMiniProfile } from "@spt-aki/models/eft/launcher/IMiniProfile"; -import { GetProfileStatusResponseData } from "@spt-aki/models/eft/profile/GetProfileStatusResponseData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IGetOtherProfileRequest } from "@spt-aki/models/eft/profile/IGetOtherProfileRequest"; -import { IGetOtherProfileResponse } from "@spt-aki/models/eft/profile/IGetOtherProfileResponse"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { PlayerScavGenerator } from "@spt/generators/PlayerScavGenerator"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IMiniProfile } from "@spt/models/eft/launcher/IMiniProfile"; +import { GetProfileStatusResponseData } from "@spt/models/eft/profile/GetProfileStatusResponseData"; +import { IGetOtherProfileRequest } from "@spt/models/eft/profile/IGetOtherProfileRequest"; +import { IGetOtherProfileResponse } from "@spt/models/eft/profile/IGetOtherProfileResponse"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ProfileController { protected logger: ILogger; protected hashUtil: HashUtil; @@ -81,7 +81,7 @@ export declare class ProfileController { * @param sessionID Session id * @param response Event router response */ - protected givePlayerStartingQuestRewards(profileDetails: IAkiProfile, sessionID: string, response: IItemEventRouterResponse): void; + protected givePlayerStartingQuestRewards(profileDetails: ISptProfile, sessionID: string, response: IItemEventRouterResponse): void; /** * For each trader reset their state to what a level 1 player would see * @param sessionID Session id of profile to reset diff --git a/TypeScript/9RouterHooks/types/controllers/QuestController.d.ts b/TypeScript/9RouterHooks/types/controllers/QuestController.d.ts index 1d13a10..0a32b05 100644 --- a/TypeScript/9RouterHooks/types/controllers/QuestController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/QuestController.d.ts @@ -1,32 +1,32 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/9RouterHooks/types/controllers/RagfairController.d.ts b/TypeScript/9RouterHooks/types/controllers/RagfairController.d.ts index 0c01b7d..9567d62 100644 --- a/TypeScript/9RouterHooks/types/controllers/RagfairController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/RagfairController.d.ts @@ -1,44 +1,44 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairOfferHelper } from "@spt-aki/helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "@spt-aki/helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult"; -import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { RagfairTaxService } from "@spt-aki/services/RagfairTaxService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairOfferHelper } from "@spt/helpers/RagfairOfferHelper"; +import { RagfairSellHelper } from "@spt/helpers/RagfairSellHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IAddOfferRequestData, Requirement } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "@spt/models/eft/ragfair/IGetOffersResult"; +import { IGetRagfairOfferByIdRequest } from "@spt/models/eft/ragfair/IGetRagfairOfferByIdRequest"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { RagfairTaxService } from "@spt/services/RagfairTaxService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle RagfairCallback events */ @@ -112,7 +112,7 @@ export declare class RagfairController { * @param offer Flea offer to update * @param fullProfile Players full profile */ - protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: IAkiProfile): void; + protected setTraderOfferPurchaseLimits(offer: IRagfairOffer, fullProfile: ISptProfile): void; /** * Adjust ragfair offer stack count to match same value as traders assort stack count * @param offer Flea offer to adjust stack size of diff --git a/TypeScript/9RouterHooks/types/controllers/RepairController.d.ts b/TypeScript/9RouterHooks/types/controllers/RepairController.d.ts index 7ec47ff..61726ef 100644 --- a/TypeScript/9RouterHooks/types/controllers/RepairController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/RepairController.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RepairService } from "@spt-aki/services/RepairService"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RepairService } from "@spt/services/RepairService"; export declare class RepairController { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/9RouterHooks/types/controllers/RepeatableQuestController.d.ts b/TypeScript/9RouterHooks/types/controllers/RepeatableQuestController.d.ts index ed5343a..e0f3753 100644 --- a/TypeScript/9RouterHooks/types/controllers/RepeatableQuestController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/RepeatableQuestController.d.ts @@ -1,26 +1,26 @@ -import { RepeatableQuestGenerator } from "@spt-aki/generators/RepeatableQuestGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RepeatableQuestGenerator } from "@spt/generators/RepeatableQuestGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { PaymentService } from "@spt/services/PaymentService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RepeatableQuestController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/9RouterHooks/types/controllers/TradeController.d.ts b/TypeScript/9RouterHooks/types/controllers/TradeController.d.ts index e2eadbc..9daed8c 100644 --- a/TypeScript/9RouterHooks/types/controllers/TradeController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/TradeController.d.ts @@ -1,30 +1,30 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TradeHelper } from "@spt-aki/helpers/TradeHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; -import { ISellScavItemsToFenceRequestData } from "@spt-aki/models/eft/trade/ISellScavItemsToFenceRequestData"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TradeHelper } from "@spt/helpers/TradeHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IOfferRequest, IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; +import { ISellScavItemsToFenceRequestData } from "@spt/models/eft/trade/ISellScavItemsToFenceRequestData"; +import { Traders } from "@spt/models/enums/Traders"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TradeController { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/9RouterHooks/types/controllers/TraderController.d.ts b/TypeScript/9RouterHooks/types/controllers/TraderController.d.ts index a8826b4..9a85203 100644 --- a/TypeScript/9RouterHooks/types/controllers/TraderController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/TraderController.d.ts @@ -1,17 +1,17 @@ -import { FenceBaseAssortGenerator } from "@spt-aki/generators/FenceBaseAssortGenerator"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { FenceBaseAssortGenerator } from "@spt/generators/FenceBaseAssortGenerator"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderController { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/9RouterHooks/types/controllers/WeatherController.d.ts b/TypeScript/9RouterHooks/types/controllers/WeatherController.d.ts index e25dc16..7d24954 100644 --- a/TypeScript/9RouterHooks/types/controllers/WeatherController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/WeatherController.d.ts @@ -1,8 +1,8 @@ -import { WeatherGenerator } from "@spt-aki/generators/WeatherGenerator"; -import { IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { WeatherGenerator } from "@spt/generators/WeatherGenerator"; +import { IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class WeatherController { protected weatherGenerator: WeatherGenerator; protected logger: ILogger; diff --git a/TypeScript/9RouterHooks/types/controllers/WishlistController.d.ts b/TypeScript/9RouterHooks/types/controllers/WishlistController.d.ts index 01c4465..ee4d970 100644 --- a/TypeScript/9RouterHooks/types/controllers/WishlistController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/WishlistController.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; export declare class WishlistController { protected eventOutputHolder: EventOutputHolder; constructor(eventOutputHolder: EventOutputHolder); diff --git a/TypeScript/9RouterHooks/types/di/Router.d.ts b/TypeScript/9RouterHooks/types/di/Router.d.ts index 437e55d..01ca547 100644 --- a/TypeScript/9RouterHooks/types/di/Router.d.ts +++ b/TypeScript/9RouterHooks/types/di/Router.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class Router { protected handledRoutes: HandledRoute[]; getTopLevelRoute(): string; @@ -24,7 +24,7 @@ export declare class ItemEventRouterDefinition extends Router { handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string, output: IItemEventRouterResponse): Promise; } export declare class SaveLoadRouter extends Router { - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } export declare class HandledRoute { route: string; diff --git a/TypeScript/9RouterHooks/types/generators/BotEquipmentModGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/BotEquipmentModGenerator.d.ts index f0e9f35..a74010c 100644 --- a/TypeScript/9RouterHooks/types/generators/BotEquipmentModGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/BotEquipmentModGenerator.d.ts @@ -1,29 +1,29 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProbabilityHelper } from "@spt-aki/helpers/ProbabilityHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Mods, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Slot } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ModSpawn } from "@spt-aki/models/enums/ModSpawn"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { BotModLimits, BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProbabilityHelper } from "@spt/helpers/ProbabilityHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Mods, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Slot } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ModSpawn } from "@spt/models/enums/ModSpawn"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { BotModLimits, BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IGenerateEquipmentProperties } from "./BotInventoryGenerator"; import { IFilterPlateModsForSlotByLevelResult } from "./IFilterPlateModsForSlotByLevelResult"; export declare class BotEquipmentModGenerator { diff --git a/TypeScript/9RouterHooks/types/generators/BotGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/BotGenerator.d.ts index 5825dce..49eb70c 100644 --- a/TypeScript/9RouterHooks/types/generators/BotGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/BotGenerator.d.ts @@ -1,24 +1,24 @@ -import { BotInventoryGenerator } from "@spt-aki/generators/BotInventoryGenerator"; -import { BotLevelGenerator } from "@spt-aki/generators/BotLevelGenerator"; -import { BotDifficultyHelper } from "@spt-aki/helpers/BotDifficultyHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Appearance, Health, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentFilterService } from "@spt-aki/services/BotEquipmentFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { BotInventoryGenerator } from "@spt/generators/BotInventoryGenerator"; +import { BotLevelGenerator } from "@spt/generators/BotLevelGenerator"; +import { BotDifficultyHelper } from "@spt/helpers/BotDifficultyHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IBaseJsonSkills, IBaseSkill, IBotBase, Info, Health as PmcHealth, Skills as botSkills } from "@spt/models/eft/common/tables/IBotBase"; +import { Appearance, Health, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentFilterService } from "@spt/services/BotEquipmentFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class BotGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/generators/BotInventoryGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/BotInventoryGenerator.d.ts index 4ecd672..aa9c6cf 100644 --- a/TypeScript/9RouterHooks/types/generators/BotInventoryGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/BotInventoryGenerator.d.ts @@ -1,21 +1,21 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { BotLootGenerator } from "@spt-aki/generators/BotLootGenerator"; -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, IBotType, Inventory, Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotEquipmentModPoolService } from "@spt-aki/services/BotEquipmentModPoolService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { BotLootGenerator } from "@spt/generators/BotLootGenerator"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, IBotType, Inventory, Mods } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { EquipmentFilterDetails, EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotEquipmentModPoolService } from "@spt/services/BotEquipmentModPoolService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotInventoryGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/generators/BotLevelGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/BotLevelGenerator.d.ts index 044c28b..71fad1f 100644 --- a/TypeScript/9RouterHooks/types/generators/BotLevelGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/BotLevelGenerator.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IRandomisedBotLevelResult } from "@spt-aki/models/eft/bot/IRandomisedBotLevelResult"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IRandomisedBotLevelResult } from "@spt/models/eft/bot/IRandomisedBotLevelResult"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLevelGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/9RouterHooks/types/generators/BotLootGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/BotLootGenerator.d.ts index db2327d..4301cea 100644 --- a/TypeScript/9RouterHooks/types/generators/BotLootGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/BotLootGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotWeaponGenerator } from "@spt-aki/generators/BotWeaponGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { IItemSpawnLimitSettings } from "@spt-aki/models/spt/bots/IItemSpawnLimitSettings"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotWeaponGenerator } from "@spt/generators/BotWeaponGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotLootGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/generators/BotWeaponGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/BotWeaponGenerator.d.ts index 87a50f9..42618e1 100644 --- a/TypeScript/9RouterHooks/types/generators/BotWeaponGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/BotWeaponGenerator.d.ts @@ -1,26 +1,26 @@ -import { BotEquipmentModGenerator } from "@spt-aki/generators/BotEquipmentModGenerator"; -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData, Inventory, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "@spt-aki/models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { BotWeaponModLimitService } from "@spt-aki/services/BotWeaponModLimitService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RepairService } from "@spt-aki/services/RepairService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData, Inventory, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { GenerateWeaponResult } from "@spt/models/spt/bots/GenerateWeaponResult"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { BotWeaponModLimitService } from "@spt/services/BotWeaponModLimitService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RepairService } from "@spt/services/RepairService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/generators/FenceBaseAssortGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/FenceBaseAssortGenerator.d.ts index 39df8c0..b8c9266 100644 --- a/TypeScript/9RouterHooks/types/generators/FenceBaseAssortGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/FenceBaseAssortGenerator.d.ts @@ -1,16 +1,17 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class FenceBaseAssortGenerator { protected logger: ILogger; protected hashUtil: HashUtil; @@ -20,10 +21,11 @@ export declare class FenceBaseAssortGenerator { protected presetHelper: PresetHelper; protected itemFilterService: ItemFilterService; protected seasonalEventService: SeasonalEventService; + protected localisationService: LocalisationService; protected configServer: ConfigServer; protected fenceService: FenceService; protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, configServer: ConfigServer, fenceService: FenceService); + constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, itemFilterService: ItemFilterService, seasonalEventService: SeasonalEventService, localisationService: LocalisationService, configServer: ConfigServer, fenceService: FenceService); /** * Create base fence assorts dynamically and store in memory */ diff --git a/TypeScript/9RouterHooks/types/generators/LocationGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/LocationGenerator.d.ts index 9554579..7571e14 100644 --- a/TypeScript/9RouterHooks/types/generators/LocationGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/LocationGenerator.d.ts @@ -1,20 +1,20 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt-aki/models/eft/common/ILooseLoot"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IContainerMinMax, IStaticAmmoDetails, IStaticContainer, IStaticContainerData, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot, Spawnpoint, SpawnpointTemplate, SpawnpointsForced } from "@spt/models/eft/common/ILooseLoot"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export interface IContainerItem { items: Item[]; width: number; diff --git a/TypeScript/9RouterHooks/types/generators/LootGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/LootGenerator.d.ts index f9b40fa..79b8183 100644 --- a/TypeScript/9RouterHooks/types/generators/LootGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/LootGenerator.d.ts @@ -1,20 +1,20 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISealedAirdropContainerSettings, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISealedAirdropContainerSettings, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { LootItem } from "@spt/models/spt/services/LootItem"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; type ItemLimit = { current: number; max: number; diff --git a/TypeScript/9RouterHooks/types/generators/PMCLootGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/PMCLootGenerator.d.ts index a7a36e9..9f6bcdc 100644 --- a/TypeScript/9RouterHooks/types/generators/PMCLootGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/PMCLootGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; /** * Handle the generation of dynamic PMC loot in pockets and backpacks * and the removal of blacklisted items diff --git a/TypeScript/9RouterHooks/types/generators/PlayerScavGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/PlayerScavGenerator.d.ts index 813fd17..da874fc 100644 --- a/TypeScript/9RouterHooks/types/generators/PlayerScavGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/PlayerScavGenerator.d.ts @@ -1,22 +1,22 @@ -import { BotGenerator } from "@spt-aki/generators/BotGenerator"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IBotBase, Skills, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "@spt-aki/models/spt/config/IPlayerScavConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { BotLootCacheService } from "@spt-aki/services/BotLootCacheService"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGenerator } from "@spt/generators/BotGenerator"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IBotBase, Skills, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { IPlayerScavConfig, KarmaLevel } from "@spt/models/spt/config/IPlayerScavConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { BotLootCacheService } from "@spt/services/BotLootCacheService"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PlayerScavGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/9RouterHooks/types/generators/RagfairAssortGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/RagfairAssortGenerator.d.ts index 7b1a786..4c6cf1c 100644 --- a/TypeScript/9RouterHooks/types/generators/RagfairAssortGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/RagfairAssortGenerator.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class RagfairAssortGenerator { protected hashUtil: HashUtil; protected itemHelper: ItemHelper; diff --git a/TypeScript/9RouterHooks/types/generators/RagfairOfferGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/RagfairOfferGenerator.d.ts index 4b4c6ea..e0dd09f 100644 --- a/TypeScript/9RouterHooks/types/generators/RagfairOfferGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/RagfairOfferGenerator.d.ts @@ -1,26 +1,26 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer, OfferRequirement } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer, OfferRequirement } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { Dynamic, IArmorPlateBlacklistSettings, IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferGenerator { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/generators/RepeatableQuestGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/RepeatableQuestGenerator.d.ts index 8c9345d..2b68eef 100644 --- a/TypeScript/9RouterHooks/types/generators/RepeatableQuestGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/RepeatableQuestGenerator.d.ts @@ -1,20 +1,20 @@ -import { RepeatableQuestRewardGenerator } from "@spt-aki/generators/RepeatableQuestRewardGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { RepeatableQuestHelper } from "@spt-aki/helpers/RepeatableQuestHelper"; -import { Exit } from "@spt-aki/models/eft/common/ILocationBase"; -import { TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IQuestCondition, IQuestConditionCounterCondition } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IQuestTypePool } from "@spt-aki/models/spt/repeatable/IQuestTypePool"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { ProbabilityObjectArray, RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { RepeatableQuestRewardGenerator } from "@spt/generators/RepeatableQuestRewardGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { RepeatableQuestHelper } from "@spt/helpers/RepeatableQuestHelper"; +import { Exit } from "@spt/models/eft/common/ILocationBase"; +import { TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { IQuestCondition, IQuestConditionCounterCondition } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IBossInfo, IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IQuestTypePool } from "@spt/models/spt/repeatable/IQuestTypePool"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { ProbabilityObjectArray, RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/9RouterHooks/types/generators/RepeatableQuestRewardGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/RepeatableQuestRewardGenerator.d.ts index a23afd3..ea750dd 100644 --- a/TypeScript/9RouterHooks/types/generators/RepeatableQuestRewardGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/RepeatableQuestRewardGenerator.d.ts @@ -1,20 +1,20 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuestReward, IQuestRewards } from "@spt-aki/models/eft/common/tables/IQuest"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuestReward, IQuestRewards } from "@spt/models/eft/common/tables/IQuest"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBaseQuestConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestRewardGenerator { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/9RouterHooks/types/generators/ScavCaseRewardGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/ScavCaseRewardGenerator.d.ts index aac0f05..f22dcfc 100644 --- a/TypeScript/9RouterHooks/types/generators/ScavCaseRewardGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/ScavCaseRewardGenerator.d.ts @@ -1,18 +1,18 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IScavCaseConfig } from "@spt-aki/models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt-aki/models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IScavCaseConfig } from "@spt/models/spt/config/IScavCaseConfig"; +import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "@spt/models/spt/hideout/ScavCaseRewardCountsAndPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handle the creation of randomised scav case rewards */ diff --git a/TypeScript/9RouterHooks/types/generators/WeatherGenerator.d.ts b/TypeScript/9RouterHooks/types/generators/WeatherGenerator.d.ts index 75cb541..c9ca02a 100644 --- a/TypeScript/9RouterHooks/types/generators/WeatherGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/generators/WeatherGenerator.d.ts @@ -1,13 +1,13 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IWeather, IWeatherData } from "@spt-aki/models/eft/weather/IWeatherData"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SeasonalEventService } from "@spt-aki/services/SeasonalEventService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IWeather, IWeatherData } from "@spt/models/eft/weather/IWeatherData"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SeasonalEventService } from "@spt/services/SeasonalEventService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class WeatherGenerator { protected weightedRandomHelper: WeightedRandomHelper; protected logger: ILogger; diff --git a/TypeScript/9RouterHooks/types/generators/weapongen/IInventoryMagGen.d.ts b/TypeScript/9RouterHooks/types/generators/weapongen/IInventoryMagGen.d.ts index 5586243..07bef8e 100644 --- a/TypeScript/9RouterHooks/types/generators/weapongen/IInventoryMagGen.d.ts +++ b/TypeScript/9RouterHooks/types/generators/weapongen/IInventoryMagGen.d.ts @@ -1,4 +1,4 @@ -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; export interface IInventoryMagGen { getPriority(): number; canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean; diff --git a/TypeScript/9RouterHooks/types/generators/weapongen/InventoryMagGen.d.ts b/TypeScript/9RouterHooks/types/generators/weapongen/InventoryMagGen.d.ts index 778ac53..1db9915 100644 --- a/TypeScript/9RouterHooks/types/generators/weapongen/InventoryMagGen.d.ts +++ b/TypeScript/9RouterHooks/types/generators/weapongen/InventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class InventoryMagGen { private magCounts; private magazineTemplate; diff --git a/TypeScript/9RouterHooks/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts b/TypeScript/9RouterHooks/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts index 3e5e708..caa4d13 100644 --- a/TypeScript/9RouterHooks/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts +++ b/TypeScript/9RouterHooks/types/generators/weapongen/implementations/BarrelInventoryMagGen.d.ts @@ -1,7 +1,7 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BarrelInventoryMagGen implements IInventoryMagGen { protected randomUtil: RandomUtil; protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; diff --git a/TypeScript/9RouterHooks/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts b/TypeScript/9RouterHooks/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts index bc301a1..c2b496f 100644 --- a/TypeScript/9RouterHooks/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts +++ b/TypeScript/9RouterHooks/types/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts @@ -1,12 +1,12 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExternalInventoryMagGen implements IInventoryMagGen { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/9RouterHooks/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts b/TypeScript/9RouterHooks/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts index 70efdb5..5ae7415 100644 --- a/TypeScript/9RouterHooks/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts +++ b/TypeScript/9RouterHooks/types/generators/weapongen/implementations/InternalMagazineInventoryMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class InternalMagazineInventoryMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/9RouterHooks/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts b/TypeScript/9RouterHooks/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts index 02b7748..69d0c49 100644 --- a/TypeScript/9RouterHooks/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts +++ b/TypeScript/9RouterHooks/types/generators/weapongen/implementations/UbglExternalMagGen.d.ts @@ -1,6 +1,6 @@ -import { IInventoryMagGen } from "@spt-aki/generators/weapongen/IInventoryMagGen"; -import { InventoryMagGen } from "@spt-aki/generators/weapongen/InventoryMagGen"; -import { BotWeaponGeneratorHelper } from "@spt-aki/helpers/BotWeaponGeneratorHelper"; +import { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; export declare class UbglExternalMagGen implements IInventoryMagGen { protected botWeaponGeneratorHelper: BotWeaponGeneratorHelper; constructor(botWeaponGeneratorHelper: BotWeaponGeneratorHelper); diff --git a/TypeScript/9RouterHooks/types/helpers/AssortHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/AssortHelper.d.ts index 2ed2174..72d1600 100644 --- a/TypeScript/9RouterHooks/types/helpers/AssortHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/AssortHelper.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class AssortHelper { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/9RouterHooks/types/helpers/BotDifficultyHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/BotDifficultyHelper.d.ts index 07c236e..db6145e 100644 --- a/TypeScript/9RouterHooks/types/helpers/BotDifficultyHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/BotDifficultyHelper.d.ts @@ -1,12 +1,12 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotDifficultyHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/9RouterHooks/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/BotGeneratorHelper.d.ts index c756725..bb3526f 100644 --- a/TypeScript/9RouterHooks/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/BotGeneratorHelper.d.ts @@ -1,20 +1,20 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DurabilityLimitsHelper } from "@spt-aki/helpers/DurabilityLimitsHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { Grid, ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ItemAddedResult } from "@spt-aki/models/enums/ItemAddedResult"; -import { IChooseRandomCompatibleModResult } from "@spt-aki/models/spt/bots/IChooseRandomCompatibleModResult"; -import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { Grid, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult"; +import { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGeneratorHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/9RouterHooks/types/helpers/BotHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/BotHelper.d.ts index eafb081..5e03638 100644 --- a/TypeScript/9RouterHooks/types/helpers/BotHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/BotHelper.d.ts @@ -1,12 +1,12 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Difficulty, IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { IPmcConfig } from "@spt-aki/models/spt/config/IPmcConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Difficulty, IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { EquipmentFilters, IBotConfig, RandomisationDetails } from "@spt/models/spt/config/IBotConfig"; +import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/9RouterHooks/types/helpers/BotWeaponGeneratorHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/BotWeaponGeneratorHelper.d.ts index e38bebc..5ab4e59 100644 --- a/TypeScript/9RouterHooks/types/helpers/BotWeaponGeneratorHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/BotWeaponGeneratorHelper.d.ts @@ -1,16 +1,16 @@ -import { BotGeneratorHelper } from "@spt-aki/helpers/BotGeneratorHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { EquipmentSlots } from "@spt-aki/models/enums/EquipmentSlots"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotWeaponGeneratorHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/9RouterHooks/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts b/TypeScript/9RouterHooks/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts index b9bc597..9817c5b 100644 --- a/TypeScript/9RouterHooks/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/Dialogue/AbstractDialogueChatBot.d.ts @@ -1,9 +1,9 @@ -import { IChatCommand, ICommandoCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { IChatCommand, ICommandoCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare abstract class AbstractDialogueChatBot implements IDialogueChatBot { protected logger: ILogger; protected mailSendService: MailSendService; diff --git a/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/IChatCommand.d.ts b/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/IChatCommand.d.ts index ade0adc..754fd08 100644 --- a/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/IChatCommand.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/IChatCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; /** * @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0. */ diff --git a/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts b/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts index 8626984..bcd2bee 100644 --- a/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommandoCommands.d.ts @@ -1,8 +1,8 @@ -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class SptCommandoCommands implements IChatCommand { protected configServer: ConfigServer; protected sptCommands: ISptCommand[]; diff --git a/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts b/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts index ea765b1..a7491b5 100644 --- a/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.d.ts @@ -1,17 +1,17 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class GiveSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts b/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts index 33732c7..3c55b8e 100644 --- a/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/ISptCommand.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface ISptCommand { getCommand(): string; getCommandHelp(): string; diff --git a/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts b/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts index 191af11..7d3547a 100644 --- a/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.d.ts @@ -1,16 +1,16 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class ProfileSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts b/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts index 7c05112..3cfc7bd 100644 --- a/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.d.ts @@ -1,14 +1,14 @@ -import { SavedCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; -import { ISptCommand } from "@spt-aki/helpers/Dialogue/Commando/SptCommands/ISptCommand"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { SavedCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/GiveCommand/SavedCommand"; +import { ISptCommand } from "@spt/helpers/Dialogue/Commando/SptCommands/ISptCommand"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class TraderSptCommand implements ISptCommand { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/9RouterHooks/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts b/TypeScript/9RouterHooks/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts index 34c3a79..a87bec1 100644 --- a/TypeScript/9RouterHooks/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/Dialogue/CommandoDialogueChatBot.d.ts @@ -1,8 +1,8 @@ -import { AbstractDialogueChatBot } from "@spt-aki/helpers/Dialogue/AbstractDialogueChatBot"; -import { IChatCommand } from "@spt-aki/helpers/Dialogue/Commando/IChatCommand"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { MailSendService } from "@spt-aki/services/MailSendService"; +import { AbstractDialogueChatBot } from "@spt/helpers/Dialogue/AbstractDialogueChatBot"; +import { IChatCommand } from "@spt/helpers/Dialogue/Commando/IChatCommand"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { MailSendService } from "@spt/services/MailSendService"; export declare class CommandoDialogueChatBot extends AbstractDialogueChatBot { constructor(logger: ILogger, mailSendService: MailSendService, chatCommands: IChatCommand[]); getChatBot(): IUserDialogInfo; diff --git a/TypeScript/9RouterHooks/types/helpers/Dialogue/IDialogueChatBot.d.ts b/TypeScript/9RouterHooks/types/helpers/Dialogue/IDialogueChatBot.d.ts index b585d55..0c72041 100644 --- a/TypeScript/9RouterHooks/types/helpers/Dialogue/IDialogueChatBot.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/Dialogue/IDialogueChatBot.d.ts @@ -1,5 +1,5 @@ -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueChatBot { getChatBot(): IUserDialogInfo; handleMessage(sessionId: string, request: ISendMessageRequest): string; diff --git a/TypeScript/9RouterHooks/types/helpers/Dialogue/SptDialogueChatBot.d.ts b/TypeScript/9RouterHooks/types/helpers/Dialogue/SptDialogueChatBot.d.ts index f858ab8..8d3aa97 100644 --- a/TypeScript/9RouterHooks/types/helpers/Dialogue/SptDialogueChatBot.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/Dialogue/SptDialogueChatBot.d.ts @@ -1,13 +1,13 @@ -import { IDialogueChatBot } from "@spt-aki/helpers/Dialogue/IDialogueChatBot"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { IDialogueChatBot } from "@spt/helpers/Dialogue/IDialogueChatBot"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { GiftService } from "@spt/services/GiftService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class SptDialogueChatBot implements IDialogueChatBot { protected profileHelper: ProfileHelper; protected randomUtil: RandomUtil; diff --git a/TypeScript/9RouterHooks/types/helpers/DialogueHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/DialogueHelper.d.ts index 2ad4536..febe696 100644 --- a/TypeScript/9RouterHooks/types/helpers/DialogueHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/DialogueHelper.d.ts @@ -1,13 +1,13 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, MessagePreview } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, MessagePreview } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class DialogueHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/helpers/DurabilityLimitsHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/DurabilityLimitsHelper.d.ts index efccdf5..4cbac6b 100644 --- a/TypeScript/9RouterHooks/types/helpers/DurabilityLimitsHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/DurabilityLimitsHelper.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class DurabilityLimitsHelper { protected randomUtil: RandomUtil; protected botHelper: BotHelper; diff --git a/TypeScript/9RouterHooks/types/helpers/GameEventHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/GameEventHelper.d.ts index 555cda2..b15a15d 100644 --- a/TypeScript/9RouterHooks/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/GameEventHelper.d.ts @@ -1,6 +1,6 @@ -import { ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; protected configServer: ConfigServer; diff --git a/TypeScript/9RouterHooks/types/helpers/HandbookHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/HandbookHelper.d.ts index 276506a..6836875 100644 --- a/TypeScript/9RouterHooks/types/helpers/HandbookHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/HandbookHelper.d.ts @@ -1,9 +1,9 @@ -import { Category } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { Category } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; declare class LookupItem { readonly byId: Map; readonly byParent: Map; @@ -28,7 +28,7 @@ export declare class HandbookHelper { hydrateLookup(): void; /** * Get price from internal cache, if cache empty look up price directly in handbook (expensive) - * If no values found, return 1 + * If no values found, return 0 * @param tpl item tpl to look up price for * @returns price in roubles */ diff --git a/TypeScript/9RouterHooks/types/helpers/HealthHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/HealthHelper.d.ts index 7a42ef1..7fb646c 100644 --- a/TypeScript/9RouterHooks/types/helpers/HealthHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/HealthHelper.d.ts @@ -1,12 +1,12 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { Effects, IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "@spt-aki/models/spt/config/IHealthConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { Effects, ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IHealthConfig } from "@spt/models/spt/config/IHealthConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HealthHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -20,7 +20,7 @@ export declare class HealthHelper { * @param sessionID Session Id * @returns updated profile */ - resetVitality(sessionID: string): IAkiProfile; + resetVitality(sessionID: string): ISptProfile; /** * Update player profile with changes from request object * @param pmcData Player profile diff --git a/TypeScript/9RouterHooks/types/helpers/HideoutHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/HideoutHelper.d.ts index 642c999..33a9729 100644 --- a/TypeScript/9RouterHooks/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/HideoutHelper.d.ts @@ -1,27 +1,27 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IHideoutConfig } from "@spt-aki/models/spt/config/IHideoutConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { HideoutArea, IHideoutImprovement, Production, Productive } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IHideoutConfig } from "@spt/models/spt/config/IHideoutConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HideoutHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/helpers/HttpServerHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/HttpServerHelper.d.ts index feeaf85..9d5e6df 100644 --- a/TypeScript/9RouterHooks/types/helpers/HttpServerHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/HttpServerHelper.d.ts @@ -1,5 +1,5 @@ -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class HttpServerHelper { protected configServer: ConfigServer; protected httpConfig: IHttpConfig; diff --git a/TypeScript/9RouterHooks/types/helpers/InRaidHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/InRaidHelper.d.ts index 9301cf7..45cb9c1 100644 --- a/TypeScript/9RouterHooks/types/helpers/InRaidHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/InRaidHelper.d.ts @@ -1,22 +1,22 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { QuestHelper } from "@spt-aki/helpers/QuestHelper"; -import { IPmcData, IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuestStatus, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileFixerService } from "@spt-aki/services/ProfileFixerService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { QuestHelper } from "@spt/helpers/QuestHelper"; +import { IPmcData, IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuestStatus, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInRaidConfig } from "@spt/models/spt/config/IInRaidConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileFixerService } from "@spt/services/ProfileFixerService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; import { ProfileHelper } from "./ProfileHelper"; export declare class InRaidHelper { protected logger: ILogger; diff --git a/TypeScript/9RouterHooks/types/helpers/InventoryHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/InventoryHelper.d.ts index 9e62f9d..48431a8 100644 --- a/TypeScript/9RouterHooks/types/helpers/InventoryHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/InventoryHelper.d.ts @@ -1,32 +1,32 @@ -import { ContainerHelper } from "@spt-aki/helpers/ContainerHelper"; -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest"; -import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData"; -import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest"; -import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig, RewardDetails } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { ContainerHelper } from "@spt/helpers/ContainerHelper"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Inventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IAddItemDirectRequest } from "@spt/models/eft/inventory/IAddItemDirectRequest"; +import { AddItem } from "@spt/models/eft/inventory/IAddItemRequestData"; +import { IAddItemsDirectRequest } from "@spt/models/eft/inventory/IAddItemsDirectRequest"; +import { IAddItemTempObject } from "@spt/models/eft/inventory/IAddItemTempObject"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IInventoryConfig, RewardDetails } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export interface IOwnerInventoryItems { /** Inventory items from source */ from: Item[]; diff --git a/TypeScript/9RouterHooks/types/helpers/ItemHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/ItemHelper.d.ts index 0779c12..718dcdd 100644 --- a/TypeScript/9RouterHooks/types/helpers/ItemHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/ItemHelper.d.ts @@ -1,22 +1,22 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { IStaticAmmoDetails } from "@spt-aki/models/eft/common/ILocation"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { InsuredItem } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Repairable, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { CompareUtil } from "@spt-aki/utils/CompareUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ObjectId } from "@spt-aki/utils/ObjectId"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { IStaticAmmoDetails } from "@spt/models/eft/common/ILocation"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { InsuredItem } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Repairable, Upd } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { CompareUtil } from "@spt/utils/CompareUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ObjectId } from "@spt/utils/ObjectId"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ItemHelper { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/helpers/NotificationSendHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/NotificationSendHelper.d.ts index 669cbb6..3a74563 100644 --- a/TypeScript/9RouterHooks/types/helpers/NotificationSendHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/NotificationSendHelper.d.ts @@ -1,16 +1,16 @@ -import { Dialogue, IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { AkiWebSocketConnectionHandler } from "@spt-aki/servers/ws/AkiWebSocketConnectionHandler"; -import { NotificationService } from "@spt-aki/services/NotificationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { Dialogue, IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { SptWebSocketConnectionHandler } from "@spt/servers/ws/SptWebSocketConnectionHandler"; +import { NotificationService } from "@spt/services/NotificationService"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class NotificationSendHelper { - protected akiWebSocketConnection: AkiWebSocketConnectionHandler; + protected sptWebSocketConnection: SptWebSocketConnectionHandler; protected hashUtil: HashUtil; protected saveServer: SaveServer; protected notificationService: NotificationService; - constructor(akiWebSocketConnection: AkiWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); + constructor(sptWebSocketConnection: SptWebSocketConnectionHandler, hashUtil: HashUtil, saveServer: SaveServer, notificationService: NotificationService); /** * Send notification message to the appropriate channel * @param sessionID diff --git a/TypeScript/9RouterHooks/types/helpers/NotifierHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/NotifierHelper.d.ts index c691563..b947f1b 100644 --- a/TypeScript/9RouterHooks/types/helpers/NotifierHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/NotifierHelper.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { Message, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsChatMessageReceived } from "@spt-aki/models/eft/ws/IWsChatMessageReceived"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IWsRagfairOfferSold } from "@spt-aki/models/eft/ws/IWsRagfairOfferSold"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { Message, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { IWsChatMessageReceived } from "@spt/models/eft/ws/IWsChatMessageReceived"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IWsRagfairOfferSold } from "@spt/models/eft/ws/IWsRagfairOfferSold"; export declare class NotifierHelper { protected httpServerHelper: HttpServerHelper; /** diff --git a/TypeScript/9RouterHooks/types/helpers/PaymentHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/PaymentHelper.d.ts index 04d4163..6971547 100644 --- a/TypeScript/9RouterHooks/types/helpers/PaymentHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/PaymentHelper.d.ts @@ -1,5 +1,5 @@ -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class PaymentHelper { protected configServer: ConfigServer; protected inventoryConfig: IInventoryConfig; diff --git a/TypeScript/9RouterHooks/types/helpers/PresetHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/PresetHelper.d.ts index a2d3d47..937e225 100644 --- a/TypeScript/9RouterHooks/types/helpers/PresetHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/PresetHelper.d.ts @@ -1,7 +1,7 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { BaseClasses } from "@spt-aki/models/enums/BaseClasses"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { BaseClasses } from "@spt/models/enums/BaseClasses"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; import { ItemHelper } from "./ItemHelper"; export declare class PresetHelper { protected databaseServer: DatabaseServer; diff --git a/TypeScript/9RouterHooks/types/helpers/ProbabilityHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/ProbabilityHelper.d.ts index 8aceb67..fa12125 100644 --- a/TypeScript/9RouterHooks/types/helpers/ProbabilityHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/ProbabilityHelper.d.ts @@ -1,5 +1,5 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ProbabilityHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/9RouterHooks/types/helpers/ProfileHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/ProfileHelper.d.ts index 9e0c467..298ec55 100644 --- a/TypeScript/9RouterHooks/types/helpers/ProfileHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/ProfileHelper.d.ts @@ -1,20 +1,20 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, CounterKeyValue, Stats } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ProfileSnapshotService } from "@spt-aki/services/ProfileSnapshotService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, CounterKeyValue, Stats } from "@spt/models/eft/common/tables/IBotBase"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ProfileSnapshotService } from "@spt/services/ProfileSnapshotService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileHelper { protected logger: ILogger; protected hashUtil: HashUtil; @@ -39,7 +39,7 @@ export declare class ProfileHelper { * Get all profiles from server * @returns Dictionary of profiles */ - getProfiles(): Record; + getProfiles(): Record; /** * Get the pmc and scav profiles as an array by profile id * @param sessionID @@ -66,7 +66,7 @@ export declare class ProfileHelper { * @returns True if already used */ isNicknameTaken(nicknameRequest: IValidateNicknameRequestData, sessionID: string): boolean; - protected profileHasInfoProperty(profile: IAkiProfile): boolean; + protected profileHasInfoProperty(profile: ISptProfile): boolean; protected stringsMatch(stringA: string, stringB: string): boolean; /** * Add experience to a PMC inside the players profile @@ -91,13 +91,13 @@ export declare class ProfileHelper { * @returns Max level */ getMaxLevel(): number; - getDefaultAkiDataObject(): any; + getDefaultSptDataObject(): any; /** * Get full representation of a players profile json * @param sessionID Profile id to get - * @returns IAkiProfile object + * @returns ISptProfile object */ - getFullProfile(sessionID: string): IAkiProfile; + getFullProfile(sessionID: string): ISptProfile; /** * Get a PMC profile by its session id * @param sessionID Profile id to return @@ -130,7 +130,7 @@ export declare class ProfileHelper { removeSecureContainer(profile: IPmcData): IPmcData; /** * Flag a profile as having received a gift - * Store giftid in profile aki object + * Store giftid in profile spt object * @param playerId Player to add gift flag to * @param giftId Gift player received */ diff --git a/TypeScript/9RouterHooks/types/helpers/QuestConditionHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/QuestConditionHelper.d.ts index afb76f2..c50a9c3 100644 --- a/TypeScript/9RouterHooks/types/helpers/QuestConditionHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/QuestConditionHelper.d.ts @@ -1,4 +1,4 @@ -import { IQuestCondition } from "@spt-aki/models/eft/common/tables/IQuest"; +import { IQuestCondition } from "@spt/models/eft/common/tables/IQuest"; export declare class QuestConditionHelper { getQuestConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; getLevelConditions(q: IQuestCondition[], furtherFilter?: (a: IQuestCondition) => IQuestCondition[]): IQuestCondition[]; diff --git a/TypeScript/9RouterHooks/types/helpers/QuestHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/QuestHelper.d.ts index 75aaf01..39ba2a9 100644 --- a/TypeScript/9RouterHooks/types/helpers/QuestHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/QuestHelper.d.ts @@ -1,30 +1,30 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { QuestConditionHelper } from "@spt-aki/helpers/QuestConditionHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Common, IQuestStatus } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest, IQuestCondition, IQuestReward } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { IFailQuestRequestData } from "@spt-aki/models/eft/quests/IFailQuestRequestData"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { QuestConditionHelper } from "@spt/helpers/QuestConditionHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Common, IQuestStatus } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IQuest, IQuestCondition, IQuestReward } from "@spt/models/eft/common/tables/IQuest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { IFailQuestRequestData } from "@spt/models/eft/quests/IFailQuestRequestData"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class QuestHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -272,4 +272,10 @@ export declare class QuestHelper { * @returns array of IQuest objects */ getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; + /** + * Get the hours a mails items can be collected for by profile type + * @param pmcData Profile to get hours for + * @returns Hours item will be available for + */ + getMailItemRedeemTimeHoursForProfile(pmcData: IPmcData): number; } diff --git a/TypeScript/9RouterHooks/types/helpers/RagfairHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/RagfairHelper.d.ts index e322b4d..cab2148 100644 --- a/TypeScript/9RouterHooks/types/helpers/RagfairHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/RagfairHelper.d.ts @@ -1,16 +1,16 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { UtilityHelper } from "@spt-aki/helpers/UtilityHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairLinkedItemService } from "@spt-aki/services/RagfairLinkedItemService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { UtilityHelper } from "@spt/helpers/UtilityHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairLinkedItemService } from "@spt/services/RagfairLinkedItemService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RagfairHelper { protected logger: ILogger; protected traderAssortHelper: TraderAssortHelper; diff --git a/TypeScript/9RouterHooks/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/RagfairOfferHelper.d.ts index 31bdc05..f8f7661 100644 --- a/TypeScript/9RouterHooks/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/RagfairOfferHelper.d.ts @@ -1,32 +1,33 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairHelper } from "@spt-aki/helpers/RagfairHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { RagfairSortHelper } from "@spt-aki/helpers/RagfairSortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairHelper } from "@spt/helpers/RagfairHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { RagfairSortHelper } from "@spt/helpers/RagfairSortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { QuestHelper } from "./QuestHelper"; export declare class RagfairOfferHelper { protected logger: ILogger; protected timeUtil: TimeUtil; @@ -39,6 +40,7 @@ export declare class RagfairOfferHelper { protected paymentHelper: PaymentHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; + protected questHelper: QuestHelper; protected ragfairServerHelper: RagfairServerHelper; protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; @@ -51,7 +53,7 @@ export declare class RagfairOfferHelper { protected static goodSoldTemplate: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, eventOutputHolder: EventOutputHolder, databaseServer: DatabaseServer, traderHelper: TraderHelper, saveServer: SaveServer, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, localeService: LocaleService, localisationService: LocalisationService, mailSendService: MailSendService, configServer: ConfigServer); /** * Passthrough to ragfairOfferService.getOffers(), get flea offers a player should see * @param searchRequest Data from client @@ -121,7 +123,7 @@ export declare class RagfairOfferHelper { * @param sessionId Profile to update * @param amountToIncrementBy Raw amount to add to players ragfair rating (excluding the reputation gain multiplier) */ - increaseProfileRagfairRating(profile: IAkiProfile, amountToIncrementBy: number): void; + increaseProfileRagfairRating(profile: ISptProfile, amountToIncrementBy: number): void; /** * Return all offers a player has listed on a desired profile * @param sessionID Session id diff --git a/TypeScript/9RouterHooks/types/helpers/RagfairSellHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/RagfairSellHelper.d.ts index 7a4de8a..d694d6a 100644 --- a/TypeScript/9RouterHooks/types/helpers/RagfairSellHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/RagfairSellHelper.d.ts @@ -1,10 +1,10 @@ -import { SellResult } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SellResult } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairSellHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/9RouterHooks/types/helpers/RagfairServerHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/RagfairServerHelper.d.ts index 33f81d0..a8133a6 100644 --- a/TypeScript/9RouterHooks/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/RagfairServerHelper.d.ts @@ -1,23 +1,23 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { ItemFilterService } from "@spt-aki/services/ItemFilterService"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { ItemFilterService } from "@spt/services/ItemFilterService"; +import { LocaleService } from "@spt/services/LocaleService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Helper class for common ragfair server actions */ diff --git a/TypeScript/9RouterHooks/types/helpers/RagfairSortHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/RagfairSortHelper.d.ts index 5bd8f96..2de0045 100644 --- a/TypeScript/9RouterHooks/types/helpers/RagfairSortHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/RagfairSortHelper.d.ts @@ -1,7 +1,7 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; protected localeService: LocaleService; diff --git a/TypeScript/9RouterHooks/types/helpers/RepairHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/RepairHelper.d.ts index 30a56a6..4bd0577 100644 --- a/TypeScript/9RouterHooks/types/helpers/RepairHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/RepairHelper.d.ts @@ -1,11 +1,11 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairHelper { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/9RouterHooks/types/helpers/RepeatableQuestHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/RepeatableQuestHelper.d.ts index 8f9ac7b..d92657e 100644 --- a/TypeScript/9RouterHooks/types/helpers/RepeatableQuestHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/RepeatableQuestHelper.d.ts @@ -1,8 +1,8 @@ -import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { ProbabilityObject, ProbabilityObjectArray } from "@spt-aki/utils/RandomUtil"; +import { IEliminationConfig, IQuestConfig, IRepeatableQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { ProbabilityObject, ProbabilityObjectArray } from "@spt/utils/RandomUtil"; export declare class RepeatableQuestHelper { protected mathUtil: MathUtil; protected configServer: ConfigServer; diff --git a/TypeScript/9RouterHooks/types/helpers/SecureContainerHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/SecureContainerHelper.d.ts index 36b227c..b6bcffe 100644 --- a/TypeScript/9RouterHooks/types/helpers/SecureContainerHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/SecureContainerHelper.d.ts @@ -1,5 +1,5 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface OwnerInventoryItems { from: Item[]; to: Item[]; diff --git a/TypeScript/9RouterHooks/types/helpers/TradeHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/TradeHelper.d.ts index 3dc7ffb..7bb999c 100644 --- a/TypeScript/9RouterHooks/types/helpers/TradeHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/TradeHelper.d.ts @@ -1,24 +1,24 @@ -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { IInventoryConfig } from "@spt-aki/models/spt/config/IInventoryConfig"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { RagfairServer } from "@spt-aki/servers/RagfairServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { RagfairServer } from "@spt/servers/RagfairServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class TradeHelper { protected logger: ILogger; protected eventOutputHolder: EventOutputHolder; diff --git a/TypeScript/9RouterHooks/types/helpers/TraderAssortHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/TraderAssortHelper.d.ts index 33c4c83..50f6933 100644 --- a/TypeScript/9RouterHooks/types/helpers/TraderAssortHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/TraderAssortHelper.d.ts @@ -1,22 +1,22 @@ -import { RagfairAssortGenerator } from "@spt-aki/generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { AssortHelper } from "@spt-aki/helpers/AssortHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITrader, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TraderAssortService } from "@spt-aki/services/TraderAssortService"; -import { TraderPurchasePersisterService } from "@spt-aki/services/TraderPurchasePersisterService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { RagfairAssortGenerator } from "@spt/generators/RagfairAssortGenerator"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { AssortHelper } from "@spt/helpers/AssortHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITrader, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TraderAssortService } from "@spt/services/TraderAssortService"; +import { TraderPurchasePersisterService } from "@spt/services/TraderPurchasePersisterService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderAssortHelper { protected logger: ILogger; protected mathUtil: MathUtil; diff --git a/TypeScript/9RouterHooks/types/helpers/TraderHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/TraderHelper.d.ts index 256ebf8..aca9d87 100644 --- a/TypeScript/9RouterHooks/types/helpers/TraderHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/TraderHelper.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ProfileTraderTemplate } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { FenceService } from "@spt-aki/services/FenceService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PlayerService } from "@spt-aki/services/PlayerService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ProfileTraderTemplate } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { ITraderAssort, ITraderBase, LoyaltyLevel } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { FenceService } from "@spt/services/FenceService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PlayerService } from "@spt/services/PlayerService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class TraderHelper { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/9RouterHooks/types/loaders/BundleLoader.d.ts b/TypeScript/9RouterHooks/types/loaders/BundleLoader.d.ts index fc7ee2b..e270988 100644 --- a/TypeScript/9RouterHooks/types/loaders/BundleLoader.d.ts +++ b/TypeScript/9RouterHooks/types/loaders/BundleLoader.d.ts @@ -1,8 +1,8 @@ -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { BundleHashCacheService } from "@spt-aki/services/cache/BundleHashCacheService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { BundleHashCacheService } from "@spt/services/cache/BundleHashCacheService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleInfo { modpath: string; filename: string; diff --git a/TypeScript/9RouterHooks/types/loaders/ModLoadOrder.d.ts b/TypeScript/9RouterHooks/types/loaders/ModLoadOrder.d.ts index 2d03dc1..039f648 100644 --- a/TypeScript/9RouterHooks/types/loaders/ModLoadOrder.d.ts +++ b/TypeScript/9RouterHooks/types/loaders/ModLoadOrder.d.ts @@ -1,6 +1,6 @@ -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class ModLoadOrder { protected logger: ILogger; protected localisationService: LocalisationService; diff --git a/TypeScript/9RouterHooks/types/loaders/ModTypeCheck.d.ts b/TypeScript/9RouterHooks/types/loaders/ModTypeCheck.d.ts index fb4912e..f66ec45 100644 --- a/TypeScript/9RouterHooks/types/loaders/ModTypeCheck.d.ts +++ b/TypeScript/9RouterHooks/types/loaders/ModTypeCheck.d.ts @@ -1,40 +1,40 @@ -import { IPostAkiLoadMod } from "@spt-aki/models/external/IPostAkiLoadMod"; -import { IPostAkiLoadModAsync } from "@spt-aki/models/external/IPostAkiLoadModAsync"; -import { IPostDBLoadMod } from "@spt-aki/models/external/IPostDBLoadMod"; -import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync"; -import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; -import { IPreAkiLoadModAsync } from "@spt-aki/models/external/IPreAkiLoadModAsync"; +import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod"; +import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { IPostSptLoadModAsync } from "@spt/models/external/IPostSptLoadModAsync"; +import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod"; +import { IPreSptLoadModAsync } from "@spt/models/external/IPreSptLoadModAsync"; export declare class ModTypeCheck { /** - * Use defined safe guard to check if the mod is a IPreAkiLoadMod + * Use defined safe guard to check if the mod is a IPreSptLoadMod * @returns boolean */ - isPreAkiLoad(mod: any): mod is IPreAkiLoadMod; + isPreSptLoad(mod: any): mod is IPreSptLoadMod; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadMod + * Use defined safe guard to check if the mod is a IPostSptLoadMod * @returns boolean */ - isPostAkiLoad(mod: any): mod is IPostAkiLoadMod; + isPostSptLoad(mod: any): mod is IPostSptLoadMod; /** * Use defined safe guard to check if the mod is a IPostDBLoadMod * @returns boolean */ - isPostDBAkiLoad(mod: any): mod is IPostDBLoadMod; + isPostDBLoad(mod: any): mod is IPostDBLoadMod; /** - * Use defined safe guard to check if the mod is a IPreAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPreSptLoadModAsync * @returns boolean */ - isPreAkiLoadAsync(mod: any): mod is IPreAkiLoadModAsync; + isPreSptLoadAsync(mod: any): mod is IPreSptLoadModAsync; /** - * Use defined safe guard to check if the mod is a IPostAkiLoadModAsync + * Use defined safe guard to check if the mod is a IPostSptLoadModAsync * @returns boolean */ - isPostAkiLoadAsync(mod: any): mod is IPostAkiLoadModAsync; + isPostSptLoadAsync(mod: any): mod is IPostSptLoadModAsync; /** * Use defined safe guard to check if the mod is a IPostDBLoadModAsync * @returns boolean */ - isPostDBAkiLoadAsync(mod: any): mod is IPostDBLoadModAsync; + isPostDBLoadAsync(mod: any): mod is IPostDBLoadModAsync; /** * Checks for mod to be compatible with 3.X+ * @returns boolean diff --git a/TypeScript/9RouterHooks/types/loaders/PostAkiModLoader.d.ts b/TypeScript/9RouterHooks/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index 8219fc4..0000000 --- a/TypeScript/9RouterHooks/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -export declare class PostAkiModLoader implements IModLoader { - protected logger: ILogger; - protected preAkiModLoader: PreAkiModLoader; - protected localisationService: LocalisationService; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - constructor(logger: ILogger, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); - getModPath(mod: string): string; - load(): Promise; - protected executeModsAsync(): Promise; -} diff --git a/TypeScript/9RouterHooks/types/loaders/PostDBModLoader.d.ts b/TypeScript/9RouterHooks/types/loaders/PostDBModLoader.d.ts index 1adac53..b0c4bf4 100644 --- a/TypeScript/9RouterHooks/types/loaders/PostDBModLoader.d.ts +++ b/TypeScript/9RouterHooks/types/loaders/PostDBModLoader.d.ts @@ -1,18 +1,18 @@ import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { PreAkiModLoader } from "@spt-aki/loaders/PreAkiModLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { OnLoad } from "@spt/di/OnLoad"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class PostDBModLoader implements OnLoad { protected logger: ILogger; protected bundleLoader: BundleLoader; - protected preAkiModLoader: PreAkiModLoader; + protected preSptModLoader: PreSptModLoader; protected localisationService: LocalisationService; protected modTypeCheck: ModTypeCheck; protected container: DependencyContainer; - constructor(logger: ILogger, bundleLoader: BundleLoader, preAkiModLoader: PreAkiModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + constructor(logger: ILogger, bundleLoader: BundleLoader, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); onLoad(): Promise; getRoute(): string; getModPath(mod: string): string; diff --git a/TypeScript/9RouterHooks/types/loaders/PostSptModLoader.d.ts b/TypeScript/9RouterHooks/types/loaders/PostSptModLoader.d.ts new file mode 100644 index 0000000..fb54579 --- /dev/null +++ b/TypeScript/9RouterHooks/types/loaders/PostSptModLoader.d.ts @@ -0,0 +1,17 @@ +import { DependencyContainer } from "tsyringe"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { PreSptModLoader } from "@spt/loaders/PreSptModLoader"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +export declare class PostSptModLoader implements IModLoader { + protected logger: ILogger; + protected preSptModLoader: PreSptModLoader; + protected localisationService: LocalisationService; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + constructor(logger: ILogger, preSptModLoader: PreSptModLoader, localisationService: LocalisationService, modTypeCheck: ModTypeCheck); + getModPath(mod: string): string; + load(): Promise; + protected executeModsAsync(): Promise; +} diff --git a/TypeScript/9RouterHooks/types/loaders/PreAkiModLoader.d.ts b/TypeScript/9RouterHooks/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 0d297d9..0000000 --- a/TypeScript/9RouterHooks/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ModLoadOrder } from "@spt-aki/loaders/ModLoadOrder"; -import { ModTypeCheck } from "@spt-aki/loaders/ModTypeCheck"; -import { ModDetails } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IModLoader } from "@spt-aki/models/spt/mod/IModLoader"; -import { IPackageJsonData } from "@spt-aki/models/spt/mod/IPackageJsonData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ModCompilerService } from "@spt-aki/services/ModCompilerService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected modLoadOrder: ModLoadOrder; - protected modTypeCheck: ModTypeCheck; - protected container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected readonly modOrderPath = "user/mods/order.json"; - protected order: Record; - protected imported: Record; - protected akiConfig: ICoreConfig; - protected serverDependencies: Record; - protected skippedMods: Set; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); - load(container: DependencyContainer): Promise; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getImportedModDetails(): Record; - getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; - getModPath(mod: string): string; - protected importModsAsync(): Promise; - protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; - /** - * Check for duplicate mods loaded, show error if any - * @param modPackageData map of mod package.json data - */ - protected checkForDuplicateMods(modPackageData: Map): void; - /** - * Returns an array of valid mods. - * - * @param mods mods to validate - * @returns array of mod folder names - */ - protected getValidMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns map - */ - protected getModsPackageData(mods: string[]): Map; - /** - * Is the passed in mod compatible with the running server version - * @param mod Mod to check compatibiltiy with AKI - * @returns True if compatible - */ - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - /** - * Execute each mod found in this.imported - * @returns void promise - */ - protected executeModsAsync(): Promise; - /** - * Read loadorder.json (create if doesnt exist) and return sorted list of mods - * @returns string array of sorted mod names - */ - sortModsLoadOrder(): string[]; - /** - * Compile mod and add into class property "imported" - * @param mod Name of mod to compile/add - */ - protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; - /** - * Checks if a given mod should be loaded or skipped. - * - * @param pkg mod package.json data - * @returns - */ - protected shouldSkipMod(pkg: IPackageJsonData): boolean; - protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; - /** - * Validate a mod passes a number of checks - * @param modName name of mod in /mods/ to validate - * @returns true if valid - */ - protected validMod(modName: string): boolean; - getContainer(): DependencyContainer; -} diff --git a/TypeScript/9RouterHooks/types/loaders/PreSptModLoader.d.ts b/TypeScript/9RouterHooks/types/loaders/PreSptModLoader.d.ts new file mode 100644 index 0000000..bc846c8 --- /dev/null +++ b/TypeScript/9RouterHooks/types/loaders/PreSptModLoader.d.ts @@ -0,0 +1,99 @@ +import { DependencyContainer } from "tsyringe"; +import { ModLoadOrder } from "@spt/loaders/ModLoadOrder"; +import { ModTypeCheck } from "@spt/loaders/ModTypeCheck"; +import { ModDetails } from "@spt/models/eft/profile/ISptProfile"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IModLoader } from "@spt/models/spt/mod/IModLoader"; +import { IPackageJsonData } from "@spt/models/spt/mod/IPackageJsonData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ModCompilerService } from "@spt/services/ModCompilerService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; +export declare class PreSptModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected modLoadOrder: ModLoadOrder; + protected modTypeCheck: ModTypeCheck; + protected container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected readonly modOrderPath = "user/mods/order.json"; + protected order: Record; + protected imported: Record; + protected sptConfig: ICoreConfig; + protected serverDependencies: Record; + protected skippedMods: Set; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, localisationService: LocalisationService, configServer: ConfigServer, modLoadOrder: ModLoadOrder, modTypeCheck: ModTypeCheck); + load(container: DependencyContainer): Promise; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getImportedModDetails(): Record; + getProfileModsGroupedByModName(profileMods: ModDetails[]): ModDetails[]; + getModPath(mod: string): string; + protected importModsAsync(): Promise; + protected sortMods(prev: string, next: string, missingFromOrderJSON: Record): number; + /** + * Check for duplicate mods loaded, show error if any + * @param modPackageData map of mod package.json data + */ + protected checkForDuplicateMods(modPackageData: Map): void; + /** + * Returns an array of valid mods. + * + * @param mods mods to validate + * @returns array of mod folder names + */ + protected getValidMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns map + */ + protected getModsPackageData(mods: string[]): Map; + /** + * Is the passed in mod compatible with the running server version + * @param mod Mod to check compatibiltiy with SPT + * @returns True if compatible + */ + protected isModCombatibleWithSpt(mod: IPackageJsonData): boolean; + /** + * Execute each mod found in this.imported + * @returns void promise + */ + protected executeModsAsync(): Promise; + /** + * Read loadorder.json (create if doesnt exist) and return sorted list of mods + * @returns string array of sorted mod names + */ + sortModsLoadOrder(): string[]; + /** + * Compile mod and add into class property "imported" + * @param mod Name of mod to compile/add + */ + protected addModAsync(mod: string, pkg: IPackageJsonData): Promise; + /** + * Checks if a given mod should be loaded or skipped. + * + * @param pkg mod package.json data + * @returns + */ + protected shouldSkipMod(pkg: IPackageJsonData): boolean; + protected autoInstallDependencies(modPath: string, pkg: IPackageJsonData): void; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Map): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Map): boolean; + /** + * Validate a mod passes a number of checks + * @param modName name of mod in /mods/ to validate + * @returns true if valid + */ + protected validMod(modName: string): boolean; + getContainer(): DependencyContainer; +} diff --git a/TypeScript/9RouterHooks/types/models/eft/builds/ISetMagazineRequest.d.ts b/TypeScript/9RouterHooks/types/models/eft/builds/ISetMagazineRequest.d.ts index 4b002e8..87dab41 100644 --- a/TypeScript/9RouterHooks/types/models/eft/builds/ISetMagazineRequest.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/builds/ISetMagazineRequest.d.ts @@ -1,4 +1,4 @@ -import { IMagazineTemplateAmmoItem } from "../profile/IAkiProfile"; +import { IMagazineTemplateAmmoItem } from "../profile/ISptProfile"; export interface ISetMagazineRequest { Id: string; Name: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/common/IGlobals.d.ts b/TypeScript/9RouterHooks/types/models/eft/common/IGlobals.d.ts index 2c12570..2209415 100644 --- a/TypeScript/9RouterHooks/types/models/eft/common/IGlobals.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/common/IGlobals.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGlobals { time: number; config: IConfig; diff --git a/TypeScript/9RouterHooks/types/models/eft/common/ILocation.d.ts b/TypeScript/9RouterHooks/types/models/eft/common/ILocation.d.ts index a2ac6d3..bf4c58a 100644 --- a/TypeScript/9RouterHooks/types/models/eft/common/ILocation.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/common/ILocation.d.ts @@ -1,5 +1,5 @@ -import { Exit, ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILooseLoot } from "@spt-aki/models/eft/common/ILooseLoot"; +import { Exit, ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILooseLoot } from "@spt/models/eft/common/ILooseLoot"; import { Ixyz } from "./Ixyz"; import { Item } from "./tables/IItem"; export interface ILocation { diff --git a/TypeScript/9RouterHooks/types/models/eft/common/ILocationBase.d.ts b/TypeScript/9RouterHooks/types/models/eft/common/ILocationBase.d.ts index 68f37ae..65931f8 100644 --- a/TypeScript/9RouterHooks/types/models/eft/common/ILocationBase.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/common/ILocationBase.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ILocationBase { AccessKeys: string[]; AirdropParameters: AirdropParameter[]; diff --git a/TypeScript/9RouterHooks/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/TypeScript/9RouterHooks/types/models/eft/common/ILocationsSourceDestinationBase.d.ts index 1e8d80c..e6bc8ee 100644 --- a/TypeScript/9RouterHooks/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/common/ILocationsSourceDestinationBase.d.ts @@ -1,4 +1,4 @@ -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; +import { ILocations } from "@spt/models/spt/server/ILocations"; export interface ILocationsGenerateAllResponse { locations: ILocations; paths: Path[]; diff --git a/TypeScript/9RouterHooks/types/models/eft/common/ILooseLoot.d.ts b/TypeScript/9RouterHooks/types/models/eft/common/ILooseLoot.d.ts index 0dce230..b5b538c 100644 --- a/TypeScript/9RouterHooks/types/models/eft/common/ILooseLoot.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/common/ILooseLoot.d.ts @@ -1,5 +1,5 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface ILooseLoot { spawnpointCount: SpawnpointCount; spawnpointsForced: SpawnpointsForced[]; diff --git a/TypeScript/9RouterHooks/types/models/eft/common/IPmcData.d.ts b/TypeScript/9RouterHooks/types/models/eft/common/IPmcData.d.ts index a9594d6..313a92c 100644 --- a/TypeScript/9RouterHooks/types/models/eft/common/IPmcData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/common/IPmcData.d.ts @@ -1,4 +1,4 @@ -import { IBotBase, IEftStats } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { IBotBase, IEftStats } from "@spt/models/eft/common/tables/IBotBase"; export interface IPmcData extends IBotBase { } export interface IPostRaidPmcData extends IBotBase { diff --git a/TypeScript/9RouterHooks/types/models/eft/common/tables/IBotBase.d.ts b/TypeScript/9RouterHooks/types/models/eft/common/tables/IBotBase.d.ts index bf7aa6c..8c747fc 100644 --- a/TypeScript/9RouterHooks/types/models/eft/common/tables/IBotBase.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/common/tables/IBotBase.d.ts @@ -1,11 +1,11 @@ -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; export interface IBotBase { _id: string; aid: number; diff --git a/TypeScript/9RouterHooks/types/models/eft/common/tables/IBotType.d.ts b/TypeScript/9RouterHooks/types/models/eft/common/tables/IBotType.d.ts index 2a00af9..074a7d6 100644 --- a/TypeScript/9RouterHooks/types/models/eft/common/tables/IBotType.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/common/tables/IBotType.d.ts @@ -1,5 +1,5 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IBotType { appearance: Appearance; chances: Chances; diff --git a/TypeScript/9RouterHooks/types/models/eft/common/tables/ICustomizationItem.d.ts b/TypeScript/9RouterHooks/types/models/eft/common/tables/ICustomizationItem.d.ts index 2bab177..3883765 100644 --- a/TypeScript/9RouterHooks/types/models/eft/common/tables/ICustomizationItem.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/common/tables/ICustomizationItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ICustomizationItem { _id: string; _name: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/common/tables/IProfileTemplate.d.ts b/TypeScript/9RouterHooks/types/models/eft/common/tables/IProfileTemplate.d.ts index dde1a39..4d73192 100644 --- a/TypeScript/9RouterHooks/types/models/eft/common/tables/IProfileTemplate.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Dialogue, IUserBuilds } from "@spt/models/eft/profile/ISptProfile"; export interface IProfileTemplates { "Standard": IProfileSides; "Left Behind": IProfileSides; diff --git a/TypeScript/9RouterHooks/types/models/eft/common/tables/IQuest.d.ts b/TypeScript/9RouterHooks/types/models/eft/common/tables/IQuest.d.ts index 74af5ef..54ff191 100644 --- a/TypeScript/9RouterHooks/types/models/eft/common/tables/IQuest.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/common/tables/IQuest.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { QuestRewardType } from "@spt-aki/models/enums/QuestRewardType"; -import { QuestStatus } from "@spt-aki/models/enums/QuestStatus"; -import { QuestTypeEnum } from "@spt-aki/models/enums/QuestTypeEnum"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { QuestRewardType } from "@spt/models/enums/QuestRewardType"; +import { QuestStatus } from "@spt/models/enums/QuestStatus"; +import { QuestTypeEnum } from "@spt/models/enums/QuestTypeEnum"; export interface IQuest { /** SPT addition - human readable quest name */ QuestName?: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/9RouterHooks/types/models/eft/common/tables/ITemplateItem.d.ts index 0871d1a..32bc9fc 100644 --- a/TypeScript/9RouterHooks/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/common/tables/ITemplateItem.d.ts @@ -1,4 +1,4 @@ -import { Ixyz } from "@spt-aki/models/eft/common/Ixyz"; +import { Ixyz } from "@spt/models/eft/common/Ixyz"; export interface ITemplateItem { _id: string; _name: string; @@ -354,7 +354,7 @@ export interface Props { casingSounds?: string; ProjectileCount?: number; PenetrationChanceObstacle?: number; - PenetrationDamageMod: number; + PenetrationDamageMod?: number; RicochetChance?: number; FragmentationChance?: number; Deterioration?: number; diff --git a/TypeScript/9RouterHooks/types/models/eft/common/tables/ITrader.d.ts b/TypeScript/9RouterHooks/types/models/eft/common/tables/ITrader.d.ts index 38f2a43..14ab409 100644 --- a/TypeScript/9RouterHooks/types/models/eft/common/tables/ITrader.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/common/tables/ITrader.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; export interface ITrader { assort?: ITraderAssort; base: ITraderBase; diff --git a/TypeScript/9RouterHooks/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/TypeScript/9RouterHooks/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts index 2ddcf83..9bcfead 100644 --- a/TypeScript/9RouterHooks/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts @@ -1,4 +1,4 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetAllAttachmentsResponse { messages: Message[]; profiles: any[]; diff --git a/TypeScript/9RouterHooks/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/TypeScript/9RouterHooks/types/models/eft/dialog/IGetFriendListDataResponse.d.ts index 271be79..a11dbb3 100644 --- a/TypeScript/9RouterHooks/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/dialog/IGetFriendListDataResponse.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IGetFriendListDataResponse { Friends: IUserDialogInfo[]; Ignore: string[]; diff --git a/TypeScript/9RouterHooks/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts index 3a2e349..1d271e4 100644 --- a/TypeScript/9RouterHooks/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface IGetMailDialogViewRequestData { type: MessageType; dialogId: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/TypeScript/9RouterHooks/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts index 091c128..ba28910 100644 --- a/TypeScript/9RouterHooks/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts @@ -1,4 +1,4 @@ -import { IUserDialogInfo, Message } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IUserDialogInfo, Message } from "@spt/models/eft/profile/ISptProfile"; export interface IGetMailDialogViewResponseData { messages: Message[]; profiles: IUserDialogInfo[]; diff --git a/TypeScript/9RouterHooks/types/models/eft/dialog/ISendMessageRequest.d.ts b/TypeScript/9RouterHooks/types/models/eft/dialog/ISendMessageRequest.d.ts index 5a755c0..d94c682 100644 --- a/TypeScript/9RouterHooks/types/models/eft/dialog/ISendMessageRequest.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/dialog/ISendMessageRequest.d.ts @@ -1,4 +1,4 @@ -import { MessageType } from "@spt-aki/models/enums/MessageType"; +import { MessageType } from "@spt/models/enums/MessageType"; export interface ISendMessageRequest { dialogId: string; type: MessageType; diff --git a/TypeScript/9RouterHooks/types/models/eft/game/ICurrentGroupResponse.d.ts b/TypeScript/9RouterHooks/types/models/eft/game/ICurrentGroupResponse.d.ts index 85c005b..eb01946 100644 --- a/TypeScript/9RouterHooks/types/models/eft/game/ICurrentGroupResponse.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/game/ICurrentGroupResponse.d.ts @@ -1,4 +1,4 @@ -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface ICurrentGroupResponse { squad: ICurrentGroupSquadMember[]; } diff --git a/TypeScript/9RouterHooks/types/models/eft/health/IOffraidEatRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/health/IOffraidEatRequestData.d.ts index 0629f8b..c969b08 100644 --- a/TypeScript/9RouterHooks/types/models/eft/health/IOffraidEatRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/health/IOffraidEatRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidEatRequestData extends IBaseInteractionRequestData { Action: "Eat"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/health/IOffraidHealRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/health/IOffraidHealRequestData.d.ts index 47b7929..c2fe7ba 100644 --- a/TypeScript/9RouterHooks/types/models/eft/health/IOffraidHealRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/health/IOffraidHealRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IOffraidHealRequestData extends IBaseInteractionRequestData { Action: "Heal"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/hideout/IHideoutArea.d.ts b/TypeScript/9RouterHooks/types/models/eft/hideout/IHideoutArea.d.ts index 212d2ab..ca0eb07 100644 --- a/TypeScript/9RouterHooks/types/models/eft/hideout/IHideoutArea.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/hideout/IHideoutArea.d.ts @@ -1,5 +1,5 @@ -import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; +import { BonusSkillType } from "@spt/models/enums/BonusSkillType"; +import { BonusType } from "@spt/models/enums/BonusType"; export interface IHideoutArea { _id: string; type: number; diff --git a/TypeScript/9RouterHooks/types/models/eft/hideout/IHideoutScavCase.d.ts b/TypeScript/9RouterHooks/types/models/eft/hideout/IHideoutScavCase.d.ts index 5c8b983..d081d42 100644 --- a/TypeScript/9RouterHooks/types/models/eft/hideout/IHideoutScavCase.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/hideout/IHideoutScavCase.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IHideoutScavCase { _id: string; ProductionTime: number; diff --git a/TypeScript/9RouterHooks/types/models/eft/hideout/IQteData.d.ts b/TypeScript/9RouterHooks/types/models/eft/hideout/IQteData.d.ts index f7f674e..7f507e1 100644 --- a/TypeScript/9RouterHooks/types/models/eft/hideout/IQteData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/hideout/IQteData.d.ts @@ -1,14 +1,14 @@ -import { Effect } from "@spt-aki/models/eft/health/Effect"; -import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType"; -import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType"; -import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType"; -import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType"; -import { QteType } from "@spt-aki/models/enums/hideout/QteType"; -import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Effect } from "@spt/models/eft/health/Effect"; +import { BodyPart } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { QteActivityType } from "@spt/models/enums/hideout/QteActivityType"; +import { QteEffectType } from "@spt/models/enums/hideout/QteEffectType"; +import { QteResultType } from "@spt/models/enums/hideout/QteResultType"; +import { QteRewardType } from "@spt/models/enums/hideout/QteRewardType"; +import { QteType } from "@spt/models/enums/hideout/QteType"; +import { RequirementType } from "@spt/models/enums/hideout/RequirementType"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { Traders } from "@spt/models/enums/Traders"; export interface IQteData { id: string; type: QteActivityType; diff --git a/TypeScript/9RouterHooks/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inRaid/ISaveProgressRequestData.d.ts index c658257..b654088 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inRaid/ISaveProgressRequestData.d.ts @@ -1,7 +1,7 @@ -import { IPostRaidPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { PlayerRaidEndState } from "@spt-aki/models/enums/PlayerRaidEndState"; +import { IPostRaidPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { PlayerRaidEndState } from "@spt/models/enums/PlayerRaidEndState"; export interface ISaveProgressRequestData { exit: PlayerRaidEndState; profile: IPostRaidPmcData; diff --git a/TypeScript/9RouterHooks/types/models/eft/insurance/IInsureRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/insurance/IInsureRequestData.d.ts index f739ced..e3b018e 100644 --- a/TypeScript/9RouterHooks/types/models/eft/insurance/IInsureRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/insurance/IInsureRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInsureRequestData extends IBaseInteractionRequestData { Action: "Insure"; tid: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IAddItemTempObject.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IAddItemTempObject.d.ts index c818be6..7b3a6ea 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IAddItemTempObject.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IAddItemTempObject.d.ts @@ -1,4 +1,4 @@ -import { Item, Location } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item, Location } from "@spt/models/eft/common/tables/IItem"; export interface IAddItemTempObject { itemRef: Item; count: number; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryAddRequestData.d.ts index 2b90edb..63c5389 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryAddRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { Action: "Add"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts index 7e67a56..cc7269c 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { } export interface To { diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryBindRequestData.d.ts index efa1a43..5af9fea 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryBindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { Action: "Bind"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts index 805b385..1469136 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { Action: "CreateMapMarker"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts index e85f094..e946f9f 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { Action: "DeleteMapMarker"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts index d8080f5..87dcf86 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { Action: "EditMapMarker"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryExamineRequestData.d.ts index 07b0c03..58275ba 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryExamineRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { Action: "Examine"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryFoldRequestData.d.ts index 7623a90..7937743 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryFoldRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { Action: "Fold"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryMergeRequestData.d.ts index af4e722..ad924ba 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryMergeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { Action: "Merge"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryMoveRequestData.d.ts index 9038510..afb6fd0 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryMoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { Action: "Move"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts index 6432159..ce61370 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { Action: "ReadEncyclopedia"; ids: string[]; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts index eda96e6..b9fa232 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { Action: "Remove"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventorySortRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventorySortRequestData.d.ts index b34bb25..d784c77 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventorySortRequestData.d.ts @@ -1,5 +1,5 @@ -import { Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Upd } from "@spt/models/eft/common/tables/IItem"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { Action: "ApplyInventoryChanges"; changedItems: ChangedItem[]; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventorySplitRequestData.d.ts index 4d29084..a4bb8a4 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventorySplitRequestData.d.ts @@ -1,4 +1,4 @@ -import { Container, IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { Container, IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { Action: "Split"; /** Id of item to split */ diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventorySwapRequestData.d.ts index b32a1f7..ccf4796 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventorySwapRequestData.d.ts @@ -1,5 +1,5 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; +import { IInventoryBaseActionRequestData, To } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { Action: "Swap"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryTagRequestData.d.ts index 5d88eaf..5c9f651 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryTagRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { Action: "Tag"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryToggleRequestData.d.ts index 138d987..0d8b1e4 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryToggleRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { Action: "Toggle"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryTransferRequestData.d.ts index e98cae6..fe0327d 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryTransferRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { Action: "Transfer"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts index e303acf..d3a4bd7 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData { Action: "Unbind"; item: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts index a7ec78b..c9b97e0 100644 --- a/TypeScript/9RouterHooks/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/inventory/IOpenRandomLootContainerRequestData.d.ts @@ -1,4 +1,4 @@ -import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData"; +import { IInventoryBaseActionRequestData } from "@spt/models/eft/inventory/IInventoryBaseActionRequestData"; export interface IOpenRandomLootContainerRequestData extends IInventoryBaseActionRequestData { Action: "OpenRandomLootContainer"; /** Container item id being opened */ diff --git a/TypeScript/9RouterHooks/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/TypeScript/9RouterHooks/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts index f81bd59..f9165dc 100644 --- a/TypeScript/9RouterHooks/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { profileChanges: ""; } diff --git a/TypeScript/9RouterHooks/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/TypeScript/9RouterHooks/types/models/eft/itemEvent/IItemEventRouterBase.d.ts index a1babfd..0c48014 100644 --- a/TypeScript/9RouterHooks/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/itemEvent/IItemEventRouterBase.d.ts @@ -1,9 +1,9 @@ -import { Health, IQuestStatus, Productive, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; +import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item, Upd } from "@spt/models/eft/common/tables/IItem"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; export interface IItemEventRouterBase { warnings: Warning[]; profileChanges: TProfileChanges | ""; diff --git a/TypeScript/9RouterHooks/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/TypeScript/9RouterHooks/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts index bcf26ef..d4913be 100644 --- a/TypeScript/9RouterHooks/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts @@ -1,4 +1,4 @@ -import { IItemEventRouterBase } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterBase } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; /** An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync */ export interface IItemEventRouterResponse extends IItemEventRouterBase { } diff --git a/TypeScript/9RouterHooks/types/models/eft/launcher/IChangeRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/launcher/IChangeRequestData.d.ts index b1b3e94..b0431d7 100644 --- a/TypeScript/9RouterHooks/types/models/eft/launcher/IChangeRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/launcher/IChangeRequestData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IChangeRequestData extends ILoginRequestData { change: string; } diff --git a/TypeScript/9RouterHooks/types/models/eft/launcher/IMiniProfile.d.ts b/TypeScript/9RouterHooks/types/models/eft/launcher/IMiniProfile.d.ts index c12661a..b25a1e7 100644 --- a/TypeScript/9RouterHooks/types/models/eft/launcher/IMiniProfile.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/launcher/IMiniProfile.d.ts @@ -7,8 +7,8 @@ export interface IMiniProfile { prevexp: number; nextlvl: number; maxlvl: number; - akiData: AkiData; + sptData: SPTData; } -export interface AkiData { +export interface SPTData { version: string; } diff --git a/TypeScript/9RouterHooks/types/models/eft/launcher/IRegisterData.d.ts b/TypeScript/9RouterHooks/types/models/eft/launcher/IRegisterData.d.ts index b69d9ed..4a3c15e 100644 --- a/TypeScript/9RouterHooks/types/models/eft/launcher/IRegisterData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/launcher/IRegisterData.d.ts @@ -1,4 +1,4 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export interface IRegisterData extends ILoginRequestData { edition: string; } diff --git a/TypeScript/9RouterHooks/types/models/eft/launcher/IRemoveProfileData.d.ts b/TypeScript/9RouterHooks/types/models/eft/launcher/IRemoveProfileData.d.ts index 2ad9694..59848ed 100644 --- a/TypeScript/9RouterHooks/types/models/eft/launcher/IRemoveProfileData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/launcher/IRemoveProfileData.d.ts @@ -1,2 +1,2 @@ -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; export type IRemoveProfileData = ILoginRequestData; diff --git a/TypeScript/9RouterHooks/types/models/eft/location/IAirdropLootResult.d.ts b/TypeScript/9RouterHooks/types/models/eft/location/IAirdropLootResult.d.ts index 219ee7e..cacc805 100644 --- a/TypeScript/9RouterHooks/types/models/eft/location/IAirdropLootResult.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/location/IAirdropLootResult.d.ts @@ -1,4 +1,4 @@ -import { LootItem } from "@spt-aki/models/spt/services/LootItem"; +import { LootItem } from "@spt/models/spt/services/LootItem"; export interface IAirdropLootResult { dropType: string; loot: LootItem[]; diff --git a/TypeScript/9RouterHooks/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts index 46cb3d8..959986c 100644 --- a/TypeScript/9RouterHooks/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/match/IGetRaidConfigurationRequestData.d.ts @@ -1,4 +1,4 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; export interface IGetRaidConfigurationRequestData extends IRaidSettings { keyId: string; CanShowGroupPreview: boolean; diff --git a/TypeScript/9RouterHooks/types/models/eft/match/IGroupCharacter.d.ts b/TypeScript/9RouterHooks/types/models/eft/match/IGroupCharacter.d.ts index d539afa..013930a 100644 --- a/TypeScript/9RouterHooks/types/models/eft/match/IGroupCharacter.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/match/IGroupCharacter.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IGroupCharacter { _id: string; aid: number; diff --git a/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupCurrentResponse.d.ts b/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupCurrentResponse.d.ts index 7b4ad63..23bcba4 100644 --- a/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupCurrentResponse.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupCurrentResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupCurrentResponse { squad: IGroupCharacter[]; } diff --git a/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupStartGameRequest.d.ts b/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupStartGameRequest.d.ts index d932de0..663ef1e 100644 --- a/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupStartGameRequest.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupStartGameRequest.d.ts @@ -1,4 +1,4 @@ -import { IServer } from "@spt-aki/models/eft/match/IServer"; +import { IServer } from "@spt/models/eft/match/IServer"; export interface IMatchGroupStartGameRequest { groupId: string; servers: IServer[]; diff --git a/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupStatusRequest.d.ts b/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupStatusRequest.d.ts index c5fc71d..ffac106 100644 --- a/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupStatusRequest.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupStatusRequest.d.ts @@ -1,4 +1,4 @@ -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IMatchGroupStatusRequest { location: string; savage: boolean; diff --git a/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupStatusResponse.d.ts b/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupStatusResponse.d.ts index c493650..7702ac7 100644 --- a/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupStatusResponse.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/match/IMatchGroupStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; export interface IMatchGroupStatusResponse { players: IGroupCharacter[]; maxPveCountExceeded: boolean; diff --git a/TypeScript/9RouterHooks/types/models/eft/match/IProfileStatusResponse.d.ts b/TypeScript/9RouterHooks/types/models/eft/match/IProfileStatusResponse.d.ts index ac1a324..8fa6186 100644 --- a/TypeScript/9RouterHooks/types/models/eft/match/IProfileStatusResponse.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/match/IProfileStatusResponse.d.ts @@ -1,4 +1,4 @@ -import { ISessionStatus } from "@spt-aki/models/eft/match/ISessionStatus"; +import { ISessionStatus } from "@spt/models/eft/match/ISessionStatus"; export interface IProfileStatusResponse { maxPveCountExceeded: boolean; profiles: ISessionStatus[]; diff --git a/TypeScript/9RouterHooks/types/models/eft/match/IRaidSettings.d.ts b/TypeScript/9RouterHooks/types/models/eft/match/IRaidSettings.d.ts index 9bf0d42..78a0c19 100644 --- a/TypeScript/9RouterHooks/types/models/eft/match/IRaidSettings.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/match/IRaidSettings.d.ts @@ -1,14 +1,14 @@ -import { DateTime } from "@spt-aki/models/enums/DateTime"; -import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; -import { BotAmount } from "@spt-aki/models/enums/RaidSettings/BotAmount"; -import { BotDifficulty } from "@spt-aki/models/enums/RaidSettings/BotDifficulty"; -import { CloudinessType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; -import { FogType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/FogType"; -import { RainType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/RainType"; -import { TimeFlowType } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; -import { WindSpeed } from "@spt-aki/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; -import { SideType } from "@spt-aki/models/enums/SideType"; +import { DateTime } from "@spt/models/enums/DateTime"; +import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace"; +import { RaidMode } from "@spt/models/enums/RaidMode"; +import { BotAmount } from "@spt/models/enums/RaidSettings/BotAmount"; +import { BotDifficulty } from "@spt/models/enums/RaidSettings/BotDifficulty"; +import { CloudinessType } from "@spt/models/enums/RaidSettings/TimeAndWeather/CloudinessType"; +import { FogType } from "@spt/models/enums/RaidSettings/TimeAndWeather/FogType"; +import { RainType } from "@spt/models/enums/RaidSettings/TimeAndWeather/RainType"; +import { TimeFlowType } from "@spt/models/enums/RaidSettings/TimeAndWeather/TimeFlowType"; +import { WindSpeed } from "@spt/models/enums/RaidSettings/TimeAndWeather/WindSpeed"; +import { SideType } from "@spt/models/enums/SideType"; export interface IRaidSettings { location: string; timeVariant: DateTime; diff --git a/TypeScript/9RouterHooks/types/models/eft/notes/INoteActionData.d.ts b/TypeScript/9RouterHooks/types/models/eft/notes/INoteActionData.d.ts index 97575be..344c40d 100644 --- a/TypeScript/9RouterHooks/types/models/eft/notes/INoteActionData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/notes/INoteActionData.d.ts @@ -1,4 +1,4 @@ -import { IBaseInteractionRequestData } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { IBaseInteractionRequestData } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface INoteActionData extends IBaseInteractionRequestData { Action: string; index: number; diff --git a/TypeScript/9RouterHooks/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts index cbda924..f1123c1 100644 --- a/TypeScript/9RouterHooks/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts @@ -1,4 +1,4 @@ -import { Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; +import { Skills } from "@spt/models/eft/common/tables/IBotBase"; export interface IPlayerIncrementSkillLevelRequestData { _id: string; experience: number; diff --git a/TypeScript/9RouterHooks/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts index 3ce8733..3cb8533 100644 --- a/TypeScript/9RouterHooks/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IPresetBuildActionRequestData { Action: string; Id: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/profile/IAkiProfile.d.ts b/TypeScript/9RouterHooks/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index a6d06bb..0000000 --- a/TypeScript/9RouterHooks/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { EquipmentBuildType } from "@spt-aki/models/enums/EquipmentBuildType"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { IProfileChangeEvent } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -export interface IAkiProfile { - info: Info; - characters: Characters; - /** Clothing purchases */ - suits: string[]; - userbuilds: IUserBuilds; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; - /** Assort purchases made by player since last trader refresh */ - traderPurchases?: Record>; - /** Achievements earned by player */ - achievements: Record; -} -export declare class TraderPurchaseData { - count: number; - purchaseTimestamp: number; -} -export interface Info { - /** main profile id */ - id: string; - scavId: string; - aid: number; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -/** used by profile.userbuilds */ -export interface IUserBuilds { - weaponBuilds: IWeaponBuild[]; - equipmentBuilds: IEquipmentBuild[]; - magazineBuilds: IMagazineBuild[]; -} -export interface IUserBuild { - Id: string; - Name: string; -} -export interface IWeaponBuild extends IUserBuild { - Root: string; - Items: Item[]; -} -export interface IEquipmentBuild extends IUserBuild { - Root: string; - Items: Item[]; - BuildType: EquipmentBuildType; -} -export interface IMagazineBuild extends IUserBuild { - Caliber: string; - TopCount: number; - BottomCount: number; - Items: IMagazineTemplateAmmoItem[]; -} -export interface IMagazineTemplateAmmoItem { - TemplateId: string; - Count: number; -} -/** Used by defaultEquipmentPresets.json */ -export interface IDefaultEquipmentPreset extends IUserBuild { - Items: Item[]; - Root: string; - BuildType: EquipmentBuildType; - type: string; -} -export interface Dialogue { - attachmentsNew: number; - new: number; - type: MessageType; - Users?: IUserDialogInfo[]; - pinned: boolean; - messages: Message[]; - _id: string; -} -export interface IUserDialogInfo { - _id: string; - aid: number; - Info: IUserDialogDetails; -} -export interface IUserDialogDetails { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} -export interface DialogueInfo { - attachmentsNew: number; - new: number; - _id: string; - type: MessageType; - pinned: boolean; - Users?: IUserDialogInfo[]; - message: MessagePreview; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId?: string; - text?: string; - replyTo?: IReplyTo; - hasRewards?: boolean; - rewardCollected: boolean; - items?: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: IProfileChangeEvent[]; -} -export interface IReplyTo { - _id: string; - uid: string; - type: MessageType; - dt: number; - text?: string; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; - systemData?: ISystemData; -} -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: MemberCategory; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; - mods?: ModDetails[]; - receivedGifts: ReceivedGift[]; -} -export interface ModDetails { - name: string; - version: string; - author: string; - dateAdded: number; - url: string; -} -export interface ReceivedGift { - giftId: string; - timestampAccepted: number; -} -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; - maxStorageTime: number; - systemData: ISystemData; - messageType: MessageType; - messageTemplateId: string; - items: Item[]; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/TypeScript/9RouterHooks/types/models/eft/profile/IGetOtherProfileResponse.d.ts b/TypeScript/9RouterHooks/types/models/eft/profile/IGetOtherProfileResponse.d.ts index 26e43ac..7df4eba 100644 --- a/TypeScript/9RouterHooks/types/models/eft/profile/IGetOtherProfileResponse.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/profile/IGetOtherProfileResponse.d.ts @@ -1,5 +1,5 @@ -import { OverallCounters, Skills } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { OverallCounters, Skills } from "@spt/models/eft/common/tables/IBotBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IGetOtherProfileResponse { id: string; aid: number; diff --git a/TypeScript/9RouterHooks/types/models/eft/profile/ISptProfile.d.ts b/TypeScript/9RouterHooks/types/models/eft/profile/ISptProfile.d.ts new file mode 100644 index 0000000..f6e6379 --- /dev/null +++ b/TypeScript/9RouterHooks/types/models/eft/profile/ISptProfile.d.ts @@ -0,0 +1,238 @@ +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { EquipmentBuildType } from "@spt/models/enums/EquipmentBuildType"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { IProfileChangeEvent } from "@spt/models/spt/dialog/ISendMessageDetails"; +export interface ISptProfile { + info: Info; + characters: Characters; + /** Clothing purchases */ + suits: string[]; + userbuilds: IUserBuilds; + dialogues: Record; + spt: Spt; + vitality: Vitality; + inraid: Inraid; + insurance: Insurance[]; + /** Assort purchases made by player since last trader refresh */ + traderPurchases?: Record>; + /** Achievements earned by player */ + achievements: Record; +} +export declare class TraderPurchaseData { + count: number; + purchaseTimestamp: number; +} +export interface Info { + /** main profile id */ + id: string; + scavId: string; + aid: number; + username: string; + password: string; + wipe: boolean; + edition: string; +} +export interface Characters { + pmc: IPmcData; + scav: IPmcData; +} +/** used by profile.userbuilds */ +export interface IUserBuilds { + weaponBuilds: IWeaponBuild[]; + equipmentBuilds: IEquipmentBuild[]; + magazineBuilds: IMagazineBuild[]; +} +export interface IUserBuild { + Id: string; + Name: string; +} +export interface IWeaponBuild extends IUserBuild { + Root: string; + Items: Item[]; +} +export interface IEquipmentBuild extends IUserBuild { + Root: string; + Items: Item[]; + BuildType: EquipmentBuildType; +} +export interface IMagazineBuild extends IUserBuild { + Caliber: string; + TopCount: number; + BottomCount: number; + Items: IMagazineTemplateAmmoItem[]; +} +export interface IMagazineTemplateAmmoItem { + TemplateId: string; + Count: number; +} +/** Used by defaultEquipmentPresets.json */ +export interface IDefaultEquipmentPreset extends IUserBuild { + Items: Item[]; + Root: string; + BuildType: EquipmentBuildType; + type: string; +} +export interface Dialogue { + attachmentsNew: number; + new: number; + type: MessageType; + Users?: IUserDialogInfo[]; + pinned: boolean; + messages: Message[]; + _id: string; +} +export interface IUserDialogInfo { + _id: string; + aid: number; + Info: IUserDialogDetails; +} +export interface IUserDialogDetails { + Nickname: string; + Side: string; + Level: number; + MemberCategory: MemberCategory; +} +export interface DialogueInfo { + attachmentsNew: number; + new: number; + _id: string; + type: MessageType; + pinned: boolean; + Users?: IUserDialogInfo[]; + message: MessagePreview; +} +export interface Message { + _id: string; + uid: string; + type: MessageType; + dt: number; + UtcDateTime?: number; + Member?: IUpdatableChatMember; + templateId?: string; + text?: string; + replyTo?: IReplyTo; + hasRewards?: boolean; + rewardCollected: boolean; + items?: MessageItems; + maxStorageTime?: number; + systemData?: ISystemData; + profileChangeEvents?: IProfileChangeEvent[]; +} +export interface IReplyTo { + _id: string; + uid: string; + type: MessageType; + dt: number; + text?: string; +} +export interface MessagePreview { + uid: string; + type: MessageType; + dt: number; + templateId: string; + text?: string; + systemData?: ISystemData; +} +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: MemberCategory; + Ignored: boolean; + Banned: boolean; +} +export interface DateTime { + date: string; + time: string; +} +export interface Spt { + version: string; + mods?: ModDetails[]; + receivedGifts: ReceivedGift[]; +} +export interface ModDetails { + name: string; + version: string; + author: string; + dateAdded: number; + url: string; +} +export interface ReceivedGift { + giftId: string; + timestampAccepted: number; +} +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; + maxStorageTime: number; + systemData: ISystemData; + messageType: MessageType; + messageTemplateId: string; + items: Item[]; +} +export interface MessageContentRagfair { + offerId: string; + count: number; + handbookId: string; +} diff --git a/TypeScript/9RouterHooks/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/TypeScript/9RouterHooks/types/models/eft/ragfair/IGetItemPriceResult.d.ts index e692b1b..a81eee6 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ragfair/IGetItemPriceResult.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface IGetItemPriceResult extends MinMax { avg: number; } diff --git a/TypeScript/9RouterHooks/types/models/eft/ragfair/IGetOffersResult.d.ts b/TypeScript/9RouterHooks/types/models/eft/ragfair/IGetOffersResult.d.ts index 8b753ae..f3420fa 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,4 +1,4 @@ -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IGetOffersResult { categories?: Record; offers: IRagfairOffer[]; diff --git a/TypeScript/9RouterHooks/types/models/eft/ragfair/IRagfairOffer.d.ts b/TypeScript/9RouterHooks/types/models/eft/ragfair/IRagfairOffer.d.ts index 043a986..1741b47 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ragfair/IRagfairOffer.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ragfair/IRagfairOffer.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; export interface IRagfairOffer { sellResult?: SellResult[]; _id: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/ragfair/ISearchRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/ragfair/ISearchRequestData.d.ts index 52cb2d4..8261c5b 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ragfair/ISearchRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ragfair/ISearchRequestData.d.ts @@ -1,4 +1,4 @@ -import { RagfairSort } from "@spt-aki/models/enums/RagfairSort"; +import { RagfairSort } from "@spt/models/enums/RagfairSort"; export interface ISearchRequestData { page: number; limit: number; diff --git a/TypeScript/9RouterHooks/types/models/eft/repair/IRepairActionDataRequest.d.ts b/TypeScript/9RouterHooks/types/models/eft/repair/IRepairActionDataRequest.d.ts index ceb3f7c..d51c1b9 100644 --- a/TypeScript/9RouterHooks/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/repair/IRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "Repair"; repairKitsInfo: RepairKitsInfo[]; diff --git a/TypeScript/9RouterHooks/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/TypeScript/9RouterHooks/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts index 82b83c6..50f308e 100644 --- a/TypeScript/9RouterHooks/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts @@ -1,4 +1,4 @@ -import { IBaseRepairActionDataRequest } from "@spt-aki/models/eft/repair/IBaseRepairActionDataRequest"; +import { IBaseRepairActionDataRequest } from "@spt/models/eft/repair/IBaseRepairActionDataRequest"; export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { Action: "TraderRepair"; tid: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts index 15813c1..d64b2c9 100644 --- a/TypeScript/9RouterHooks/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | "SptInsure" | "SptRepair" | ""; type: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/trade/IProcessSellTradeRequestData.d.ts index c0f91a0..459bd28 100644 --- a/TypeScript/9RouterHooks/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/trade/IProcessSellTradeRequestData.d.ts @@ -1,4 +1,4 @@ -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { Action: "sell_to_trader"; type: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts b/TypeScript/9RouterHooks/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts index 0101dc1..3727ce4 100644 --- a/TypeScript/9RouterHooks/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/trade/ISellScavItemsToFenceRequestData.d.ts @@ -1,4 +1,4 @@ -import { OwnerInfo } from "@spt-aki/models/eft/common/request/IBaseInteractionRequestData"; +import { OwnerInfo } from "@spt/models/eft/common/request/IBaseInteractionRequestData"; export interface ISellScavItemsToFenceRequestData { Action: "SellAllFromSavage"; totalValue: number; diff --git a/TypeScript/9RouterHooks/types/models/eft/weather/IWeatherData.d.ts b/TypeScript/9RouterHooks/types/models/eft/weather/IWeatherData.d.ts index 59a63fc..81bc746 100644 --- a/TypeScript/9RouterHooks/types/models/eft/weather/IWeatherData.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/weather/IWeatherData.d.ts @@ -1,5 +1,5 @@ -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; export interface IWeatherData { acceleration: number; time: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/ws/IWsAid.d.ts b/TypeScript/9RouterHooks/types/models/eft/ws/IWsAid.d.ts index d053788..310d507 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ws/IWsAid.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ws/IWsAid.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAid extends IWsNotificationEvent { aid: number; } diff --git a/TypeScript/9RouterHooks/types/models/eft/ws/IWsAidNickname.d.ts b/TypeScript/9RouterHooks/types/models/eft/ws/IWsAidNickname.d.ts index 82e91ac..e623b19 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ws/IWsAidNickname.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ws/IWsAidNickname.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsAidNickname extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/ws/IWsChatMessageReceived.d.ts b/TypeScript/9RouterHooks/types/models/eft/ws/IWsChatMessageReceived.d.ts index 74f9d0c..217e8e5 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ws/IWsChatMessageReceived.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ws/IWsChatMessageReceived.d.ts @@ -1,5 +1,5 @@ -import { Message } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { Message } from "@spt/models/eft/profile/ISptProfile"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsChatMessageReceived extends IWsNotificationEvent { dialogId: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupId.d.ts b/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupId.d.ts index 2bab478..62a8c6f 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupId.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupId.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupId extends IWsNotificationEvent { groupId: string; } diff --git a/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts b/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts index db30348..ad176aa 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchInviteAccept.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; import { IGroupCharacter } from "../match/IGroupCharacter"; export interface IWsGroupMatchInviteAccept extends IWsNotificationEvent, IGroupCharacter { } diff --git a/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts b/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts index 368b945..cf15409 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchInviteDecline.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteDecline extends IWsNotificationEvent { aid: number; Nickname: string; diff --git a/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts b/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts index 32174fd..b52a49c 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchInviteSend.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchInviteSend extends IWsNotificationEvent { requestId: string; from: number; diff --git a/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts b/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts index 73e88cd..a374183 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchLeaderChanged.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchLeaderChanged extends IWsNotificationEvent { owner: number; } diff --git a/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts b/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts index 1d9f604..ab76918 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchRaidReady.d.ts @@ -1,5 +1,5 @@ -import { IGroupCharacter } from "@spt-aki/models/eft/match/IGroupCharacter"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidReady extends IWsNotificationEvent { extendedProfile: IGroupCharacter; } diff --git a/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts b/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts index f323220..5fa52af 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ws/IWsGroupMatchRaidSettings.d.ts @@ -1,5 +1,5 @@ -import { IRaidSettings } from "@spt-aki/models/eft/match/IRaidSettings"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsGroupMatchRaidSettings extends IWsNotificationEvent { raidSettings: IRaidSettings; } diff --git a/TypeScript/9RouterHooks/types/models/eft/ws/IWsPing.d.ts b/TypeScript/9RouterHooks/types/models/eft/ws/IWsPing.d.ts index a7bb0ea..d43aa03 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ws/IWsPing.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ws/IWsPing.d.ts @@ -1,3 +1,3 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsPing extends IWsNotificationEvent { } diff --git a/TypeScript/9RouterHooks/types/models/eft/ws/IWsRagfairOfferSold.d.ts b/TypeScript/9RouterHooks/types/models/eft/ws/IWsRagfairOfferSold.d.ts index 5f251e9..1c4c88e 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ws/IWsRagfairOfferSold.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ws/IWsRagfairOfferSold.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export interface IWsRagfairOfferSold extends IWsNotificationEvent { offerId: string; count: number; diff --git a/TypeScript/9RouterHooks/types/models/eft/ws/IWsUserConfirmed.d.ts b/TypeScript/9RouterHooks/types/models/eft/ws/IWsUserConfirmed.d.ts index dd6f5fd..ac32e0d 100644 --- a/TypeScript/9RouterHooks/types/models/eft/ws/IWsUserConfirmed.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/ws/IWsUserConfirmed.d.ts @@ -1,6 +1,6 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { ProfileStatus } from "@spt-aki/models/enums/ProfileStatus"; -import { RaidMode } from "@spt-aki/models/enums/RaidMode"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { ProfileStatus } from "@spt/models/enums/ProfileStatus"; +import { RaidMode } from "@spt/models/enums/RaidMode"; export interface IWsUserConfirmed extends IWsNotificationEvent { profileid: string; profileToken: string; diff --git a/TypeScript/9RouterHooks/types/models/enums/ConfigTypes.d.ts b/TypeScript/9RouterHooks/types/models/enums/ConfigTypes.d.ts index bf97c40..646fd55 100644 --- a/TypeScript/9RouterHooks/types/models/enums/ConfigTypes.d.ts +++ b/TypeScript/9RouterHooks/types/models/enums/ConfigTypes.d.ts @@ -1,29 +1,29 @@ export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - PMC = "aki-pmc", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - ITEM = "aki-item", - LOCALE = "aki-locale", - LOCATION = "aki-location", - LOOT = "aki-loot", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - PMC_CHAT_RESPONSE = "aki-pmcchatresponse", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather", - SEASONAL_EVENT = "aki-seasonalevents", - LOST_ON_DEATH = "aki-lostondeath", - GIFTS = "aki-gifts", - BTR = "aki-btr" + AIRDROP = "spt-airdrop", + BOT = "spt-bot", + PMC = "spt-pmc", + CORE = "spt-core", + HEALTH = "spt-health", + HIDEOUT = "spt-hideout", + HTTP = "spt-http", + IN_RAID = "spt-inraid", + INSURANCE = "spt-insurance", + INVENTORY = "spt-inventory", + ITEM = "spt-item", + LOCALE = "spt-locale", + LOCATION = "spt-location", + LOOT = "spt-loot", + MATCH = "spt-match", + PLAYERSCAV = "spt-playerscav", + PMC_CHAT_RESPONSE = "spt-pmcchatresponse", + QUEST = "spt-quest", + RAGFAIR = "spt-ragfair", + REPAIR = "spt-repair", + SCAVCASE = "spt-scavcase", + TRADER = "spt-trader", + WEATHER = "spt-weather", + SEASONAL_EVENT = "spt-seasonalevents", + LOST_ON_DEATH = "spt-lostondeath", + GIFTS = "spt-gifts", + BTR = "spt-btr" } diff --git a/TypeScript/9RouterHooks/types/models/external/IPostAkiLoadMod.d.ts b/TypeScript/9RouterHooks/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index 87a2ab0..0000000 --- a/TypeScript/9RouterHooks/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/9RouterHooks/types/models/external/IPostAkiLoadModAsync.d.ts b/TypeScript/9RouterHooks/types/models/external/IPostAkiLoadModAsync.d.ts deleted file mode 100644 index ea57e2b..0000000 --- a/TypeScript/9RouterHooks/types/models/external/IPostAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPostAkiLoadModAsync { - postAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/9RouterHooks/types/models/external/IPostSptLoadMod.d.ts b/TypeScript/9RouterHooks/types/models/external/IPostSptLoadMod.d.ts new file mode 100644 index 0000000..5ef9766 --- /dev/null +++ b/TypeScript/9RouterHooks/types/models/external/IPostSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadMod { + postSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/9RouterHooks/types/models/external/IPostSptLoadModAsync.d.ts b/TypeScript/9RouterHooks/types/models/external/IPostSptLoadModAsync.d.ts new file mode 100644 index 0000000..7778d96 --- /dev/null +++ b/TypeScript/9RouterHooks/types/models/external/IPostSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPostSptLoadModAsync { + postSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/9RouterHooks/types/models/external/IPreAkiLoadMod.d.ts b/TypeScript/9RouterHooks/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index b3bb041..0000000 --- a/TypeScript/9RouterHooks/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/TypeScript/9RouterHooks/types/models/external/IPreAkiLoadModAsync.d.ts b/TypeScript/9RouterHooks/types/models/external/IPreAkiLoadModAsync.d.ts deleted file mode 100644 index 4c0c984..0000000 --- a/TypeScript/9RouterHooks/types/models/external/IPreAkiLoadModAsync.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export interface IPreAkiLoadModAsync { - preAkiLoadAsync(container: DependencyContainer): Promise; -} diff --git a/TypeScript/9RouterHooks/types/models/external/IPreSptLoadMod.d.ts b/TypeScript/9RouterHooks/types/models/external/IPreSptLoadMod.d.ts new file mode 100644 index 0000000..dc38515 --- /dev/null +++ b/TypeScript/9RouterHooks/types/models/external/IPreSptLoadMod.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadMod { + preSptLoad(container: DependencyContainer): void; +} diff --git a/TypeScript/9RouterHooks/types/models/external/IPreSptLoadModAsync.d.ts b/TypeScript/9RouterHooks/types/models/external/IPreSptLoadModAsync.d.ts new file mode 100644 index 0000000..0322434 --- /dev/null +++ b/TypeScript/9RouterHooks/types/models/external/IPreSptLoadModAsync.d.ts @@ -0,0 +1,4 @@ +import type { DependencyContainer } from "tsyringe"; +export interface IPreSptLoadModAsync { + preSptLoadAsync(container: DependencyContainer): Promise; +} diff --git a/TypeScript/9RouterHooks/types/models/spt/bindings/Route.d.ts b/TypeScript/9RouterHooks/types/models/spt/bindings/Route.d.ts index 1b29d7d..abe8d2c 100644 --- a/TypeScript/9RouterHooks/types/models/spt/bindings/Route.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/bindings/Route.d.ts @@ -1,3 +1,3 @@ export interface IRoute { - aki: any; + spt: any; } diff --git a/TypeScript/9RouterHooks/types/models/spt/bots/BotGenerationDetails.d.ts b/TypeScript/9RouterHooks/types/models/spt/bots/BotGenerationDetails.d.ts index 2a7a64e..3977ee5 100644 --- a/TypeScript/9RouterHooks/types/models/spt/bots/BotGenerationDetails.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/bots/BotGenerationDetails.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface BotGenerationDetails { /** Should the bot be generated as a PMC */ isPmc: boolean; diff --git a/TypeScript/9RouterHooks/types/models/spt/bots/GenerateWeaponResult.d.ts b/TypeScript/9RouterHooks/types/models/spt/bots/GenerateWeaponResult.d.ts index f28d052..d4a2526 100644 --- a/TypeScript/9RouterHooks/types/models/spt/bots/GenerateWeaponResult.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/bots/GenerateWeaponResult.d.ts @@ -1,6 +1,6 @@ -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; export declare class GenerateWeaponResult { weapon: Item[]; chosenAmmoTpl: string; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IBotCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IBotCallbacks.d.ts index 02f444e..e49406e 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IBotCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IBotCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IBotCallbacks { getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/ICustomizationCallbacks.d.ts index f4f8877..8dba3d7 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/ICustomizationCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ISuit } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "@spt-aki/models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "@spt-aki/models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ISuit } from "@spt/models/eft/common/tables/ITrader"; +import { IBuyClothingRequestData } from "@spt/models/eft/customization/IBuyClothingRequestData"; +import { IWearClothingRequestData } from "@spt/models/eft/customization/IWearClothingRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface ICustomizationCallbacks { getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IDataCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IDataCallbacks.d.ts index 0651dce..cd0adab 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IDataCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IDataCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDataCallbacks { getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IDialogueCallbacks.d.ts index 0cc835b..b30c042 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IDialogueCallbacks.d.ts @@ -1,20 +1,20 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "@spt-aki/models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "@spt-aki/models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "@spt-aki/models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "@spt-aki/models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "@spt-aki/models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "@spt-aki/models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "@spt-aki/models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "@spt-aki/models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IFriendRequestData } from "@spt/models/eft/dialog/IFriendRequestData"; +import { IGetAllAttachmentsRequestData } from "@spt/models/eft/dialog/IGetAllAttachmentsRequestData"; +import { IGetAllAttachmentsResponse } from "@spt/models/eft/dialog/IGetAllAttachmentsResponse"; +import { IGetChatServerListRequestData } from "@spt/models/eft/dialog/IGetChatServerListRequestData"; +import { IGetFriendListDataResponse } from "@spt/models/eft/dialog/IGetFriendListDataResponse"; +import { IGetMailDialogInfoRequestData } from "@spt/models/eft/dialog/IGetMailDialogInfoRequestData"; +import { IGetMailDialogListRequestData } from "@spt/models/eft/dialog/IGetMailDialogListRequestData"; +import { IGetMailDialogViewRequestData } from "@spt/models/eft/dialog/IGetMailDialogViewRequestData"; +import { IGetMailDialogViewResponseData } from "@spt/models/eft/dialog/IGetMailDialogViewResponseData"; +import { IPinDialogRequestData } from "@spt/models/eft/dialog/IPinDialogRequestData"; +import { IRemoveDialogRequestData } from "@spt/models/eft/dialog/IRemoveDialogRequestData"; +import { ISendMessageRequest } from "@spt/models/eft/dialog/ISendMessageRequest"; +import { ISetDialogReadRequestData } from "@spt/models/eft/dialog/ISetDialogReadRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { DialogueInfo } from "@spt/models/eft/profile/ISptProfile"; export interface IDialogueCallbacks { getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IGameCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IGameCallbacks.d.ts index 324ec31..21554dd 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IGameCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IGameCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "@spt-aki/models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "@spt-aki/models/eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGameConfigResponse } from "@spt/models/eft/game/IGameConfigResponse"; +import { IGameEmptyCrcRequestData } from "@spt/models/eft/game/IGameEmptyCrcRequestData"; +import { IVersionValidateRequestData } from "@spt/models/eft/game/IVersionValidateRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; export interface IGameCallbacks { versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IHealthCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IHealthCallbacks.d.ts index 0ea81a2..c0244a1 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IHealthCallbacks.d.ts @@ -1,11 +1,11 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "@spt-aki/models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "@spt-aki/models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "@spt-aki/models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "@spt-aki/models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHealthTreatmentRequestData } from "@spt/models/eft/health/IHealthTreatmentRequestData"; +import { IOffraidEatRequestData } from "@spt/models/eft/health/IOffraidEatRequestData"; +import { IOffraidHealRequestData } from "@spt/models/eft/health/IOffraidHealRequestData"; +import { ISyncHealthRequestData } from "@spt/models/eft/health/ISyncHealthRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IHideoutCallbacks.d.ts index feda12e..1349144 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IHideoutCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutContinuousProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "@spt-aki/models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "@spt-aki/models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "@spt-aki/models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "@spt-aki/models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "@spt-aki/models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutContinuousProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutContinuousProductionStartRequestData"; +import { IHideoutPutItemInRequestData } from "@spt/models/eft/hideout/IHideoutPutItemInRequestData"; +import { IHideoutScavCaseStartRequestData } from "@spt/models/eft/hideout/IHideoutScavCaseStartRequestData"; +import { IHideoutSingleProductionStartRequestData } from "@spt/models/eft/hideout/IHideoutSingleProductionStartRequestData"; +import { IHideoutTakeItemOutRequestData } from "@spt/models/eft/hideout/IHideoutTakeItemOutRequestData"; +import { IHideoutTakeProductionRequestData } from "@spt/models/eft/hideout/IHideoutTakeProductionRequestData"; +import { IHideoutToggleAreaRequestData } from "@spt/models/eft/hideout/IHideoutToggleAreaRequestData"; +import { IHideoutUpgradeCompleteRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeCompleteRequestData"; +import { IHideoutUpgradeRequestData } from "@spt/models/eft/hideout/IHideoutUpgradeRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IHideoutCallbacks { upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IInraidCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IInraidCallbacks.d.ts index 4754c0c..b267942 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IInraidCallbacks.d.ts @@ -1,10 +1,10 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "@spt-aki/models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IRegisterPlayerRequestData } from "@spt/models/eft/inRaid/IRegisterPlayerRequestData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; getRaidEndState(): string; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IInsuranceCallbacks.d.ts index 649039a..2fae550 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IInsuranceCallbacks.d.ts @@ -1,9 +1,9 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "@spt-aki/models/eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "@spt-aki/models/eft/insurance/IInsureRequestData"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetInsuranceCostRequestData } from "@spt/models/eft/insurance/IGetInsuranceCostRequestData"; +import { IInsureRequestData } from "@spt/models/eft/insurance/IInsureRequestData"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; + onLoad(sessionID: string): ISptProfile; getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; update(secondsSinceLastRun: number): boolean; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IInventoryCallbacks.d.ts index 7abe819..079d37b 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IInventoryCallbacks.d.ts @@ -1,21 +1,21 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "@spt-aki/models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "@spt-aki/models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "@spt-aki/models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "@spt-aki/models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "@spt-aki/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "@spt-aki/models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "@spt-aki/models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "@spt-aki/models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "@spt-aki/models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "@spt-aki/models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "@spt-aki/models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IInventoryBindRequestData } from "@spt/models/eft/inventory/IInventoryBindRequestData"; +import { IInventoryCreateMarkerRequestData } from "@spt/models/eft/inventory/IInventoryCreateMarkerRequestData"; +import { IInventoryDeleteMarkerRequestData } from "@spt/models/eft/inventory/IInventoryDeleteMarkerRequestData"; +import { IInventoryEditMarkerRequestData } from "@spt/models/eft/inventory/IInventoryEditMarkerRequestData"; +import { IInventoryExamineRequestData } from "@spt/models/eft/inventory/IInventoryExamineRequestData"; +import { IInventoryFoldRequestData } from "@spt/models/eft/inventory/IInventoryFoldRequestData"; +import { IInventoryMergeRequestData } from "@spt/models/eft/inventory/IInventoryMergeRequestData"; +import { IInventoryMoveRequestData } from "@spt/models/eft/inventory/IInventoryMoveRequestData"; +import { IInventoryReadEncyclopediaRequestData } from "@spt/models/eft/inventory/IInventoryReadEncyclopediaRequestData"; +import { IInventoryRemoveRequestData } from "@spt/models/eft/inventory/IInventoryRemoveRequestData"; +import { IInventorySortRequestData } from "@spt/models/eft/inventory/IInventorySortRequestData"; +import { IInventorySplitRequestData } from "@spt/models/eft/inventory/IInventorySplitRequestData"; +import { IInventorySwapRequestData } from "@spt/models/eft/inventory/IInventorySwapRequestData"; +import { IInventoryTagRequestData } from "@spt/models/eft/inventory/IInventoryTagRequestData"; +import { IInventoryToggleRequestData } from "@spt/models/eft/inventory/IInventoryToggleRequestData"; +import { IInventoryTransferRequestData } from "@spt/models/eft/inventory/IInventoryTransferRequestData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IInventoryCallbacks { moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IItemEventCallbacks.d.ts index 6778e54..98fdb0b 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IItemEventCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export interface IItemEventCallbacks { handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/ILauncherCallbacks.d.ts index d37e58c..d01ae52 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/ILauncherCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IChangeRequestData } from "@spt-aki/models/eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "@spt-aki/models/eft/launcher/IGetMiniProfileRequestData"; -import { ILoginRequestData } from "@spt-aki/models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "@spt-aki/models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "@spt-aki/models/eft/launcher/IRemoveProfileData"; +import { IChangeRequestData } from "@spt/models/eft/launcher/IChangeRequestData"; +import { IGetMiniProfileRequestData } from "@spt/models/eft/launcher/IGetMiniProfileRequestData"; +import { ILoginRequestData } from "@spt/models/eft/launcher/ILoginRequestData"; +import { IRegisterData } from "@spt/models/eft/launcher/IRegisterData"; +import { IRemoveProfileData } from "@spt/models/eft/launcher/IRemoveProfileData"; export interface ILauncherCallbacks { connect(): string; login(url: string, info: ILoginRequestData, sessionID: string): string; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/ILocationCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/ILocationCallbacks.d.ts index a031a29..e51c723 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/ILocationCallbacks.d.ts @@ -1,7 +1,7 @@ -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "@spt-aki/models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "@spt-aki/models/eft/location/IGetLocationRequestData"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { ILocationsGenerateAllResponse } from "@spt/models/eft/common/ILocationsSourceDestinationBase"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IGetLocationRequestData } from "@spt/models/eft/location/IGetLocationRequestData"; export interface ILocationCallbacks { getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/INoteCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/INoteCallbacks.d.ts index aec8099..5ea2c96 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/INoteCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/INoteCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export interface INoteCallbacks { addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/INotifierCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/INotifierCallbacks.d.ts index 7da556b..9f1fae1 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/INotifierCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IUIDRequestData } from "@spt-aki/models/eft/common/request/IUIDRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "@spt-aki/models/eft/notifier/INotifier"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IUIDRequestData } from "@spt/models/eft/common/request/IUIDRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INotifierChannel } from "@spt/models/eft/notifier/INotifier"; export interface INotifierCallbacks { /** * If we don't have anything to send, it's ok to not send anything back diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts index 886cc9c..b0d75bd 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "@spt-aki/models/eft/presetBuild/IPresetBuildActionRequestData"; -import { IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IPresetBuildActionRequestData } from "@spt/models/eft/presetBuild/IPresetBuildActionRequestData"; +import { IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; export interface IPresetBuildCallbacks { getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; saveWeaponBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IProfileCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IProfileCallbacks.d.ts index f05532a..f769cfd 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IProfileCallbacks.d.ts @@ -1,12 +1,12 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "@spt-aki/models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "@spt-aki/models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "@spt-aki/models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "@spt-aki/models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "@spt-aki/models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "@spt-aki/models/eft/profile/IValidateNicknameRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IProfileChangeNicknameRequestData } from "@spt/models/eft/profile/IProfileChangeNicknameRequestData"; +import { IProfileChangeVoiceRequestData } from "@spt/models/eft/profile/IProfileChangeVoiceRequestData"; +import { IProfileCreateRequestData } from "@spt/models/eft/profile/IProfileCreateRequestData"; +import { ISearchFriendRequestData } from "@spt/models/eft/profile/ISearchFriendRequestData"; +import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse"; +import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData"; export interface IProfileCallbacks { onLoad(sessionID: string): any; createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IQuestCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IQuestCallbacks.d.ts index 546191f..1a688a7 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IQuestCallbacks.d.ts @@ -1,14 +1,14 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "@spt-aki/models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "@spt-aki/models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "@spt-aki/models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "@spt-aki/models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "@spt-aki/models/eft/quests/IRepeatableQuestChangeRequest"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAcceptQuestRequestData } from "@spt/models/eft/quests/IAcceptQuestRequestData"; +import { ICompleteQuestRequestData } from "@spt/models/eft/quests/ICompleteQuestRequestData"; +import { IHandoverQuestRequestData } from "@spt/models/eft/quests/IHandoverQuestRequestData"; +import { IListQuestsRequestData } from "@spt/models/eft/quests/IListQuestsRequestData"; +import { IRepeatableQuestChangeRequest } from "@spt/models/eft/quests/IRepeatableQuestChangeRequest"; export interface IQuestCallbacks { changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IRagfairCallbacks.d.ts index 1157349..dcad1ee 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IRagfairCallbacks.d.ts @@ -1,13 +1,13 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "@spt-aki/models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData"; -import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IAddOfferRequestData } from "@spt/models/eft/ragfair/IAddOfferRequestData"; +import { IExtendOfferRequestData } from "@spt/models/eft/ragfair/IExtendOfferRequestData"; +import { IGetItemPriceResult } from "@spt/models/eft/ragfair/IGetItemPriceResult"; +import { IGetMarketPriceRequestData } from "@spt/models/eft/ragfair/IGetMarketPriceRequestData"; +import { IRemoveOfferRequestData } from "@spt/models/eft/ragfair/IRemoveOfferRequestData"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; export interface IRagfairCallbacks { load(): void; search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IRepairCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IRepairCallbacks.d.ts index b83fde8..e8d4fe1 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IRepairCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IRepairActionDataRequest } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { ITraderRepairActionDataRequest } from "@spt/models/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/TypeScript/9RouterHooks/types/models/spt/callbacks/ITradeCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/ITradeCallbacks.d.ts index b6daa5d..9b71d93 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/ITradeCallbacks.d.ts @@ -1,7 +1,7 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "@spt-aki/models/eft/trade/IProcessRagfairTradeRequestData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBaseTradeRequestData } from "@spt/models/eft/trade/IProcessBaseTradeRequestData"; +import { IProcessRagfairTradeRequestData } from "@spt/models/eft/trade/IProcessRagfairTradeRequestData"; export interface ITradeCallbacks { processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/ITraderCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/ITraderCallbacks.d.ts index 23cd532..963e523 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/ITraderCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { ITraderAssort, ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { ITraderAssort, ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface ITraderCallbacks { load(): void; getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IWeatherCallbacks.d.ts index 1ba5b47..5713469 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IWeatherCallbacks.d.ts @@ -1,5 +1,5 @@ -import { IEmptyRequestData } from "@spt-aki/models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; +import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; export interface IWeatherCallbacks { getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; } diff --git a/TypeScript/9RouterHooks/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/TypeScript/9RouterHooks/types/models/spt/callbacks/IWishlistCallbacks.d.ts index 3ab5c68..16f056d 100644 --- a/TypeScript/9RouterHooks/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/callbacks/IWishlistCallbacks.d.ts @@ -1,6 +1,6 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "@spt-aki/models/eft/wishlist/IWishlistActionData"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IWishlistActionData } from "@spt/models/eft/wishlist/IWishlistActionData"; export interface IWishlistCallbacks { addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IAirdropConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IAirdropConfig.d.ts index 8efb870..d438f00 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IAirdropConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IAirdropConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { AirdropTypeEnum } from "@spt-aki/models/enums/AirdropType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { AirdropTypeEnum } from "@spt/models/enums/AirdropType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; + kind: "spt-airdrop"; airdropChancePercent: AirdropChancePercent; airdropTypeWeightings: Record; /** Lowest point plane will fly at */ diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IBTRConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IBTRConfig.d.ts index 4c592f4..123c507 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IBTRConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IBTRConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; import { IBaseConfig } from "./IBaseConfig"; export interface IBTRConfig extends IBaseConfig { - kind: "aki-btr"; + kind: "spt-btr"; /** How fast the BTR moves */ moveSpeed: number; /** How long the cover fire service lasts for */ diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IBotConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IBotConfig.d.ts index 0148f2a..dd9c1cc 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IBotConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IBotConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { IBotDurability } from "@spt-aki/models/spt/config/IBotDurability"; +import { MinMax } from "@spt/models/common/MinMax"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { IBotDurability } from "@spt/models/spt/config/IBotDurability"; export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; + kind: "spt-bot"; /** How many variants of each bot should be generated on raid start */ presetBatch: PresetBatch; /** Bot roles that should not have PMC types (sptBear/sptUsec) added as enemies to */ diff --git a/TypeScript/9RouterHooks/types/models/spt/config/ICoreConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/ICoreConfig.d.ts index 3ecc337..755b308 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/ICoreConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/ICoreConfig.d.ts @@ -1,7 +1,7 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; + kind: "spt-core"; + sptVersion: string; projectName: string; compatibleTarkovVersion: string; serverName: string; diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IGiftsConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IGiftsConfig.d.ts index b73761b..c3c8799 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IGiftsConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IGiftsConfig.d.ts @@ -1,12 +1,12 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { GiftSenderType } from "@spt-aki/models/enums/GiftSenderType"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { GiftSenderType } from "@spt/models/enums/GiftSenderType"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; import { IProfileChangeEvent } from "../dialog/ISendMessageDetails"; export interface IGiftsConfig extends IBaseConfig { - kind: "aki-gifts"; + kind: "spt-gifts"; gifts: Record; } export interface Gift { diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IHealthConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IHealthConfig.d.ts index 49b405f..b86c208 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IHealthConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IHealthConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; + kind: "spt-health"; healthMultipliers: HealthMultipliers; save: Save; } diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IHideoutConfig.d.ts index 6b07c34..c1967c0 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IHideoutConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; + kind: "spt-hideout"; /** How many seconds should pass before hideout crafts / fuel usage is checked and procesed */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IHttpConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IHttpConfig.d.ts index e7123fc..0f42e77 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IHttpConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IHttpConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; + kind: "spt-http"; /** Address used by webserver */ ip: string; port: number; @@ -9,6 +9,6 @@ export interface IHttpConfig extends IBaseConfig { backendPort: string; webSocketPingDelayMs: number; logRequests: boolean; - /** e.g. "Aki_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "Aki_Data/Server/images/traders/NewTraderImage.png" */ + /** e.g. "SPT_Data/Server/images/traders/579dc571d53a0658a154fbec.png": "SPT_Data/Server/images/traders/NewTraderImage.png" */ serverImagePathOverride: Record; } diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IInRaidConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IInRaidConfig.d.ts index 47023bf..7d6befd 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IInRaidConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IInRaidConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; + kind: "spt-inraid"; MIAOnRaidEnd: boolean; /** Overrides to apply to the pre-raid settings screen */ raidMenuSettings: RaidMenuSettings; diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IInsuranceConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IInsuranceConfig.d.ts index 86200f6..a5056a5 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IInsuranceConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IInsuranceConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; + kind: "spt-insurance"; /** Insurance price multiplier */ insuranceMultiplier: Record; /** Chance item is returned as insurance, keyed by trader id */ diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IInventoryConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IInventoryConfig.d.ts index bc64719..b489393 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IInventoryConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IInventoryConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; + kind: "spt-inventory"; /** Should new items purchased by flagged as found in raid */ newItemsMarkedFound: boolean; randomLootContainers: Record; diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IItemConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IItemConfig.d.ts index 40daa68..0530278 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IItemConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IItemConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IItemConfig extends IBaseConfig { - kind: "aki-item"; + kind: "spt-item"; /** Items that should be globally blacklisted */ blacklist: string[]; /** items that should not be given as rewards */ diff --git a/TypeScript/9RouterHooks/types/models/spt/config/ILocaleConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/ILocaleConfig.d.ts index bf57df6..c3de13e 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/ILocaleConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/ILocaleConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; + kind: "spt-locale"; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ gameLocale: string; /** e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting */ diff --git a/TypeScript/9RouterHooks/types/models/spt/config/ILocationConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/ILocationConfig.d.ts index 87ef6b5..1e113b2 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/ILocationConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/ILocationConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; + kind: "spt-location"; /** Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max */ fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings; /** Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first */ diff --git a/TypeScript/9RouterHooks/types/models/spt/config/ILootConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/ILootConfig.d.ts index 003d6c6..e22c3ea 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/ILootConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/ILootConfig.d.ts @@ -1,7 +1,7 @@ -import { Spawnpoint } from "@spt-aki/models/eft/common/ILooseLoot"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { Spawnpoint } from "@spt/models/eft/common/ILooseLoot"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILootConfig extends IBaseConfig { - kind: "aki-loot"; + kind: "spt-loot"; /** Spawn positions to add into a map, key=mapid */ looseLoot: Record; /** Loose loot probability adjustments to apply on game start */ diff --git a/TypeScript/9RouterHooks/types/models/spt/config/ILostOnDeathConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/ILostOnDeathConfig.d.ts index d440e91..8574646 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/ILostOnDeathConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/ILostOnDeathConfig.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ILostOnDeathConfig extends IBaseConfig { - kind: "aki-lostondeath"; + kind: "spt-lostondeath"; /** What equipment in each slot should be lost on death */ equipment: Equipment; /** Should special slot items be removed from quest inventory on death e.g. wifi camera/markers */ diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IMatchConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IMatchConfig.d.ts index dc7a8cb..f6a9b4c 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IMatchConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IMatchConfig.d.ts @@ -1,5 +1,5 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; + kind: "spt-match"; enabled: boolean; } diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IPlayerScavConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IPlayerScavConfig.d.ts index e5abca2..8834768 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IPlayerScavConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IPlayerScavConfig.d.ts @@ -1,7 +1,7 @@ -import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { GenerationData } from "@spt/models/eft/common/tables/IBotType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; + kind: "spt-playerscav"; karmaLevel: Record; } export interface KarmaLevel { diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IPmChatResponse.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IPmChatResponse.d.ts index 50afdbc..83fab34 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IPmChatResponse.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IPmChatResponse.d.ts @@ -1,6 +1,6 @@ -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcChatResponse extends IBaseConfig { - kind: "aki-pmcchatresponse"; + kind: "spt-pmcchatresponse"; victim: IResponseSettings; killer: IResponseSettings; } diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IPmcConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IPmcConfig.d.ts index 89223b2..00fabb3 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IPmcConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IPmcConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { MemberCategory } from "@spt-aki/models/enums/MemberCategory"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { MemberCategory } from "@spt/models/enums/MemberCategory"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IPmcConfig extends IBaseConfig { - kind: "aki-pmc"; + kind: "spt-pmc"; /** What game version should the PMC have */ gameVersionWeight: Record; /** What account type should the PMC have */ diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IQuestConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IQuestConfig.d.ts index c190d01..362602c 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IQuestConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IQuestConfig.d.ts @@ -1,10 +1,10 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { ELocationName } from "@spt/models/enums/ELocationName"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; + kind: "spt-quest"; + mailRedeemTimeHours: Record; questTemplateIds: IPlayerTypeQuestIds; /** Show non-seasonal quests be shown to player */ showNonSeasonalEventQuests: boolean; diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IRagfairConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IRagfairConfig.d.ts index eac8a53..bb318de 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IRagfairConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IRagfairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig, IRunIntervalValues } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig, IRunIntervalValues } from "@spt/models/spt/config/IBaseConfig"; export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; + kind: "spt-ragfair"; /** How many seconds should pass before expired offers and procesed + player offers checked if sold */ runIntervalSeconds: number; /** Default values used to hydrate `runIntervalSeconds` with */ diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IRepairConfig.d.ts index 9e23cc4..12a87fa 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IRepairConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; + kind: "spt-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; weaponSkillRepairGain: number; diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IScavCaseConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IScavCaseConfig.d.ts index 92f2722..c611948 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IScavCaseConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IScavCaseConfig.d.ts @@ -1,7 +1,7 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; + kind: "spt-scavcase"; rewardItemValueRangeRub: Record; moneyRewards: MoneyRewards; ammoRewards: AmmoRewards; diff --git a/TypeScript/9RouterHooks/types/models/spt/config/ISeasonalEventConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/ISeasonalEventConfig.d.ts index 6334570..da7070b 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/ISeasonalEventConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/ISeasonalEventConfig.d.ts @@ -1,8 +1,8 @@ -import { BossLocationSpawn } from "@spt-aki/models/eft/common/ILocationBase"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { BossLocationSpawn } from "@spt/models/eft/common/ILocationBase"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface ISeasonalEventConfig extends IBaseConfig { - kind: "aki-seasonalevents"; + kind: "spt-seasonalevents"; enableSeasonalEventDetection: boolean; /** event / botType / equipSlot / itemid */ eventGear: Record>>>; diff --git a/TypeScript/9RouterHooks/types/models/spt/config/ITraderConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/ITraderConfig.d.ts index 8a906c7..a8c969c 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/ITraderConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/ITraderConfig.d.ts @@ -1,8 +1,8 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; -import { LootRequest } from "@spt-aki/models/spt/services/LootRequest"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; +import { LootRequest } from "@spt/models/spt/services/LootRequest"; export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; + kind: "spt-trader"; updateTime: UpdateTime[]; purchasesAreFoundInRaid: boolean; /** Should trader reset times be set based on server start time (false = bsg time - on the hour) */ diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IWeatherConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IWeatherConfig.d.ts index 845cb77..970ade5 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IWeatherConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IWeatherConfig.d.ts @@ -1,9 +1,9 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { Season } from "@spt-aki/models/enums/Season"; -import { WindDirection } from "@spt-aki/models/enums/WindDirection"; -import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; +import { MinMax } from "@spt/models/common/MinMax"; +import { Season } from "@spt/models/enums/Season"; +import { WindDirection } from "@spt/models/enums/WindDirection"; +import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig"; export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; + kind: "spt-weather"; acceleration: number; weather: Weather; seasonDates: ISeasonDateTimes[]; diff --git a/TypeScript/9RouterHooks/types/models/spt/controllers/IBotController.d.ts b/TypeScript/9RouterHooks/types/models/spt/controllers/IBotController.d.ts index 3e8e035..e577497 100644 --- a/TypeScript/9RouterHooks/types/models/spt/controllers/IBotController.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/controllers/IBotController.d.ts @@ -1,7 +1,7 @@ -import { IGenerateBotsRequestData } from "@spt-aki/models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { Difficulty } from "@spt-aki/models/eft/common/tables/IBotType"; +import { IGenerateBotsRequestData } from "@spt/models/eft/bot/IGenerateBotsRequestData"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { Difficulty } from "@spt/models/eft/common/tables/IBotType"; export interface IBotController { getBotLimit(type: string): number; getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; diff --git a/TypeScript/9RouterHooks/types/models/spt/dialog/ISendMessageDetails.d.ts b/TypeScript/9RouterHooks/types/models/spt/dialog/ISendMessageDetails.d.ts index 05b3bcd..379b032 100644 --- a/TypeScript/9RouterHooks/types/models/spt/dialog/ISendMessageDetails.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/dialog/ISendMessageDetails.d.ts @@ -1,7 +1,7 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ISystemData, IUserDialogInfo, MessageContentRagfair } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; export interface ISendMessageDetails { /** Player id */ recipientId: string; diff --git a/TypeScript/9RouterHooks/types/models/spt/fence/ICreateFenceAssortsResult.d.ts b/TypeScript/9RouterHooks/types/models/spt/fence/ICreateFenceAssortsResult.d.ts index 8b90799..553f4e2 100644 --- a/TypeScript/9RouterHooks/types/models/spt/fence/ICreateFenceAssortsResult.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/fence/ICreateFenceAssortsResult.d.ts @@ -1,5 +1,5 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; export interface ICreateFenceAssortsResult { sptItems: Item[][]; barter_scheme: Record; diff --git a/TypeScript/9RouterHooks/types/models/spt/generators/IBotGenerator.d.ts b/TypeScript/9RouterHooks/types/models/spt/generators/IBotGenerator.d.ts index 2cb337d..e46ce24 100644 --- a/TypeScript/9RouterHooks/types/models/spt/generators/IBotGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/generators/IBotGenerator.d.ts @@ -1,5 +1,5 @@ -import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; +import { Inventory as PmcInventory } from "@spt/models/eft/common/tables/IBotBase"; +import { Chances, Generation, Inventory } from "@spt/models/eft/common/tables/IBotType"; export interface IBotGenerator { generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; } diff --git a/TypeScript/9RouterHooks/types/models/spt/generators/ILocationGenerator.d.ts b/TypeScript/9RouterHooks/types/models/spt/generators/ILocationGenerator.d.ts index 781e575..2df98e7 100644 --- a/TypeScript/9RouterHooks/types/models/spt/generators/ILocationGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/generators/ILocationGenerator.d.ts @@ -1,5 +1,5 @@ -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt-aki/models/eft/common/ILocation"; -import { ILooseLoot, SpawnpointTemplate } from "@spt-aki/models/eft/common/ILooseLoot"; +import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "@spt/models/eft/common/ILocation"; +import { ILooseLoot, SpawnpointTemplate } from "@spt/models/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/TypeScript/9RouterHooks/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/TypeScript/9RouterHooks/types/models/spt/generators/IRagfairAssortGenerator.d.ts index bcd26c2..193b685 100644 --- a/TypeScript/9RouterHooks/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/generators/IRagfairAssortGenerator.d.ts @@ -1,4 +1,4 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IRagfairAssortGenerator { getAssortItems(): Item[]; } diff --git a/TypeScript/9RouterHooks/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/TypeScript/9RouterHooks/types/models/spt/generators/IRagfairOfferGenerator.d.ts index bb5fdf9..66d28e9 100644 --- a/TypeScript/9RouterHooks/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/generators/IRagfairOfferGenerator.d.ts @@ -1,6 +1,6 @@ -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export interface IRagfairOfferGenerator { createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; } diff --git a/TypeScript/9RouterHooks/types/models/spt/logging/IClientLogRequest.d.ts b/TypeScript/9RouterHooks/types/models/spt/logging/IClientLogRequest.d.ts index b7e1b36..71f0b38 100644 --- a/TypeScript/9RouterHooks/types/models/spt/logging/IClientLogRequest.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/logging/IClientLogRequest.d.ts @@ -1,4 +1,4 @@ -import { LogLevel } from "@spt-aki/models/spt/logging/LogLevel"; +import { LogLevel } from "@spt/models/spt/logging/LogLevel"; export interface IClientLogRequest { Source: string; Level: LogLevel | string; diff --git a/TypeScript/9RouterHooks/types/models/spt/mod/IPackageJsonData.d.ts b/TypeScript/9RouterHooks/types/models/spt/mod/IPackageJsonData.d.ts index 0f6f26c..d21e5f1 100644 --- a/TypeScript/9RouterHooks/types/models/spt/mod/IPackageJsonData.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/mod/IPackageJsonData.d.ts @@ -8,7 +8,7 @@ export interface IPackageJsonData { url: string; author: string; version: string; - akiVersion: string; + sptVersion: string; /** We deliberately purge this data */ scripts: Record; devDependencies: Record; diff --git a/TypeScript/9RouterHooks/types/models/spt/mod/NewItemDetails.d.ts b/TypeScript/9RouterHooks/types/models/spt/mod/NewItemDetails.d.ts index 304462d..65996c1 100644 --- a/TypeScript/9RouterHooks/types/models/spt/mod/NewItemDetails.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/mod/NewItemDetails.d.ts @@ -1,4 +1,4 @@ -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; export declare abstract class NewItemDetailsBase { /** Price of the item on flea market */ fleaPriceRoubles: number; diff --git a/TypeScript/9RouterHooks/types/models/spt/repeatable/IQuestTypePool.d.ts b/TypeScript/9RouterHooks/types/models/spt/repeatable/IQuestTypePool.d.ts index bce68e8..200303b 100644 --- a/TypeScript/9RouterHooks/types/models/spt/repeatable/IQuestTypePool.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/repeatable/IQuestTypePool.d.ts @@ -1,4 +1,4 @@ -import { ELocationName } from "@spt-aki/models/enums/ELocationName"; +import { ELocationName } from "@spt/models/enums/ELocationName"; export interface IQuestTypePool { types: string[]; pool: IQuestPool; diff --git a/TypeScript/9RouterHooks/types/models/spt/server/ExhaustableArray.d.ts b/TypeScript/9RouterHooks/types/models/spt/server/ExhaustableArray.d.ts index c7801eb..2419acf 100644 --- a/TypeScript/9RouterHooks/types/models/spt/server/ExhaustableArray.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/server/ExhaustableArray.d.ts @@ -1,5 +1,5 @@ -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class ExhaustableArray implements IExhaustableArray { private itemPool; private randomUtil; diff --git a/TypeScript/9RouterHooks/types/models/spt/server/IDatabaseTables.d.ts b/TypeScript/9RouterHooks/types/models/spt/server/IDatabaseTables.d.ts index 1140374..3a98412 100644 --- a/TypeScript/9RouterHooks/types/models/spt/server/IDatabaseTables.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/server/IDatabaseTables.d.ts @@ -1,26 +1,26 @@ -import { IGlobals } from "@spt-aki/models/eft/common/IGlobals"; -import { IAchievement } from "@spt-aki/models/eft/common/tables/IAchievement"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IBotCore } from "@spt-aki/models/eft/common/tables/IBotCore"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ICustomizationItem } from "@spt-aki/models/eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { IMatch } from "@spt-aki/models/eft/common/tables/IMatch"; -import { IProfileTemplates } from "@spt-aki/models/eft/common/tables/IProfileTemplate"; -import { IQuest } from "@spt-aki/models/eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ITrader } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IHideoutArea } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "@spt-aki/models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "@spt-aki/models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "@spt-aki/models/eft/hideout/IHideoutSettingsBase"; -import { IQteData } from "@spt-aki/models/eft/hideout/IQteData"; -import { IDefaultEquipmentPreset } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILocaleBase } from "@spt-aki/models/spt/server/ILocaleBase"; -import { ILocations } from "@spt-aki/models/spt/server/ILocations"; -import { IServerBase } from "@spt-aki/models/spt/server/IServerBase"; -import { ISettingsBase } from "@spt-aki/models/spt/server/ISettingsBase"; +import { IGlobals } from "@spt/models/eft/common/IGlobals"; +import { IAchievement } from "@spt/models/eft/common/tables/IAchievement"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { IBotCore } from "@spt/models/eft/common/tables/IBotCore"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem"; +import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase"; +import { IMatch } from "@spt/models/eft/common/tables/IMatch"; +import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate"; +import { IQuest } from "@spt/models/eft/common/tables/IQuest"; +import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ITrader } from "@spt/models/eft/common/tables/ITrader"; +import { IHideoutArea } from "@spt/models/eft/hideout/IHideoutArea"; +import { IHideoutProduction } from "@spt/models/eft/hideout/IHideoutProduction"; +import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase"; +import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase"; +import { IQteData } from "@spt/models/eft/hideout/IQteData"; +import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile"; +import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase"; +import { ILocations } from "@spt/models/spt/server/ILocations"; +import { IServerBase } from "@spt/models/spt/server/IServerBase"; +import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase"; export interface IDatabaseTables { bots?: { types: Record; diff --git a/TypeScript/9RouterHooks/types/models/spt/server/ILocations.d.ts b/TypeScript/9RouterHooks/types/models/spt/server/ILocations.d.ts index 0101dd7..500efcc 100644 --- a/TypeScript/9RouterHooks/types/models/spt/server/ILocations.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/server/ILocations.d.ts @@ -1,5 +1,5 @@ -import { ILocation } from "@spt-aki/models/eft/common/ILocation"; -import { ILocationsBase } from "@spt-aki/models/eft/common/tables/ILocationsBase"; +import { ILocation } from "@spt/models/eft/common/ILocation"; +import { ILocationsBase } from "@spt/models/eft/common/tables/ILocationsBase"; export interface ILocations { bigmap?: ILocation; develop?: ILocation; diff --git a/TypeScript/9RouterHooks/types/models/spt/services/CustomPreset.d.ts b/TypeScript/9RouterHooks/types/models/spt/services/CustomPreset.d.ts index 989c58f..3301a55 100644 --- a/TypeScript/9RouterHooks/types/models/spt/services/CustomPreset.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/services/CustomPreset.d.ts @@ -1,4 +1,4 @@ -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; export interface CustomPreset { key: string; preset: IPreset; diff --git a/TypeScript/9RouterHooks/types/models/spt/services/CustomTraderAssortData.d.ts b/TypeScript/9RouterHooks/types/models/spt/services/CustomTraderAssortData.d.ts index 289d66a..7ad6341 100644 --- a/TypeScript/9RouterHooks/types/models/spt/services/CustomTraderAssortData.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/services/CustomTraderAssortData.d.ts @@ -1,5 +1,5 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { Traders } from "@spt-aki/models/enums/Traders"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { Traders } from "@spt/models/enums/Traders"; export interface CustomTraderAssortData { traderId: Traders; assorts: ITraderAssort; diff --git a/TypeScript/9RouterHooks/types/models/spt/services/IInsuranceEquipmentPkg.d.ts b/TypeScript/9RouterHooks/types/models/spt/services/IInsuranceEquipmentPkg.d.ts index 379f3c9..92d0565 100644 --- a/TypeScript/9RouterHooks/types/models/spt/services/IInsuranceEquipmentPkg.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/services/IInsuranceEquipmentPkg.d.ts @@ -1,5 +1,5 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; export interface IInsuranceEquipmentPkg { sessionID: string; pmcData: IPmcData; diff --git a/TypeScript/9RouterHooks/types/models/spt/services/ITraderServiceModel.d.ts b/TypeScript/9RouterHooks/types/models/spt/services/ITraderServiceModel.d.ts index 3fe43c4..165b65c 100644 --- a/TypeScript/9RouterHooks/types/models/spt/services/ITraderServiceModel.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/services/ITraderServiceModel.d.ts @@ -1,4 +1,4 @@ -import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType"; +import { TraderServiceType } from "@spt/models/enums/TraderServiceType"; export interface ITraderServiceModel { serviceType: TraderServiceType; itemsToPay?: { diff --git a/TypeScript/9RouterHooks/types/models/spt/services/LootRequest.d.ts b/TypeScript/9RouterHooks/types/models/spt/services/LootRequest.d.ts index d4fa902..9f028a6 100644 --- a/TypeScript/9RouterHooks/types/models/spt/services/LootRequest.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/services/LootRequest.d.ts @@ -1,4 +1,4 @@ -import { MinMax } from "@spt-aki/models/common/MinMax"; +import { MinMax } from "@spt/models/common/MinMax"; export interface LootRequest { weaponPresetCount: MinMax; armorPresetCount: MinMax; diff --git a/TypeScript/9RouterHooks/types/models/spt/utils/IAsyncQueue.d.ts b/TypeScript/9RouterHooks/types/models/spt/utils/IAsyncQueue.d.ts index 464139a..4bc9199 100644 --- a/TypeScript/9RouterHooks/types/models/spt/utils/IAsyncQueue.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/utils/IAsyncQueue.d.ts @@ -1,4 +1,4 @@ -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export interface IAsyncQueue { waitFor(command: ICommand): Promise; } diff --git a/TypeScript/9RouterHooks/types/models/spt/utils/ILogger.d.ts b/TypeScript/9RouterHooks/types/models/spt/utils/ILogger.d.ts index 340f26b..1b9726d 100644 --- a/TypeScript/9RouterHooks/types/models/spt/utils/ILogger.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/utils/ILogger.d.ts @@ -1,6 +1,6 @@ -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; log(data: string | Record | Error, color: string, backgroundColor?: string): void; diff --git a/TypeScript/9RouterHooks/types/routers/EventOutputHolder.d.ts b/TypeScript/9RouterHooks/types/routers/EventOutputHolder.d.ts index 2a7cd70..a943e2b 100644 --- a/TypeScript/9RouterHooks/types/routers/EventOutputHolder.d.ts +++ b/TypeScript/9RouterHooks/types/routers/EventOutputHolder.d.ts @@ -1,10 +1,10 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IHideoutImprovement, Productive, TraderInfo } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { TraderData } from "@spt-aki/models/eft/itemEvent/IItemEventRouterBase"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IHideoutImprovement, Productive, TraderInfo } from "@spt/models/eft/common/tables/IBotBase"; +import { TraderData } from "@spt/models/eft/itemEvent/IItemEventRouterBase"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class EventOutputHolder { protected profileHelper: ProfileHelper; protected timeUtil: TimeUtil; diff --git a/TypeScript/9RouterHooks/types/routers/HttpRouter.d.ts b/TypeScript/9RouterHooks/types/routers/HttpRouter.d.ts index 7de8b20..3fdb53f 100644 --- a/TypeScript/9RouterHooks/types/routers/HttpRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/HttpRouter.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage } from "node:http"; -import { DynamicRouter, Router, StaticRouter } from "@spt-aki/di/Router"; +import { DynamicRouter, Router, StaticRouter } from "@spt/di/Router"; export declare class HttpRouter { protected staticRouters: StaticRouter[]; protected dynamicRoutes: DynamicRouter[]; diff --git a/TypeScript/9RouterHooks/types/routers/ImageRouter.d.ts b/TypeScript/9RouterHooks/types/routers/ImageRouter.d.ts index 9d13b7a..eb3697f 100644 --- a/TypeScript/9RouterHooks/types/routers/ImageRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/ImageRouter.d.ts @@ -1,8 +1,8 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ImageRouteService } from "@spt-aki/services/mod/image/ImageRouteService"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ImageRouteService } from "@spt/services/mod/image/ImageRouteService"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImageRouter { protected vfs: VFS; protected imageRouteService: ImageRouteService; diff --git a/TypeScript/9RouterHooks/types/routers/ItemEventRouter.d.ts b/TypeScript/9RouterHooks/types/routers/ItemEventRouter.d.ts index fa154ef..f8043c0 100644 --- a/TypeScript/9RouterHooks/types/routers/ItemEventRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/ItemEventRouter.d.ts @@ -1,11 +1,11 @@ -import { ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IItemEventRouterRequest } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ItemEventRouterDefinition } from "@spt/di/Router"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IItemEventRouterRequest } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ItemEventRouter { protected logger: ILogger; protected profileHelper: ProfileHelper; diff --git a/TypeScript/9RouterHooks/types/routers/dynamic/BotDynamicRouter.d.ts b/TypeScript/9RouterHooks/types/routers/dynamic/BotDynamicRouter.d.ts index 5c54065..9b1131d 100644 --- a/TypeScript/9RouterHooks/types/routers/dynamic/BotDynamicRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/dynamic/BotDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BotDynamicRouter extends DynamicRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/dynamic/BundleDynamicRouter.d.ts b/TypeScript/9RouterHooks/types/routers/dynamic/BundleDynamicRouter.d.ts index c73860a..c552c6d 100644 --- a/TypeScript/9RouterHooks/types/routers/dynamic/BundleDynamicRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/dynamic/BundleDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class BundleDynamicRouter extends DynamicRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/TypeScript/9RouterHooks/types/routers/dynamic/CustomizationDynamicRouter.d.ts index 79e60e6..b7f4956 100644 --- a/TypeScript/9RouterHooks/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/dynamic/CustomizationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class CustomizationDynamicRouter extends DynamicRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/dynamic/DataDynamicRouter.d.ts b/TypeScript/9RouterHooks/types/routers/dynamic/DataDynamicRouter.d.ts index 098748f..d71fde1 100644 --- a/TypeScript/9RouterHooks/types/routers/dynamic/DataDynamicRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/dynamic/DataDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class DataDynamicRouter extends DynamicRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/dynamic/HttpDynamicRouter.d.ts b/TypeScript/9RouterHooks/types/routers/dynamic/HttpDynamicRouter.d.ts index 5fda392..01d1ffb 100644 --- a/TypeScript/9RouterHooks/types/routers/dynamic/HttpDynamicRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/dynamic/HttpDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { DynamicRouter } from "@spt-aki/di/Router"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { DynamicRouter } from "@spt/di/Router"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class HttpDynamicRouter extends DynamicRouter { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/9RouterHooks/types/routers/dynamic/InraidDynamicRouter.d.ts b/TypeScript/9RouterHooks/types/routers/dynamic/InraidDynamicRouter.d.ts index b68282e..e4cf1eb 100644 --- a/TypeScript/9RouterHooks/types/routers/dynamic/InraidDynamicRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/dynamic/InraidDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class InraidDynamicRouter extends DynamicRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/dynamic/LocationDynamicRouter.d.ts b/TypeScript/9RouterHooks/types/routers/dynamic/LocationDynamicRouter.d.ts index aef354f..a52f8d6 100644 --- a/TypeScript/9RouterHooks/types/routers/dynamic/LocationDynamicRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/dynamic/LocationDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class LocationDynamicRouter extends DynamicRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/dynamic/NotifierDynamicRouter.d.ts b/TypeScript/9RouterHooks/types/routers/dynamic/NotifierDynamicRouter.d.ts index f1c0ea7..c00c80e 100644 --- a/TypeScript/9RouterHooks/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/dynamic/NotifierDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class NotifierDynamicRouter extends DynamicRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/dynamic/TraderDynamicRouter.d.ts b/TypeScript/9RouterHooks/types/routers/dynamic/TraderDynamicRouter.d.ts index 2cde752..cdd6b71 100644 --- a/TypeScript/9RouterHooks/types/routers/dynamic/TraderDynamicRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/dynamic/TraderDynamicRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { DynamicRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { DynamicRouter } from "@spt/di/Router"; export declare class TraderDynamicRouter extends DynamicRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/item_events/CustomizationItemEventRouter.d.ts b/TypeScript/9RouterHooks/types/routers/item_events/CustomizationItemEventRouter.d.ts index 02f5ff9..c9babf3 100644 --- a/TypeScript/9RouterHooks/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/item_events/CustomizationItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/item_events/HealthItemEventRouter.d.ts b/TypeScript/9RouterHooks/types/routers/item_events/HealthItemEventRouter.d.ts index d082053..490884f 100644 --- a/TypeScript/9RouterHooks/types/routers/item_events/HealthItemEventRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/item_events/HealthItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HealthItemEventRouter extends ItemEventRouterDefinition { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/item_events/HideoutItemEventRouter.d.ts b/TypeScript/9RouterHooks/types/routers/item_events/HideoutItemEventRouter.d.ts index 9d1a604..6839fee 100644 --- a/TypeScript/9RouterHooks/types/routers/item_events/HideoutItemEventRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/item_events/HideoutItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { protected hideoutCallbacks: HideoutCallbacks; constructor(hideoutCallbacks: HideoutCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/item_events/InsuranceItemEventRouter.d.ts b/TypeScript/9RouterHooks/types/routers/item_events/InsuranceItemEventRouter.d.ts index 7ff4d30..af2b3dc 100644 --- a/TypeScript/9RouterHooks/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/item_events/InsuranceItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/item_events/InventoryItemEventRouter.d.ts b/TypeScript/9RouterHooks/types/routers/item_events/InventoryItemEventRouter.d.ts index 98c5376..660de81 100644 --- a/TypeScript/9RouterHooks/types/routers/item_events/InventoryItemEventRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/item_events/InventoryItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { HideoutCallbacks } from "@spt-aki/callbacks/HideoutCallbacks"; -import { InventoryCallbacks } from "@spt-aki/callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { HideoutCallbacks } from "@spt/callbacks/HideoutCallbacks"; +import { InventoryCallbacks } from "@spt/callbacks/InventoryCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { protected inventoryCallbacks: InventoryCallbacks; protected hideoutCallbacks: HideoutCallbacks; diff --git a/TypeScript/9RouterHooks/types/routers/item_events/NoteItemEventRouter.d.ts b/TypeScript/9RouterHooks/types/routers/item_events/NoteItemEventRouter.d.ts index 88102be..b415c3a 100644 --- a/TypeScript/9RouterHooks/types/routers/item_events/NoteItemEventRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/item_events/NoteItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { NoteCallbacks } from "@spt-aki/callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "@spt-aki/models/eft/notes/INoteActionData"; +import { NoteCallbacks } from "@spt/callbacks/NoteCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { INoteActionData } from "@spt/models/eft/notes/INoteActionData"; export declare class NoteItemEventRouter extends ItemEventRouterDefinition { protected noteCallbacks: NoteCallbacks; constructor(noteCallbacks: NoteCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/item_events/QuestItemEventRouter.d.ts b/TypeScript/9RouterHooks/types/routers/item_events/QuestItemEventRouter.d.ts index 8ef3360..1ce94f9 100644 --- a/TypeScript/9RouterHooks/types/routers/item_events/QuestItemEventRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/item_events/QuestItemEventRouter.d.ts @@ -1,8 +1,8 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class QuestItemEventRouter extends ItemEventRouterDefinition { protected logger: ILogger; protected questCallbacks: QuestCallbacks; diff --git a/TypeScript/9RouterHooks/types/routers/item_events/RagfairItemEventRouter.d.ts b/TypeScript/9RouterHooks/types/routers/item_events/RagfairItemEventRouter.d.ts index f1cf326..09cdbf6 100644 --- a/TypeScript/9RouterHooks/types/routers/item_events/RagfairItemEventRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/item_events/RagfairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/item_events/RepairItemEventRouter.d.ts b/TypeScript/9RouterHooks/types/routers/item_events/RepairItemEventRouter.d.ts index e901dad..d2f857d 100644 --- a/TypeScript/9RouterHooks/types/routers/item_events/RepairItemEventRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/item_events/RepairItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { RepairCallbacks } from "@spt-aki/callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairCallbacks } from "@spt/callbacks/RepairCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class RepairItemEventRouter extends ItemEventRouterDefinition { protected repairCallbacks: RepairCallbacks; constructor(repairCallbacks: RepairCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/item_events/TradeItemEventRouter.d.ts b/TypeScript/9RouterHooks/types/routers/item_events/TradeItemEventRouter.d.ts index e998e48..5617ab3 100644 --- a/TypeScript/9RouterHooks/types/routers/item_events/TradeItemEventRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/item_events/TradeItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { TradeCallbacks } from "@spt-aki/callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { TradeCallbacks } from "@spt/callbacks/TradeCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class TradeItemEventRouter extends ItemEventRouterDefinition { protected tradeCallbacks: TradeCallbacks; constructor(tradeCallbacks: TradeCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/item_events/WishlistItemEventRouter.d.ts b/TypeScript/9RouterHooks/types/routers/item_events/WishlistItemEventRouter.d.ts index de60c39..bc6d257 100644 --- a/TypeScript/9RouterHooks/types/routers/item_events/WishlistItemEventRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/item_events/WishlistItemEventRouter.d.ts @@ -1,7 +1,7 @@ -import { WishlistCallbacks } from "@spt-aki/callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "@spt-aki/di/Router"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; +import { WishlistCallbacks } from "@spt/callbacks/WishlistCallbacks"; +import { HandledRoute, ItemEventRouterDefinition } from "@spt/di/Router"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { protected wishlistCallbacks: WishlistCallbacks; constructor(wishlistCallbacks: WishlistCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/save_load/HealthSaveLoadRouter.d.ts b/TypeScript/9RouterHooks/types/routers/save_load/HealthSaveLoadRouter.d.ts index 1ecfa44..df04248 100644 --- a/TypeScript/9RouterHooks/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/save_load/HealthSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class HealthSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/9RouterHooks/types/routers/save_load/InraidSaveLoadRouter.d.ts b/TypeScript/9RouterHooks/types/routers/save_load/InraidSaveLoadRouter.d.ts index 7cc9a08..3ea61fa 100644 --- a/TypeScript/9RouterHooks/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/save_load/InraidSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InraidSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/9RouterHooks/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/TypeScript/9RouterHooks/types/routers/save_load/InsuranceSaveLoadRouter.d.ts index af5222a..ba8cb8a 100644 --- a/TypeScript/9RouterHooks/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/save_load/InsuranceSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/9RouterHooks/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/TypeScript/9RouterHooks/types/routers/save_load/ProfileSaveLoadRouter.d.ts index 8047834..77d50bd 100644 --- a/TypeScript/9RouterHooks/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/save_load/ProfileSaveLoadRouter.d.ts @@ -1,6 +1,6 @@ -import { HandledRoute, SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; +import { HandledRoute, SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; export declare class ProfileSaveLoadRouter extends SaveLoadRouter { getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; + handleLoad(profile: ISptProfile): ISptProfile; } diff --git a/TypeScript/9RouterHooks/types/routers/serializers/BundleSerializer.d.ts b/TypeScript/9RouterHooks/types/routers/serializers/BundleSerializer.d.ts index 52db030..dc71cd8 100644 --- a/TypeScript/9RouterHooks/types/routers/serializers/BundleSerializer.d.ts +++ b/TypeScript/9RouterHooks/types/routers/serializers/BundleSerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { BundleLoader } from "@spt-aki/loaders/BundleLoader"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpFileUtil } from "@spt-aki/utils/HttpFileUtil"; +import { Serializer } from "@spt/di/Serializer"; +import { BundleLoader } from "@spt/loaders/BundleLoader"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpFileUtil } from "@spt/utils/HttpFileUtil"; export declare class BundleSerializer extends Serializer { protected logger: ILogger; protected bundleLoader: BundleLoader; diff --git a/TypeScript/9RouterHooks/types/routers/serializers/ImageSerializer.d.ts b/TypeScript/9RouterHooks/types/routers/serializers/ImageSerializer.d.ts index 3b1ff6d..5c77243 100644 --- a/TypeScript/9RouterHooks/types/routers/serializers/ImageSerializer.d.ts +++ b/TypeScript/9RouterHooks/types/routers/serializers/ImageSerializer.d.ts @@ -1,7 +1,7 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; +import { Serializer } from "@spt/di/Serializer"; +import { ImageRouter } from "@spt/routers/ImageRouter"; export declare class ImageSerializer extends Serializer { protected imageRouter: ImageRouter; constructor(imageRouter: ImageRouter); diff --git a/TypeScript/9RouterHooks/types/routers/serializers/NotifySerializer.d.ts b/TypeScript/9RouterHooks/types/routers/serializers/NotifySerializer.d.ts index f8730b6..8c07f81 100644 --- a/TypeScript/9RouterHooks/types/routers/serializers/NotifySerializer.d.ts +++ b/TypeScript/9RouterHooks/types/routers/serializers/NotifySerializer.d.ts @@ -1,9 +1,9 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { NotifierController } from "@spt-aki/controllers/NotifierController"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { NotifierController } from "@spt/controllers/NotifierController"; +import { Serializer } from "@spt/di/Serializer"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class NotifySerializer extends Serializer { protected notifierController: NotifierController; protected jsonUtil: JsonUtil; diff --git a/TypeScript/9RouterHooks/types/routers/static/AchievementStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/AchievementStaticRouter.d.ts index 80c5e71..80e3ae6 100644 --- a/TypeScript/9RouterHooks/types/routers/static/AchievementStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/AchievementStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { AchievementCallbacks } from "@spt-aki/callbacks/AchievementCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { AchievementCallbacks } from "@spt/callbacks/AchievementCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class AchievementStaticRouter extends StaticRouter { protected achievementCallbacks: AchievementCallbacks; constructor(achievementCallbacks: AchievementCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/BotStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/BotStaticRouter.d.ts index e7e9ff5..2a164a5 100644 --- a/TypeScript/9RouterHooks/types/routers/static/BotStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/BotStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BotCallbacks } from "@spt-aki/callbacks/BotCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BotCallbacks } from "@spt/callbacks/BotCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BotStaticRouter extends StaticRouter { protected botCallbacks: BotCallbacks; constructor(botCallbacks: BotCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/BuildStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/BuildStaticRouter.d.ts index e351d19..c5c3a5e 100644 --- a/TypeScript/9RouterHooks/types/routers/static/BuildStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/BuildStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BuildsCallbacks } from "@spt-aki/callbacks/BuildsCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BuildsCallbacks } from "@spt/callbacks/BuildsCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BuildsStaticRouter extends StaticRouter { protected buildsCallbacks: BuildsCallbacks; constructor(buildsCallbacks: BuildsCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/BundleStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/BundleStaticRouter.d.ts index 62056ba..070d981 100644 --- a/TypeScript/9RouterHooks/types/routers/static/BundleStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/BundleStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { BundleCallbacks } from "@spt-aki/callbacks/BundleCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { BundleCallbacks } from "@spt/callbacks/BundleCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class BundleStaticRouter extends StaticRouter { protected bundleCallbacks: BundleCallbacks; constructor(bundleCallbacks: BundleCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/ClientLogStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/ClientLogStaticRouter.d.ts index 6ae3f50..2df39ad 100644 --- a/TypeScript/9RouterHooks/types/routers/static/ClientLogStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/ClientLogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ClientLogCallbacks } from "@spt-aki/callbacks/ClientLogCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ClientLogCallbacks } from "@spt/callbacks/ClientLogCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ClientLogStaticRouter extends StaticRouter { protected clientLogCallbacks: ClientLogCallbacks; constructor(clientLogCallbacks: ClientLogCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/CustomizationStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/CustomizationStaticRouter.d.ts index cebf043..5d80536 100644 --- a/TypeScript/9RouterHooks/types/routers/static/CustomizationStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/CustomizationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { CustomizationCallbacks } from "@spt-aki/callbacks/CustomizationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { CustomizationCallbacks } from "@spt/callbacks/CustomizationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class CustomizationStaticRouter extends StaticRouter { protected customizationCallbacks: CustomizationCallbacks; constructor(customizationCallbacks: CustomizationCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/DataStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/DataStaticRouter.d.ts index 7e84ae1..f59a136 100644 --- a/TypeScript/9RouterHooks/types/routers/static/DataStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/DataStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DataCallbacks } from "@spt-aki/callbacks/DataCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DataCallbacks } from "@spt/callbacks/DataCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DataStaticRouter extends StaticRouter { protected dataCallbacks: DataCallbacks; constructor(dataCallbacks: DataCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/DialogStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/DialogStaticRouter.d.ts index 7f3ef7a..5a17ba4 100644 --- a/TypeScript/9RouterHooks/types/routers/static/DialogStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/DialogStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { DialogueCallbacks } from "@spt-aki/callbacks/DialogueCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { DialogueCallbacks } from "@spt/callbacks/DialogueCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class DialogStaticRouter extends StaticRouter { protected dialogueCallbacks: DialogueCallbacks; constructor(dialogueCallbacks: DialogueCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/GameStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/GameStaticRouter.d.ts index 878f494..bf045af 100644 --- a/TypeScript/9RouterHooks/types/routers/static/GameStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/GameStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { GameCallbacks } from "@spt-aki/callbacks/GameCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { GameCallbacks } from "@spt/callbacks/GameCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class GameStaticRouter extends StaticRouter { protected gameCallbacks: GameCallbacks; constructor(gameCallbacks: GameCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/HealthStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/HealthStaticRouter.d.ts index 79dedea..d968017 100644 --- a/TypeScript/9RouterHooks/types/routers/static/HealthStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/HealthStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { HealthCallbacks } from "@spt-aki/callbacks/HealthCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { HealthCallbacks } from "@spt/callbacks/HealthCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class HealthStaticRouter extends StaticRouter { protected healthCallbacks: HealthCallbacks; constructor(healthCallbacks: HealthCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/InraidStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/InraidStaticRouter.d.ts index eb9c3b1..2a0da3c 100644 --- a/TypeScript/9RouterHooks/types/routers/static/InraidStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/InraidStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InraidCallbacks } from "@spt-aki/callbacks/InraidCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InraidCallbacks } from "@spt/callbacks/InraidCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InraidStaticRouter extends StaticRouter { protected inraidCallbacks: InraidCallbacks; constructor(inraidCallbacks: InraidCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/InsuranceStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/InsuranceStaticRouter.d.ts index 58c1583..99e394f 100644 --- a/TypeScript/9RouterHooks/types/routers/static/InsuranceStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/InsuranceStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { InsuranceCallbacks } from "@spt-aki/callbacks/InsuranceCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { InsuranceCallbacks } from "@spt/callbacks/InsuranceCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class InsuranceStaticRouter extends StaticRouter { protected insuranceCallbacks: InsuranceCallbacks; constructor(insuranceCallbacks: InsuranceCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/ItemEventStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/ItemEventStaticRouter.d.ts index 772493a..b23856d 100644 --- a/TypeScript/9RouterHooks/types/routers/static/ItemEventStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/ItemEventStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ItemEventCallbacks } from "@spt-aki/callbacks/ItemEventCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ItemEventCallbacks } from "@spt/callbacks/ItemEventCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ItemEventStaticRouter extends StaticRouter { protected itemEventCallbacks: ItemEventCallbacks; constructor(itemEventCallbacks: ItemEventCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/LauncherStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/LauncherStaticRouter.d.ts index 46a5bd6..08312d2 100644 --- a/TypeScript/9RouterHooks/types/routers/static/LauncherStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/LauncherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LauncherCallbacks } from "@spt-aki/callbacks/LauncherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LauncherCallbacks } from "@spt/callbacks/LauncherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LauncherStaticRouter extends StaticRouter { protected launcherCallbacks: LauncherCallbacks; constructor(launcherCallbacks: LauncherCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/LocationStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/LocationStaticRouter.d.ts index f577ba9..9a2e16c 100644 --- a/TypeScript/9RouterHooks/types/routers/static/LocationStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/LocationStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { LocationCallbacks } from "@spt-aki/callbacks/LocationCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { LocationCallbacks } from "@spt/callbacks/LocationCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class LocationStaticRouter extends StaticRouter { protected locationCallbacks: LocationCallbacks; constructor(locationCallbacks: LocationCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/MatchStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/MatchStaticRouter.d.ts index e26c8bd..955ce34 100644 --- a/TypeScript/9RouterHooks/types/routers/static/MatchStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/MatchStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { MatchCallbacks } from "@spt-aki/callbacks/MatchCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class MatchStaticRouter extends StaticRouter { protected matchCallbacks: MatchCallbacks; constructor(matchCallbacks: MatchCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/NotifierStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/NotifierStaticRouter.d.ts index 9427d00..7cb4756 100644 --- a/TypeScript/9RouterHooks/types/routers/static/NotifierStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/NotifierStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { NotifierCallbacks } from "@spt-aki/callbacks/NotifierCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { NotifierCallbacks } from "@spt/callbacks/NotifierCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class NotifierStaticRouter extends StaticRouter { protected notifierCallbacks: NotifierCallbacks; constructor(notifierCallbacks: NotifierCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/ProfileStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/ProfileStaticRouter.d.ts index 31470f3..cb6aa84 100644 --- a/TypeScript/9RouterHooks/types/routers/static/ProfileStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/ProfileStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { ProfileCallbacks } from "@spt-aki/callbacks/ProfileCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { ProfileCallbacks } from "@spt/callbacks/ProfileCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class ProfileStaticRouter extends StaticRouter { protected profileCallbacks: ProfileCallbacks; constructor(profileCallbacks: ProfileCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/QuestStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/QuestStaticRouter.d.ts index a505e5c..9c0e710 100644 --- a/TypeScript/9RouterHooks/types/routers/static/QuestStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/QuestStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { QuestCallbacks } from "@spt-aki/callbacks/QuestCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { QuestCallbacks } from "@spt/callbacks/QuestCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class QuestStaticRouter extends StaticRouter { protected questCallbacks: QuestCallbacks; constructor(questCallbacks: QuestCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/RagfairStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/RagfairStaticRouter.d.ts index e56a9c1..475e1ee 100644 --- a/TypeScript/9RouterHooks/types/routers/static/RagfairStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/RagfairStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { RagfairCallbacks } from "@spt-aki/callbacks/RagfairCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { RagfairCallbacks } from "@spt/callbacks/RagfairCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class RagfairStaticRouter extends StaticRouter { protected ragfairCallbacks: RagfairCallbacks; constructor(ragfairCallbacks: RagfairCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/TraderStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/TraderStaticRouter.d.ts index 1b9cbd1..e7d5ee1 100644 --- a/TypeScript/9RouterHooks/types/routers/static/TraderStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/TraderStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { TraderCallbacks } from "@spt-aki/callbacks/TraderCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { TraderCallbacks } from "@spt/callbacks/TraderCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class TraderStaticRouter extends StaticRouter { protected traderCallbacks: TraderCallbacks; constructor(traderCallbacks: TraderCallbacks); diff --git a/TypeScript/9RouterHooks/types/routers/static/WeatherStaticRouter.d.ts b/TypeScript/9RouterHooks/types/routers/static/WeatherStaticRouter.d.ts index 499f911..d3055e6 100644 --- a/TypeScript/9RouterHooks/types/routers/static/WeatherStaticRouter.d.ts +++ b/TypeScript/9RouterHooks/types/routers/static/WeatherStaticRouter.d.ts @@ -1,5 +1,5 @@ -import { WeatherCallbacks } from "@spt-aki/callbacks/WeatherCallbacks"; -import { StaticRouter } from "@spt-aki/di/Router"; +import { WeatherCallbacks } from "@spt/callbacks/WeatherCallbacks"; +import { StaticRouter } from "@spt/di/Router"; export declare class WeatherStaticRouter extends StaticRouter { protected weatherCallbacks: WeatherCallbacks; constructor(weatherCallbacks: WeatherCallbacks); diff --git a/TypeScript/9RouterHooks/types/servers/ConfigServer.d.ts b/TypeScript/9RouterHooks/types/servers/ConfigServer.d.ts index c932dfe..6f9bc83 100644 --- a/TypeScript/9RouterHooks/types/servers/ConfigServer.d.ts +++ b/TypeScript/9RouterHooks/types/servers/ConfigServer.d.ts @@ -1,7 +1,7 @@ -import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ConfigServer { protected logger: ILogger; protected vfs: VFS; diff --git a/TypeScript/9RouterHooks/types/servers/DatabaseServer.d.ts b/TypeScript/9RouterHooks/types/servers/DatabaseServer.d.ts index fc69a61..c198a87 100644 --- a/TypeScript/9RouterHooks/types/servers/DatabaseServer.d.ts +++ b/TypeScript/9RouterHooks/types/servers/DatabaseServer.d.ts @@ -1,4 +1,4 @@ -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; export declare class DatabaseServer { protected tableData: IDatabaseTables; getTables(): IDatabaseTables; diff --git a/TypeScript/9RouterHooks/types/servers/HttpServer.d.ts b/TypeScript/9RouterHooks/types/servers/HttpServer.d.ts index 2ab3204..b00fe68 100644 --- a/TypeScript/9RouterHooks/types/servers/HttpServer.d.ts +++ b/TypeScript/9RouterHooks/types/servers/HttpServer.d.ts @@ -1,14 +1,14 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { WebSocketServer } from "@spt-aki/servers/WebSocketServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { WebSocketServer } from "@spt/servers/WebSocketServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class HttpServer { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/9RouterHooks/types/servers/RagfairServer.d.ts b/TypeScript/9RouterHooks/types/servers/RagfairServer.d.ts index f6f9730..af3acf3 100644 --- a/TypeScript/9RouterHooks/types/servers/RagfairServer.d.ts +++ b/TypeScript/9RouterHooks/types/servers/RagfairServer.d.ts @@ -1,15 +1,15 @@ -import { RagfairOfferGenerator } from "@spt-aki/generators/RagfairOfferGenerator"; -import { TraderAssortHelper } from "@spt-aki/helpers/TraderAssortHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairCategoriesService } from "@spt-aki/services/RagfairCategoriesService"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "@spt-aki/services/RagfairRequiredItemsService"; +import { RagfairOfferGenerator } from "@spt/generators/RagfairOfferGenerator"; +import { TraderAssortHelper } from "@spt/helpers/TraderAssortHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairCategoriesService } from "@spt/services/RagfairCategoriesService"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; +import { RagfairRequiredItemsService } from "@spt/services/RagfairRequiredItemsService"; export declare class RagfairServer { protected logger: ILogger; protected ragfairOfferGenerator: RagfairOfferGenerator; diff --git a/TypeScript/9RouterHooks/types/servers/SaveServer.d.ts b/TypeScript/9RouterHooks/types/servers/SaveServer.d.ts index d61259b..f71fbb2 100644 --- a/TypeScript/9RouterHooks/types/servers/SaveServer.d.ts +++ b/TypeScript/9RouterHooks/types/servers/SaveServer.d.ts @@ -1,10 +1,10 @@ -import { SaveLoadRouter } from "@spt-aki/di/Router"; -import { IAkiProfile, Info } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { SaveLoadRouter } from "@spt/di/Router"; +import { ISptProfile, Info } from "@spt/models/eft/profile/ISptProfile"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; import { ConfigServer } from "./ConfigServer"; export declare class SaveServer { protected vfs: VFS; @@ -24,7 +24,7 @@ export declare class SaveServer { * @param id Id for save callback * @param callback Callback to execute prior to running SaveServer.saveProfile() */ - addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; + addBeforeSaveCallback(id: string, callback: (profile: Partial) => Partial): void; /** * Remove a callback from being executed prior to saving profile in SaveServer.saveProfile() * @param id Id of callback to remove @@ -41,14 +41,14 @@ export declare class SaveServer { /** * Get a player profile from memory * @param sessionId Session id - * @returns IAkiProfile + * @returns ISptProfile */ - getProfile(sessionId: string): IAkiProfile; + getProfile(sessionId: string): ISptProfile; /** * Get all profiles from memory - * @returns Dictionary of IAkiProfile + * @returns Dictionary of ISptProfile */ - getProfiles(): Record; + getProfiles(): Record; /** * Delete a profile by id * @param sessionID Id of profile to remove @@ -64,7 +64,7 @@ export declare class SaveServer { * Add full profile in memory by key (info.id) * @param profileDetails Profile to save */ - addProfile(profileDetails: IAkiProfile): void; + addProfile(profileDetails: ISptProfile): void; /** * Look up profile json in user/profiles by id and store in memory * Execute saveLoadRouters callbacks after being loaded into memory diff --git a/TypeScript/9RouterHooks/types/servers/WebSocketServer.d.ts b/TypeScript/9RouterHooks/types/servers/WebSocketServer.d.ts index 4200b5a..b9d66ee 100644 --- a/TypeScript/9RouterHooks/types/servers/WebSocketServer.d.ts +++ b/TypeScript/9RouterHooks/types/servers/WebSocketServer.d.ts @@ -1,11 +1,11 @@ /// import http, { IncomingMessage } from "node:http"; import { WebSocket, Server } from "ws"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; import { IWebSocketConnectionHandler } from "./ws/IWebSocketConnectionHandler"; export declare class WebSocketServer { protected logger: ILogger; diff --git a/TypeScript/9RouterHooks/types/servers/http/AkiHttpListener.d.ts b/TypeScript/9RouterHooks/types/servers/http/AkiHttpListener.d.ts deleted file mode 100644 index 4ccdcf6..0000000 --- a/TypeScript/9RouterHooks/types/servers/http/AkiHttpListener.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -/// -import { IncomingMessage, ServerResponse } from "node:http"; -import { Serializer } from "@spt-aki/di/Serializer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HttpRouter } from "@spt-aki/routers/HttpRouter"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -export declare class AkiHttpListener implements IHttpListener { - protected httpRouter: HttpRouter; - protected serializers: Serializer[]; - protected logger: ILogger; - protected requestsLogger: ILogger; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected localisationService: LocalisationService; - constructor(httpRouter: HttpRouter, // TODO: delay required - serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); - canHandle(_: string, req: IncomingMessage): boolean; - handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; - /** - * Send http response to the client - * @param sessionID Player id - * @param req Incoming request - * @param resp Outgoing response - * @param body Buffer - * @param output Server generated response data - */ - sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; - getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; - protected getBodyInfo(body: Buffer, requestUrl?: any): any; - sendJson(resp: ServerResponse, output: string, sessionID: string): void; - sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; -} diff --git a/TypeScript/9RouterHooks/types/servers/http/SptHttpListener.d.ts b/TypeScript/9RouterHooks/types/servers/http/SptHttpListener.d.ts new file mode 100644 index 0000000..ef68143 --- /dev/null +++ b/TypeScript/9RouterHooks/types/servers/http/SptHttpListener.d.ts @@ -0,0 +1,36 @@ +/// +/// +import { IncomingMessage, ServerResponse } from "node:http"; +import { Serializer } from "@spt/di/Serializer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HttpRouter } from "@spt/routers/HttpRouter"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +export declare class SptHttpListener implements IHttpListener { + protected httpRouter: HttpRouter; + protected serializers: Serializer[]; + protected logger: ILogger; + protected requestsLogger: ILogger; + protected jsonUtil: JsonUtil; + protected httpResponse: HttpResponseUtil; + protected localisationService: LocalisationService; + constructor(httpRouter: HttpRouter, // TODO: delay required + serializers: Serializer[], logger: ILogger, requestsLogger: ILogger, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, localisationService: LocalisationService); + canHandle(_: string, req: IncomingMessage): boolean; + handle(sessionId: string, req: IncomingMessage, resp: ServerResponse): Promise; + /** + * Send http response to the client + * @param sessionID Player id + * @param req Incoming request + * @param resp Outgoing response + * @param body Buffer + * @param output Server generated response data + */ + sendResponse(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: Buffer, output: string): void; + getResponse(sessionID: string, req: IncomingMessage, body: Buffer): Promise; + protected getBodyInfo(body: Buffer, requestUrl?: any): any; + sendJson(resp: ServerResponse, output: string, sessionID: string): void; + sendZlibJson(resp: ServerResponse, output: string, sessionID: string): void; +} diff --git a/TypeScript/9RouterHooks/types/servers/ws/AkiWebSocketConnectionHandler.d.ts b/TypeScript/9RouterHooks/types/servers/ws/AkiWebSocketConnectionHandler.d.ts deleted file mode 100644 index b0b354a..0000000 --- a/TypeScript/9RouterHooks/types/servers/ws/AkiWebSocketConnectionHandler.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { WebSocket } from "ws"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { IWebSocketConnectionHandler } from "@spt-aki/servers/ws/IWebSocketConnectionHandler"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { IAkiWebSocketMessageHandler } from "./message/IAkiWebSocketMessageHandler"; -export declare class AkiWebSocketConnectionHandler implements IWebSocketConnectionHandler { - protected logger: ILogger; - protected profileHelper: ProfileHelper; - protected localisationService: LocalisationService; - protected configServer: ConfigServer; - protected jsonUtil: JsonUtil; - protected akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]; - protected httpConfig: IHttpConfig; - protected webSockets: Map; - protected defaultNotification: IWsNotificationEvent; - protected websocketPingHandler: any; - constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, akiWebSocketMessageHandlers: IAkiWebSocketMessageHandler[]); - getSocketId(): string; - getHookUrl(): string; - onConnection(ws: WebSocket, req: IncomingMessage): void; - sendMessage(sessionID: string, output: IWsNotificationEvent): void; - isConnectionWebSocket(sessionID: string): boolean; - getSessionWebSocket(sessionID: string): WebSocket; -} diff --git a/TypeScript/9RouterHooks/types/servers/ws/SptWebSocketConnectionHandler.d.ts b/TypeScript/9RouterHooks/types/servers/ws/SptWebSocketConnectionHandler.d.ts new file mode 100644 index 0000000..10c8a74 --- /dev/null +++ b/TypeScript/9RouterHooks/types/servers/ws/SptWebSocketConnectionHandler.d.ts @@ -0,0 +1,31 @@ +/// +import { IncomingMessage } from "http"; +import { WebSocket } from "ws"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { IWebSocketConnectionHandler } from "@spt/servers/ws/IWebSocketConnectionHandler"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { ISptWebSocketMessageHandler } from "./message/ISptWebSocketMessageHandler"; +export declare class SptWebSocketConnectionHandler implements IWebSocketConnectionHandler { + protected logger: ILogger; + protected profileHelper: ProfileHelper; + protected localisationService: LocalisationService; + protected configServer: ConfigServer; + protected jsonUtil: JsonUtil; + protected sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]; + protected httpConfig: IHttpConfig; + protected webSockets: Map; + protected defaultNotification: IWsNotificationEvent; + protected websocketPingHandler: any; + constructor(logger: ILogger, profileHelper: ProfileHelper, localisationService: LocalisationService, configServer: ConfigServer, jsonUtil: JsonUtil, sptWebSocketMessageHandlers: ISptWebSocketMessageHandler[]); + getSocketId(): string; + getHookUrl(): string; + onConnection(ws: WebSocket, req: IncomingMessage): void; + sendMessage(sessionID: string, output: IWsNotificationEvent): void; + isConnectionWebSocket(sessionID: string): boolean; + getSessionWebSocket(sessionID: string): WebSocket; +} diff --git a/TypeScript/9RouterHooks/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts b/TypeScript/9RouterHooks/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index f708e49..0000000 --- a/TypeScript/9RouterHooks/types/servers/ws/message/DefaultAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { RawData, WebSocket } from "ws"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { IAkiWebSocketMessageHandler } from "@spt-aki/servers/ws/message/IAkiWebSocketMessageHandler"; -export declare class DefaultAkiWebSocketMessageHandler implements IAkiWebSocketMessageHandler { - protected logger: ILogger; - constructor(logger: ILogger); - onAkiMessage(sessionId: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/9RouterHooks/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts b/TypeScript/9RouterHooks/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..d5247ec --- /dev/null +++ b/TypeScript/9RouterHooks/types/servers/ws/message/DefaultSptWebSocketMessageHandler.d.ts @@ -0,0 +1,8 @@ +import { RawData, WebSocket } from "ws"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ISptWebSocketMessageHandler } from "@spt/servers/ws/message/ISptWebSocketMessageHandler"; +export declare class DefaultSptWebSocketMessageHandler implements ISptWebSocketMessageHandler { + protected logger: ILogger; + constructor(logger: ILogger); + onSptMessage(sessionId: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/9RouterHooks/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts b/TypeScript/9RouterHooks/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts deleted file mode 100644 index ea2de1e..0000000 --- a/TypeScript/9RouterHooks/types/servers/ws/message/IAkiWebSocketMessageHandler.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { RawData, WebSocket } from "ws"; -export interface IAkiWebSocketMessageHandler { - onAkiMessage(sessionID: string, client: WebSocket, message: RawData): void; -} diff --git a/TypeScript/9RouterHooks/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts b/TypeScript/9RouterHooks/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts new file mode 100644 index 0000000..137bc87 --- /dev/null +++ b/TypeScript/9RouterHooks/types/servers/ws/message/ISptWebSocketMessageHandler.d.ts @@ -0,0 +1,4 @@ +import { RawData, WebSocket } from "ws"; +export interface ISptWebSocketMessageHandler { + onSptMessage(sessionID: string, client: WebSocket, message: RawData): void; +} diff --git a/TypeScript/9RouterHooks/types/services/BotEquipmentFilterService.d.ts b/TypeScript/9RouterHooks/types/services/BotEquipmentFilterService.d.ts index c66607f..5ee2fb4 100644 --- a/TypeScript/9RouterHooks/types/services/BotEquipmentFilterService.d.ts +++ b/TypeScript/9RouterHooks/types/services/BotEquipmentFilterService.d.ts @@ -1,10 +1,10 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt-aki/models/eft/common/tables/IBotType"; -import { BotGenerationDetails } from "@spt-aki/models/spt/bots/BotGenerationDetails"; -import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { EquipmentChances, Generation, GenerationData, IBotType, ModsChances } from "@spt/models/eft/common/tables/IBotType"; +import { BotGenerationDetails } from "@spt/models/spt/bots/BotGenerationDetails"; +import { EquipmentFilterDetails, EquipmentFilters, IAdjustmentDetails, IBotConfig, WeightingAdjustmentDetails } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotEquipmentFilterService { protected logger: ILogger; protected botHelper: BotHelper; diff --git a/TypeScript/9RouterHooks/types/services/BotEquipmentModPoolService.d.ts b/TypeScript/9RouterHooks/types/services/BotEquipmentModPoolService.d.ts index 8cca127..c53f31b 100644 --- a/TypeScript/9RouterHooks/types/services/BotEquipmentModPoolService.d.ts +++ b/TypeScript/9RouterHooks/types/services/BotEquipmentModPoolService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Mods } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Mods } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { VFS } from "@spt/utils/VFS"; /** Store a mapping between weapons, their slots and the items that fit those slots */ export declare class BotEquipmentModPoolService { protected logger: ILogger; diff --git a/TypeScript/9RouterHooks/types/services/BotGenerationCacheService.d.ts b/TypeScript/9RouterHooks/types/services/BotGenerationCacheService.d.ts index 4c2ce9c..ba27266 100644 --- a/TypeScript/9RouterHooks/types/services/BotGenerationCacheService.d.ts +++ b/TypeScript/9RouterHooks/types/services/BotGenerationCacheService.d.ts @@ -1,8 +1,8 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class BotGenerationCacheService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/9RouterHooks/types/services/BotLootCacheService.d.ts b/TypeScript/9RouterHooks/types/services/BotLootCacheService.d.ts index 7b56a12..57d56af 100644 --- a/TypeScript/9RouterHooks/types/services/BotLootCacheService.d.ts +++ b/TypeScript/9RouterHooks/types/services/BotLootCacheService.d.ts @@ -1,13 +1,13 @@ -import { PMCLootGenerator } from "@spt-aki/generators/PMCLootGenerator"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IBotType } from "@spt-aki/models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotLootCache, LootCacheType } from "@spt-aki/models/spt/bots/IBotLootCache"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IBotType } from "@spt/models/eft/common/tables/IBotType"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class BotLootCacheService { protected logger: ILogger; protected itemHelper: ItemHelper; diff --git a/TypeScript/9RouterHooks/types/services/BotWeaponModLimitService.d.ts b/TypeScript/9RouterHooks/types/services/BotWeaponModLimitService.d.ts index cf530a9..63c4967 100644 --- a/TypeScript/9RouterHooks/types/services/BotWeaponModLimitService.d.ts +++ b/TypeScript/9RouterHooks/types/services/BotWeaponModLimitService.d.ts @@ -1,9 +1,9 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "@spt-aki/models/spt/config/IBotConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBotConfig } from "@spt/models/spt/config/IBotConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; export declare class BotModLimits { scope: ItemCount; scopeMax: number; diff --git a/TypeScript/9RouterHooks/types/services/CustomLocationWaveService.d.ts b/TypeScript/9RouterHooks/types/services/CustomLocationWaveService.d.ts index 8232364..728a1e8 100644 --- a/TypeScript/9RouterHooks/types/services/CustomLocationWaveService.d.ts +++ b/TypeScript/9RouterHooks/types/services/CustomLocationWaveService.d.ts @@ -1,9 +1,9 @@ -import { BossLocationSpawn, Wave } from "@spt-aki/models/eft/common/ILocationBase"; -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { BossLocationSpawn, Wave } from "@spt/models/eft/common/ILocationBase"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class CustomLocationWaveService { protected logger: ILogger; protected randomUtil: RandomUtil; diff --git a/TypeScript/9RouterHooks/types/services/FenceService.d.ts b/TypeScript/9RouterHooks/types/services/FenceService.d.ts index b0fa697..0e75ae6 100644 --- a/TypeScript/9RouterHooks/types/services/FenceService.d.ts +++ b/TypeScript/9RouterHooks/types/services/FenceService.d.ts @@ -1,21 +1,21 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { IFenceLevel } from "@spt-aki/models/eft/common/IGlobals"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item, Repairable } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IBarterScheme, ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ICreateFenceAssortsResult } from "@spt-aki/models/spt/fence/ICreateFenceAssortsResult"; -import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt-aki/models/spt/fence/IFenceAssortGenerationValues"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { IFenceLevel } from "@spt/models/eft/common/IGlobals"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item, Repairable } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IBarterScheme, ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; +import { IItemDurabilityCurrentMax, ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ICreateFenceAssortsResult } from "@spt/models/spt/fence/ICreateFenceAssortsResult"; +import { IFenceAssortGenerationValues, IGenerationAssortValues } from "@spt/models/spt/fence/IFenceAssortGenerationValues"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Handle actions surrounding Fence * e.g. generating or refreshing assorts / get next refresh time diff --git a/TypeScript/9RouterHooks/types/services/GiftService.d.ts b/TypeScript/9RouterHooks/types/services/GiftService.d.ts index 2dbf09a..aca276c 100644 --- a/TypeScript/9RouterHooks/types/services/GiftService.d.ts +++ b/TypeScript/9RouterHooks/types/services/GiftService.d.ts @@ -1,21 +1,23 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { GiftSentResult } from "@spt-aki/models/enums/GiftSentResult"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Gift, IGiftsConfig } from "@spt-aki/models/spt/config/IGiftsConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { GiftSentResult } from "@spt/models/enums/GiftSentResult"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Gift, IGiftsConfig } from "@spt/models/spt/config/IGiftsConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class GiftService { protected logger: ILogger; protected mailSendService: MailSendService; + protected localisationService: LocalisationService; protected hashUtil: HashUtil; protected timeUtil: TimeUtil; protected profileHelper: ProfileHelper; protected configServer: ConfigServer; protected giftConfig: IGiftsConfig; - constructor(logger: ILogger, mailSendService: MailSendService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); + constructor(logger: ILogger, mailSendService: MailSendService, localisationService: LocalisationService, hashUtil: HashUtil, timeUtil: TimeUtil, profileHelper: ProfileHelper, configServer: ConfigServer); /** * Does a gift with a specific ID exist in db * @param giftId Gift id to check for diff --git a/TypeScript/9RouterHooks/types/services/InsuranceService.d.ts b/TypeScript/9RouterHooks/types/services/InsuranceService.d.ts index b024e4d..5492a56 100644 --- a/TypeScript/9RouterHooks/types/services/InsuranceService.d.ts +++ b/TypeScript/9RouterHooks/types/services/InsuranceService.d.ts @@ -1,27 +1,27 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { SecureContainerHelper } from "@spt-aki/helpers/SecureContainerHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITraderBase } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IInsuredItemsData } from "@spt-aki/models/eft/inRaid/IInsuredItemsData"; -import { ISaveProgressRequestData } from "@spt-aki/models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "@spt-aki/models/spt/config/IInsuranceConfig"; -import { ILostOnDeathConfig } from "@spt-aki/models/spt/config/ILostOnDeathConfig"; -import { IInsuranceEquipmentPkg } from "@spt-aki/models/spt/services/IInsuranceEquipmentPkg"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MailSendService } from "@spt-aki/services/MailSendService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { SecureContainerHelper } from "@spt/helpers/SecureContainerHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITraderBase } from "@spt/models/eft/common/tables/ITrader"; +import { IInsuredItemsData } from "@spt/models/eft/inRaid/IInsuredItemsData"; +import { ISaveProgressRequestData } from "@spt/models/eft/inRaid/ISaveProgressRequestData"; +import { IInsuranceConfig } from "@spt/models/spt/config/IInsuranceConfig"; +import { ILostOnDeathConfig } from "@spt/models/spt/config/ILostOnDeathConfig"; +import { IInsuranceEquipmentPkg } from "@spt/models/spt/services/IInsuranceEquipmentPkg"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MailSendService } from "@spt/services/MailSendService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class InsuranceService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/9RouterHooks/types/services/ItemBaseClassService.d.ts b/TypeScript/9RouterHooks/types/services/ItemBaseClassService.d.ts index 8a5b5c5..9c6e6c8 100644 --- a/TypeScript/9RouterHooks/types/services/ItemBaseClassService.d.ts +++ b/TypeScript/9RouterHooks/types/services/ItemBaseClassService.d.ts @@ -1,7 +1,7 @@ -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** * Cache the baseids for each item in the tiems db inside a dictionary */ diff --git a/TypeScript/9RouterHooks/types/services/ItemFilterService.d.ts b/TypeScript/9RouterHooks/types/services/ItemFilterService.d.ts index dea17d7..fde948b 100644 --- a/TypeScript/9RouterHooks/types/services/ItemFilterService.d.ts +++ b/TypeScript/9RouterHooks/types/services/ItemFilterService.d.ts @@ -1,7 +1,7 @@ -import { IItemConfig } from "@spt-aki/models/spt/config/IItemConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { IItemConfig } from "@spt/models/spt/config/IItemConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items */ export declare class ItemFilterService { protected logger: ILogger; diff --git a/TypeScript/9RouterHooks/types/services/LocaleService.d.ts b/TypeScript/9RouterHooks/types/services/LocaleService.d.ts index d51859d..2326dcc 100644 --- a/TypeScript/9RouterHooks/types/services/LocaleService.d.ts +++ b/TypeScript/9RouterHooks/types/services/LocaleService.d.ts @@ -1,7 +1,7 @@ -import { ILocaleConfig } from "@spt-aki/models/spt/config/ILocaleConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ILocaleConfig } from "@spt/models/spt/config/ILocaleConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; /** * Handles getting locales from config or users machine */ diff --git a/TypeScript/9RouterHooks/types/services/LocalisationService.d.ts b/TypeScript/9RouterHooks/types/services/LocalisationService.d.ts index c12e465..42dfa4e 100644 --- a/TypeScript/9RouterHooks/types/services/LocalisationService.d.ts +++ b/TypeScript/9RouterHooks/types/services/LocalisationService.d.ts @@ -1,8 +1,8 @@ import { I18n } from "i18n"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocaleService } from "@spt-aki/services/LocaleService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocaleService } from "@spt/services/LocaleService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Handles translating server text into different langauges */ diff --git a/TypeScript/9RouterHooks/types/services/MailSendService.d.ts b/TypeScript/9RouterHooks/types/services/MailSendService.d.ts index e5643f9..176e5f8 100644 --- a/TypeScript/9RouterHooks/types/services/MailSendService.d.ts +++ b/TypeScript/9RouterHooks/types/services/MailSendService.d.ts @@ -1,19 +1,19 @@ -import { DialogueHelper } from "@spt-aki/helpers/DialogueHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { NotifierHelper } from "@spt-aki/helpers/NotifierHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { MessageType } from "@spt-aki/models/enums/MessageType"; -import { Traders } from "@spt-aki/models/enums/Traders"; -import { IProfileChangeEvent, ISendMessageDetails } from "@spt-aki/models/spt/dialog/ISendMessageDetails"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { DialogueHelper } from "@spt/helpers/DialogueHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { NotifierHelper } from "@spt/helpers/NotifierHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { Dialogue, IUserDialogInfo, Message, MessageItems } from "@spt/models/eft/profile/ISptProfile"; +import { MessageType } from "@spt/models/enums/MessageType"; +import { Traders } from "@spt/models/enums/Traders"; +import { IProfileChangeEvent, ISendMessageDetails } from "@spt/models/spt/dialog/ISendMessageDetails"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MailSendService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/services/MatchBotDetailsCacheService.d.ts b/TypeScript/9RouterHooks/types/services/MatchBotDetailsCacheService.d.ts index 6521719..e899577 100644 --- a/TypeScript/9RouterHooks/types/services/MatchBotDetailsCacheService.d.ts +++ b/TypeScript/9RouterHooks/types/services/MatchBotDetailsCacheService.d.ts @@ -1,6 +1,6 @@ -import { IBotBase } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { IBotBase } from "@spt/models/eft/common/tables/IBotBase"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { LocalisationService } from "@spt/services/LocalisationService"; /** Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name */ export declare class MatchBotDetailsCacheService { protected logger: ILogger; diff --git a/TypeScript/9RouterHooks/types/services/MatchLocationService.d.ts b/TypeScript/9RouterHooks/types/services/MatchLocationService.d.ts index 43a66be..dafa99a 100644 --- a/TypeScript/9RouterHooks/types/services/MatchLocationService.d.ts +++ b/TypeScript/9RouterHooks/types/services/MatchLocationService.d.ts @@ -1,5 +1,5 @@ -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected saveServer: SaveServer; diff --git a/TypeScript/9RouterHooks/types/services/ModCompilerService.d.ts b/TypeScript/9RouterHooks/types/services/ModCompilerService.d.ts index 51508ac..eb4298c 100644 --- a/TypeScript/9RouterHooks/types/services/ModCompilerService.d.ts +++ b/TypeScript/9RouterHooks/types/services/ModCompilerService.d.ts @@ -1,7 +1,7 @@ -import ts from "typescript"; -import type { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ModHashCacheService } from "@spt-aki/services/cache/ModHashCacheService"; -import { VFS } from "@spt-aki/utils/VFS"; +import { CompilerOptions } from "typescript"; +import type { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ModHashCacheService } from "@spt/services/cache/ModHashCacheService"; +import { VFS } from "@spt/utils/VFS"; export declare class ModCompilerService { protected logger: ILogger; protected modHashCacheService: ModHashCacheService; @@ -21,7 +21,7 @@ export declare class ModCompilerService { * @param fileNames Paths to TS files * @param options Compiler options */ - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; + protected compile(fileNames: string[], options: CompilerOptions): Promise; /** * Do the files at the provided paths exist * @param fileNames diff --git a/TypeScript/9RouterHooks/types/services/NotificationService.d.ts b/TypeScript/9RouterHooks/types/services/NotificationService.d.ts index 81cc13d..69d895a 100644 --- a/TypeScript/9RouterHooks/types/services/NotificationService.d.ts +++ b/TypeScript/9RouterHooks/types/services/NotificationService.d.ts @@ -1,4 +1,4 @@ -import { IWsNotificationEvent } from "@spt-aki/models/eft/ws/IWsNotificationEvent"; +import { IWsNotificationEvent } from "@spt/models/eft/ws/IWsNotificationEvent"; export declare class NotificationService { protected messageQueue: Record; getMessageQueue(): Record; diff --git a/TypeScript/9RouterHooks/types/services/OpenZoneService.d.ts b/TypeScript/9RouterHooks/types/services/OpenZoneService.d.ts index d423a14..1bc5f00 100644 --- a/TypeScript/9RouterHooks/types/services/OpenZoneService.d.ts +++ b/TypeScript/9RouterHooks/types/services/OpenZoneService.d.ts @@ -1,9 +1,9 @@ -import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** Service for adding new zones to a maps OpenZones property */ export declare class OpenZoneService { protected logger: ILogger; diff --git a/TypeScript/9RouterHooks/types/services/PaymentService.d.ts b/TypeScript/9RouterHooks/types/services/PaymentService.d.ts index 0df23b4..8d77ae2 100644 --- a/TypeScript/9RouterHooks/types/services/PaymentService.d.ts +++ b/TypeScript/9RouterHooks/types/services/PaymentService.d.ts @@ -1,18 +1,18 @@ -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "@spt-aki/models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "@spt-aki/models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { IProcessBuyTradeRequestData } from "@spt/models/eft/trade/IProcessBuyTradeRequestData"; +import { IProcessSellTradeRequestData } from "@spt/models/eft/trade/IProcessSellTradeRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; export declare class PaymentService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/services/PlayerService.d.ts b/TypeScript/9RouterHooks/types/services/PlayerService.d.ts index f24e0dc..ae57410 100644 --- a/TypeScript/9RouterHooks/types/services/PlayerService.d.ts +++ b/TypeScript/9RouterHooks/types/services/PlayerService.d.ts @@ -1,8 +1,8 @@ -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class PlayerService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/9RouterHooks/types/services/PmcChatResponseService.d.ts b/TypeScript/9RouterHooks/types/services/PmcChatResponseService.d.ts index 1d38e2c..cc172c0 100644 --- a/TypeScript/9RouterHooks/types/services/PmcChatResponseService.d.ts +++ b/TypeScript/9RouterHooks/types/services/PmcChatResponseService.d.ts @@ -1,15 +1,15 @@ -import { NotificationSendHelper } from "@spt-aki/helpers/NotificationSendHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Aggressor, Victim } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { IPmcChatResponse } from "@spt-aki/models/spt/config/IPmChatResponse"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { MatchBotDetailsCacheService } from "@spt-aki/services/MatchBotDetailsCacheService"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { NotificationSendHelper } from "@spt/helpers/NotificationSendHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Aggressor, Victim } from "@spt/models/eft/common/tables/IBotBase"; +import { IUserDialogInfo } from "@spt/models/eft/profile/ISptProfile"; +import { IPmcChatResponse } from "@spt/models/spt/config/IPmChatResponse"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { MatchBotDetailsCacheService } from "@spt/services/MatchBotDetailsCacheService"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class PmcChatResponseService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/services/ProfileFixerService.d.ts b/TypeScript/9RouterHooks/types/services/ProfileFixerService.d.ts index 26425ae..18da0c0 100644 --- a/TypeScript/9RouterHooks/types/services/ProfileFixerService.d.ts +++ b/TypeScript/9RouterHooks/types/services/ProfileFixerService.d.ts @@ -1,26 +1,26 @@ -import { HideoutHelper } from "@spt-aki/helpers/HideoutHelper"; -import { InventoryHelper } from "@spt-aki/helpers/InventoryHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Bonus, HideoutSlot } from "@spt-aki/models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { StageBonus } from "@spt-aki/models/eft/hideout/IHideoutArea"; -import { IAkiProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; -import { Watermark } from "@spt-aki/utils/Watermark"; +import { HideoutHelper } from "@spt/helpers/HideoutHelper"; +import { InventoryHelper } from "@spt/helpers/InventoryHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Bonus, HideoutSlot } from "@spt/models/eft/common/tables/IBotBase"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { StageBonus } from "@spt/models/eft/hideout/IHideoutArea"; +import { ISptProfile, IEquipmentBuild, IMagazineBuild, IWeaponBuild } from "@spt/models/eft/profile/ISptProfile"; +import { HideoutAreas } from "@spt/models/enums/HideoutAreas"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; +import { Watermark } from "@spt/utils/Watermark"; export declare class ProfileFixerService { protected logger: ILogger; protected watermark: Watermark; @@ -58,7 +58,7 @@ export declare class ProfileFixerService { * Add tag to profile to indicate when it was made * @param fullProfile */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + addMissingSptVersionTagToProfile(fullProfile: ISptProfile): void; /** * TODO - make this non-public - currently used by RepeatableQuestController * Remove unused condition counters @@ -121,7 +121,7 @@ export declare class ProfileFixerService { * @param sessionId Session id * @param pmcProfile Profile to check inventory of */ - checkForOrphanedModdedItems(sessionId: string, fullProfile: IAkiProfile): void; + checkForOrphanedModdedItems(sessionId: string, fullProfile: ISptProfile): void; /** * @param buildType The type of build, used for logging only * @param build The build to check for invalid items @@ -149,7 +149,7 @@ export declare class ProfileFixerService { * Iterate over associated profile template and check all hideout areas exist, add if not * @param fullProfile Profile to update */ - addMissingHideoutAreasToProfile(fullProfile: IAkiProfile): void; + addMissingHideoutAreasToProfile(fullProfile: ISptProfile): void; /** * These used to be used for storing scav case rewards, rewards are now generated on pickup * @param pmcProfile Profile to update @@ -160,12 +160,12 @@ export declare class ProfileFixerService { * We store the old AID value in new field `sessionId` * @param fullProfile Profile to update */ - fixIncorrectAidValue(fullProfile: IAkiProfile): void; + fixIncorrectAidValue(fullProfile: ISptProfile): void; /** * Bsg nested `stats` into a sub object called 'eft' * @param fullProfile Profile to check for and migrate stats data */ - migrateStatsToNewStructure(fullProfile: IAkiProfile): void; + migrateStatsToNewStructure(fullProfile: ISptProfile): void; /** * 26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets * @param pmcProfile Profile to add missing IDs to diff --git a/TypeScript/9RouterHooks/types/services/ProfileSnapshotService.d.ts b/TypeScript/9RouterHooks/types/services/ProfileSnapshotService.d.ts index 652bc92..5bb718b 100644 --- a/TypeScript/9RouterHooks/types/services/ProfileSnapshotService.d.ts +++ b/TypeScript/9RouterHooks/types/services/ProfileSnapshotService.d.ts @@ -1,21 +1,21 @@ -import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ISptProfile } from "@spt/models/eft/profile/ISptProfile"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class ProfileSnapshotService { protected cloner: ICloner; - protected storedProfileSnapshots: Record; + protected storedProfileSnapshots: Record; constructor(cloner: ICloner); /** * Store a profile into an in-memory object * @param sessionID session id - acts as the key * @param profile - profile to save */ - storeProfileSnapshot(sessionID: string, profile: IAkiProfile): void; + storeProfileSnapshot(sessionID: string, profile: ISptProfile): void; /** * Retreve a stored profile * @param sessionID key * @returns A player profile object */ - getProfileSnapshot(sessionID: string): IAkiProfile; + getProfileSnapshot(sessionID: string): ISptProfile; /** * Does a profile exists against the provided key * @param sessionID key diff --git a/TypeScript/9RouterHooks/types/services/RagfairCategoriesService.d.ts b/TypeScript/9RouterHooks/types/services/RagfairCategoriesService.d.ts index ef40275..c1ecb2d 100644 --- a/TypeScript/9RouterHooks/types/services/RagfairCategoriesService.d.ts +++ b/TypeScript/9RouterHooks/types/services/RagfairCategoriesService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ISearchRequestData } from "@spt/models/eft/ragfair/ISearchRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare class RagfairCategoriesService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/9RouterHooks/types/services/RagfairLinkedItemService.d.ts b/TypeScript/9RouterHooks/types/services/RagfairLinkedItemService.d.ts index 3d607ac..6011c1a 100644 --- a/TypeScript/9RouterHooks/types/services/RagfairLinkedItemService.d.ts +++ b/TypeScript/9RouterHooks/types/services/RagfairLinkedItemService.d.ts @@ -1,6 +1,6 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; export declare class RagfairLinkedItemService { protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; diff --git a/TypeScript/9RouterHooks/types/services/RagfairOfferService.d.ts b/TypeScript/9RouterHooks/types/services/RagfairOfferService.d.ts index 80bf353..04d5265 100644 --- a/TypeScript/9RouterHooks/types/services/RagfairOfferService.d.ts +++ b/TypeScript/9RouterHooks/types/services/RagfairOfferService.d.ts @@ -1,17 +1,17 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { SaveServer } from "@spt-aki/servers/SaveServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; -import { RagfairOfferHolder } from "@spt-aki/utils/RagfairOfferHolder"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { EventOutputHolder } from "@spt/routers/EventOutputHolder"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { SaveServer } from "@spt/servers/SaveServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { HttpResponseUtil } from "@spt/utils/HttpResponseUtil"; +import { RagfairOfferHolder } from "@spt/utils/RagfairOfferHolder"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/9RouterHooks/types/services/RagfairPriceService.d.ts b/TypeScript/9RouterHooks/types/services/RagfairPriceService.d.ts index f89967c..5b8fa56 100644 --- a/TypeScript/9RouterHooks/types/services/RagfairPriceService.d.ts +++ b/TypeScript/9RouterHooks/types/services/RagfairPriceService.d.ts @@ -1,20 +1,20 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { HandbookHelper } from "@spt-aki/helpers/HandbookHelper"; -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { PresetHelper } from "@spt-aki/helpers/PresetHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { MinMax } from "@spt-aki/models/common/MinMax"; -import { IPreset } from "@spt-aki/models/eft/common/IGlobals"; -import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { IBarterScheme } from "@spt-aki/models/eft/common/tables/ITrader"; -import { IRagfairConfig, IUnreasonableModPrices } from "@spt-aki/models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "@spt-aki/models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { HandbookHelper } from "@spt/helpers/HandbookHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { PresetHelper } from "@spt/helpers/PresetHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { MinMax } from "@spt/models/common/MinMax"; +import { IPreset } from "@spt/models/eft/common/IGlobals"; +import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { IBarterScheme } from "@spt/models/eft/common/tables/ITrader"; +import { IRagfairConfig, IUnreasonableModPrices } from "@spt/models/spt/config/IRagfairConfig"; +import { IRagfairServerPrices } from "@spt/models/spt/ragfair/IRagfairServerPrices"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; /** * Stores flea prices for items as well as methods to interact with them */ @@ -29,8 +29,6 @@ export declare class RagfairPriceService implements OnLoad { protected localisationService: LocalisationService; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - protected generatedDynamicPrices: boolean; - protected generatedStaticPrices: boolean; protected prices: IRagfairServerPrices; constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, traderHelper: TraderHelper, randomUtil: RandomUtil, localisationService: LocalisationService, configServer: ConfigServer); /** @@ -41,11 +39,11 @@ export declare class RagfairPriceService implements OnLoad { /** * Iterate over all items of type "Item" in db and get template price, store in cache */ - generateStaticPrices(): void; + refreshStaticPrices(): void; /** - * Create a dictionary and store prices from prices.json in it + * Copy the prices.json data into our dynamic price dictionary */ - generateDynamicPrices(): void; + refreshDynamicPrices(): void; /** * Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. * if no static value, return 1 @@ -61,7 +59,6 @@ export declare class RagfairPriceService implements OnLoad { getFleaPriceForOfferItems(offerItems: Item[]): number; /** * get the dynamic (flea) price for an item - * Grabs prices from prices.json and stores in class if none currently exist * @param itemTpl item template id to look up * @returns price in roubles */ @@ -74,6 +71,7 @@ export declare class RagfairPriceService implements OnLoad { getStaticPriceForItem(itemTpl: string): number; /** * Get prices for all items on flea, prioritize handbook prices first, use prices from prices.json if missing + * This will refresh the caches prior to building the output * @returns Dictionary of item tpls and rouble cost */ getAllFleaPrices(): Record; diff --git a/TypeScript/9RouterHooks/types/services/RagfairRequiredItemsService.d.ts b/TypeScript/9RouterHooks/types/services/RagfairRequiredItemsService.d.ts index 6749c68..cfc224d 100644 --- a/TypeScript/9RouterHooks/types/services/RagfairRequiredItemsService.d.ts +++ b/TypeScript/9RouterHooks/types/services/RagfairRequiredItemsService.d.ts @@ -1,7 +1,7 @@ -import { PaymentHelper } from "@spt-aki/helpers/PaymentHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { RagfairOfferService } from "@spt-aki/services/RagfairOfferService"; +import { PaymentHelper } from "@spt/helpers/PaymentHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { RagfairOfferService } from "@spt/services/RagfairOfferService"; export declare class RagfairRequiredItemsService { protected logger: ILogger; protected paymentHelper: PaymentHelper; diff --git a/TypeScript/9RouterHooks/types/services/RagfairTaxService.d.ts b/TypeScript/9RouterHooks/types/services/RagfairTaxService.d.ts index dd9cc5f..4e4e648 100644 --- a/TypeScript/9RouterHooks/types/services/RagfairTaxService.d.ts +++ b/TypeScript/9RouterHooks/types/services/RagfairTaxService.d.ts @@ -1,11 +1,11 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IStorePlayerOfferTaxAmountRequestData } from "@spt-aki/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RagfairPriceService } from "@spt-aki/services/RagfairPriceService"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IStorePlayerOfferTaxAmountRequestData } from "@spt/models/eft/ragfair/IStorePlayerOfferTaxAmountRequestData"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RagfairPriceService } from "@spt/services/RagfairPriceService"; export declare class RagfairTaxService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/9RouterHooks/types/services/RaidTimeAdjustmentService.d.ts b/TypeScript/9RouterHooks/types/services/RaidTimeAdjustmentService.d.ts index a2a223a..e2a4237 100644 --- a/TypeScript/9RouterHooks/types/services/RaidTimeAdjustmentService.d.ts +++ b/TypeScript/9RouterHooks/types/services/RaidTimeAdjustmentService.d.ts @@ -1,14 +1,14 @@ -import { ApplicationContext } from "@spt-aki/context/ApplicationContext"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { ILocationBase } from "@spt-aki/models/eft/common/ILocationBase"; -import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest"; -import { ExtractChange, IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse"; -import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt-aki/models/spt/config/ILocationConfig"; -import { IRaidChanges } from "@spt-aki/models/spt/location/IRaidChanges"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ApplicationContext } from "@spt/context/ApplicationContext"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { ILocationBase } from "@spt/models/eft/common/ILocationBase"; +import { IGetRaidTimeRequest } from "@spt/models/eft/game/IGetRaidTimeRequest"; +import { ExtractChange, IGetRaidTimeResponse } from "@spt/models/eft/game/IGetRaidTimeResponse"; +import { ILocationConfig, IScavRaidTimeLocationSettings, LootMultiplier } from "@spt/models/spt/config/ILocationConfig"; +import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RaidTimeAdjustmentService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/9RouterHooks/types/services/RepairService.d.ts b/TypeScript/9RouterHooks/types/services/RepairService.d.ts index cc90eee..9203417 100644 --- a/TypeScript/9RouterHooks/types/services/RepairService.d.ts +++ b/TypeScript/9RouterHooks/types/services/RepairService.d.ts @@ -1,23 +1,23 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { RepairHelper } from "@spt-aki/helpers/RepairHelper"; -import { TraderHelper } from "@spt-aki/helpers/TraderHelper"; -import { WeightedRandomHelper } from "@spt-aki/helpers/WeightedRandomHelper"; -import { IPmcData } from "@spt-aki/models/eft/common/IPmcData"; -import { Item } from "@spt-aki/models/eft/common/tables/IItem"; -import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairKitsInfo } from "@spt-aki/models/eft/repair/IRepairActionDataRequest"; -import { RepairItem } from "@spt-aki/models/eft/repair/ITraderRepairActionDataRequest"; -import { BonusType } from "@spt-aki/models/enums/BonusType"; -import { SkillTypes } from "@spt-aki/models/enums/SkillTypes"; -import { BonusSettings, IRepairConfig } from "@spt-aki/models/spt/config/IRepairConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { PaymentService } from "@spt-aki/services/PaymentService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { RepairHelper } from "@spt/helpers/RepairHelper"; +import { TraderHelper } from "@spt/helpers/TraderHelper"; +import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper"; +import { IPmcData } from "@spt/models/eft/common/IPmcData"; +import { Item } from "@spt/models/eft/common/tables/IItem"; +import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { RepairKitsInfo } from "@spt/models/eft/repair/IRepairActionDataRequest"; +import { RepairItem } from "@spt/models/eft/repair/ITraderRepairActionDataRequest"; +import { BonusType } from "@spt/models/enums/BonusType"; +import { SkillTypes } from "@spt/models/enums/SkillTypes"; +import { BonusSettings, IRepairConfig } from "@spt/models/spt/config/IRepairConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { PaymentService } from "@spt/services/PaymentService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; export declare class RepairService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/9RouterHooks/types/services/SeasonalEventService.d.ts b/TypeScript/9RouterHooks/types/services/SeasonalEventService.d.ts index ecb34fa..4162e14 100644 --- a/TypeScript/9RouterHooks/types/services/SeasonalEventService.d.ts +++ b/TypeScript/9RouterHooks/types/services/SeasonalEventService.d.ts @@ -1,19 +1,19 @@ -import { BotHelper } from "@spt-aki/helpers/BotHelper"; -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { IConfig } from "@spt-aki/models/eft/common/IGlobals"; -import { Inventory } from "@spt-aki/models/eft/common/tables/IBotType"; -import { Season } from "@spt-aki/models/enums/Season"; -import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { IQuestConfig } from "@spt-aki/models/spt/config/IQuestConfig"; -import { ISeasonalEvent, ISeasonalEventConfig } from "@spt-aki/models/spt/config/ISeasonalEventConfig"; -import { IWeatherConfig } from "@spt-aki/models/spt/config/IWeatherConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { GiftService } from "@spt-aki/services/GiftService"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { DatabaseImporter } from "@spt-aki/utils/DatabaseImporter"; +import { BotHelper } from "@spt/helpers/BotHelper"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { IConfig } from "@spt/models/eft/common/IGlobals"; +import { Inventory } from "@spt/models/eft/common/tables/IBotType"; +import { Season } from "@spt/models/enums/Season"; +import { SeasonalEventType } from "@spt/models/enums/SeasonalEventType"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { IQuestConfig } from "@spt/models/spt/config/IQuestConfig"; +import { ISeasonalEvent, ISeasonalEventConfig } from "@spt/models/spt/config/ISeasonalEventConfig"; +import { IWeatherConfig } from "@spt/models/spt/config/IWeatherConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { GiftService } from "@spt/services/GiftService"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { DatabaseImporter } from "@spt/utils/DatabaseImporter"; export declare class SeasonalEventService { protected logger: ILogger; protected databaseServer: DatabaseServer; diff --git a/TypeScript/9RouterHooks/types/services/TraderAssortService.d.ts b/TypeScript/9RouterHooks/types/services/TraderAssortService.d.ts index 9130de6..48af0b7 100644 --- a/TypeScript/9RouterHooks/types/services/TraderAssortService.d.ts +++ b/TypeScript/9RouterHooks/types/services/TraderAssortService.d.ts @@ -1,4 +1,4 @@ -import { ITraderAssort } from "@spt-aki/models/eft/common/tables/ITrader"; +import { ITraderAssort } from "@spt/models/eft/common/tables/ITrader"; export declare class TraderAssortService { protected pristineTraderAssorts: Record; getPristineTraderAssort(traderId: string): ITraderAssort; diff --git a/TypeScript/9RouterHooks/types/services/TraderPurchasePersisterService.d.ts b/TypeScript/9RouterHooks/types/services/TraderPurchasePersisterService.d.ts index 92aaec3..0ad76c9 100644 --- a/TypeScript/9RouterHooks/types/services/TraderPurchasePersisterService.d.ts +++ b/TypeScript/9RouterHooks/types/services/TraderPurchasePersisterService.d.ts @@ -1,11 +1,11 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { TraderPurchaseData } from "@spt-aki/models/eft/profile/IAkiProfile"; -import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { RandomUtil } from "@spt-aki/utils/RandomUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { TraderPurchaseData } from "@spt/models/eft/profile/ISptProfile"; +import { ITraderConfig } from "@spt/models/spt/config/ITraderConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { RandomUtil } from "@spt/utils/RandomUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; /** * Help with storing limited item purchases from traders in profile to persist them over server restarts */ diff --git a/TypeScript/9RouterHooks/types/services/TraderServicesService.d.ts b/TypeScript/9RouterHooks/types/services/TraderServicesService.d.ts index cfad219..111c71a 100644 --- a/TypeScript/9RouterHooks/types/services/TraderServicesService.d.ts +++ b/TypeScript/9RouterHooks/types/services/TraderServicesService.d.ts @@ -1,8 +1,8 @@ -import { ProfileHelper } from "@spt-aki/helpers/ProfileHelper"; -import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import { ProfileHelper } from "@spt/helpers/ProfileHelper"; +import { ITraderServiceModel } from "@spt/models/spt/services/ITraderServiceModel"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ICloner } from "@spt/utils/cloners/ICloner"; export declare class TraderServicesService { protected profileHelper: ProfileHelper; protected logger: ILogger; diff --git a/TypeScript/9RouterHooks/types/services/cache/BundleHashCacheService.d.ts b/TypeScript/9RouterHooks/types/services/cache/BundleHashCacheService.d.ts index 00f5e4c..f8289c2 100644 --- a/TypeScript/9RouterHooks/types/services/cache/BundleHashCacheService.d.ts +++ b/TypeScript/9RouterHooks/types/services/cache/BundleHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class BundleHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/services/cache/ModHashCacheService.d.ts b/TypeScript/9RouterHooks/types/services/cache/ModHashCacheService.d.ts index dd33640..3cb8ff8 100644 --- a/TypeScript/9RouterHooks/types/services/cache/ModHashCacheService.d.ts +++ b/TypeScript/9RouterHooks/types/services/cache/ModHashCacheService.d.ts @@ -1,7 +1,7 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ModHashCacheService { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/services/mod/CustomItemService.d.ts b/TypeScript/9RouterHooks/types/services/mod/CustomItemService.d.ts index 8af560d..0c82e8b 100644 --- a/TypeScript/9RouterHooks/types/services/mod/CustomItemService.d.ts +++ b/TypeScript/9RouterHooks/types/services/mod/CustomItemService.d.ts @@ -1,12 +1,12 @@ -import { ItemHelper } from "@spt-aki/helpers/ItemHelper"; -import { ITemplateItem, Props } from "@spt-aki/models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt-aki/models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "@spt-aki/models/spt/server/IDatabaseTables"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { ItemBaseClassService } from "@spt-aki/services/ItemBaseClassService"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ITemplateItem, Props } from "@spt/models/eft/common/tables/ITemplateItem"; +import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "@spt/models/spt/mod/NewItemDetails"; +import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { ItemBaseClassService } from "@spt/services/ItemBaseClassService"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { HashUtil } from "@spt/utils/HashUtil"; export declare class CustomItemService { protected logger: ILogger; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/TypeScript/9RouterHooks/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts index 5eed5b4..bb969b3 100644 --- a/TypeScript/9RouterHooks/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ b/TypeScript/9RouterHooks/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts @@ -1,4 +1,4 @@ -import { DynamicRouter, RouteAction } from "@spt-aki/di/Router"; +import { DynamicRouter, RouteAction } from "@spt/di/Router"; export declare class DynamicRouterMod extends DynamicRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/9RouterHooks/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/TypeScript/9RouterHooks/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts index 648d191..3c9d955 100644 --- a/TypeScript/9RouterHooks/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ b/TypeScript/9RouterHooks/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class DynamicRouterModService { private container; constructor(container: DependencyContainer); diff --git a/TypeScript/9RouterHooks/types/services/mod/httpListener/HttpListenerMod.d.ts b/TypeScript/9RouterHooks/types/services/mod/httpListener/HttpListenerMod.d.ts index 723b78d..75e42ee 100644 --- a/TypeScript/9RouterHooks/types/services/mod/httpListener/HttpListenerMod.d.ts +++ b/TypeScript/9RouterHooks/types/services/mod/httpListener/HttpListenerMod.d.ts @@ -1,6 +1,6 @@ /// import { IncomingMessage, ServerResponse } from "node:http"; -import { IHttpListener } from "@spt-aki/servers/http/IHttpListener"; +import { IHttpListener } from "@spt/servers/http/IHttpListener"; export declare class HttpListenerMod implements IHttpListener { private canHandleOverride; private handleOverride; diff --git a/TypeScript/9RouterHooks/types/services/mod/onLoad/OnLoadMod.d.ts b/TypeScript/9RouterHooks/types/services/mod/onLoad/OnLoadMod.d.ts index 2bd5a31..6544704 100644 --- a/TypeScript/9RouterHooks/types/services/mod/onLoad/OnLoadMod.d.ts +++ b/TypeScript/9RouterHooks/types/services/mod/onLoad/OnLoadMod.d.ts @@ -1,4 +1,4 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; +import { OnLoad } from "@spt/di/OnLoad"; export declare class OnLoadMod implements OnLoad { private onLoadOverride; private getRouteOverride; diff --git a/TypeScript/9RouterHooks/types/services/mod/onUpdate/OnUpdateMod.d.ts b/TypeScript/9RouterHooks/types/services/mod/onUpdate/OnUpdateMod.d.ts index bef1d1c..3a8a26f 100644 --- a/TypeScript/9RouterHooks/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ b/TypeScript/9RouterHooks/types/services/mod/onUpdate/OnUpdateMod.d.ts @@ -1,4 +1,4 @@ -import { OnUpdate } from "@spt-aki/di/OnUpdate"; +import { OnUpdate } from "@spt/di/OnUpdate"; export declare class OnUpdateMod implements OnUpdate { private onUpdateOverride; private getRouteOverride; diff --git a/TypeScript/9RouterHooks/types/services/mod/staticRouter/StaticRouterMod.d.ts b/TypeScript/9RouterHooks/types/services/mod/staticRouter/StaticRouterMod.d.ts index e01aaab..48bf4a1 100644 --- a/TypeScript/9RouterHooks/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ b/TypeScript/9RouterHooks/types/services/mod/staticRouter/StaticRouterMod.d.ts @@ -1,4 +1,4 @@ -import { RouteAction, StaticRouter } from "@spt-aki/di/Router"; +import { RouteAction, StaticRouter } from "@spt/di/Router"; export declare class StaticRouterMod extends StaticRouter { private topLevelRoute; constructor(routes: RouteAction[], topLevelRoute: string); diff --git a/TypeScript/9RouterHooks/types/services/mod/staticRouter/StaticRouterModService.d.ts b/TypeScript/9RouterHooks/types/services/mod/staticRouter/StaticRouterModService.d.ts index 775caae..f60432d 100644 --- a/TypeScript/9RouterHooks/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ b/TypeScript/9RouterHooks/types/services/mod/staticRouter/StaticRouterModService.d.ts @@ -1,5 +1,5 @@ import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "@spt-aki/di/Router"; +import { RouteAction } from "@spt/di/Router"; export declare class StaticRouterModService { protected container: DependencyContainer; constructor(container: DependencyContainer); diff --git a/TypeScript/9RouterHooks/types/utils/App.d.ts b/TypeScript/9RouterHooks/types/utils/App.d.ts index 12a29bd..211044e 100644 --- a/TypeScript/9RouterHooks/types/utils/App.d.ts +++ b/TypeScript/9RouterHooks/types/utils/App.d.ts @@ -1,12 +1,12 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { OnUpdate } from "@spt-aki/di/OnUpdate"; -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { HttpServer } from "@spt-aki/servers/HttpServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { OnLoad } from "@spt/di/OnLoad"; +import { OnUpdate } from "@spt/di/OnUpdate"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { HttpServer } from "@spt/servers/HttpServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class App { protected logger: ILogger; protected timeUtil: TimeUtil; diff --git a/TypeScript/9RouterHooks/types/utils/AsyncQueue.d.ts b/TypeScript/9RouterHooks/types/utils/AsyncQueue.d.ts index 2fab517..a14181d 100644 --- a/TypeScript/9RouterHooks/types/utils/AsyncQueue.d.ts +++ b/TypeScript/9RouterHooks/types/utils/AsyncQueue.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ICommand } from "@spt-aki/models/spt/utils/ICommand"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ICommand } from "@spt/models/spt/utils/ICommand"; export declare class AsyncQueue implements IAsyncQueue { protected commandsQueue: ICommand[]; constructor(); diff --git a/TypeScript/9RouterHooks/types/utils/DatabaseImporter.d.ts b/TypeScript/9RouterHooks/types/utils/DatabaseImporter.d.ts index f8218bf..4005d46 100644 --- a/TypeScript/9RouterHooks/types/utils/DatabaseImporter.d.ts +++ b/TypeScript/9RouterHooks/types/utils/DatabaseImporter.d.ts @@ -1,15 +1,15 @@ -import { OnLoad } from "@spt-aki/di/OnLoad"; -import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ImageRouter } from "@spt-aki/routers/ImageRouter"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { DatabaseServer } from "@spt-aki/servers/DatabaseServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { EncodingUtil } from "@spt-aki/utils/EncodingUtil"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { ImporterUtil } from "@spt-aki/utils/ImporterUtil"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { OnLoad } from "@spt/di/OnLoad"; +import { IHttpConfig } from "@spt/models/spt/config/IHttpConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ImageRouter } from "@spt/routers/ImageRouter"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { DatabaseServer } from "@spt/servers/DatabaseServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { EncodingUtil } from "@spt/utils/EncodingUtil"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { ImporterUtil } from "@spt/utils/ImporterUtil"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class DatabaseImporter implements OnLoad { protected logger: ILogger; protected vfs: VFS; @@ -27,7 +27,7 @@ export declare class DatabaseImporter implements OnLoad { protected httpConfig: IHttpConfig; constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, localisationService: LocalisationService, databaseServer: DatabaseServer, imageRouter: ImageRouter, encodingUtil: EncodingUtil, hashUtil: HashUtil, importerUtil: ImporterUtil, configServer: ConfigServer); /** - * Get path to aki data + * Get path to spt data * @returns path to data */ getSptDataPath(): string; diff --git a/TypeScript/9RouterHooks/types/utils/HashUtil.d.ts b/TypeScript/9RouterHooks/types/utils/HashUtil.d.ts index d428072..427c186 100644 --- a/TypeScript/9RouterHooks/types/utils/HashUtil.d.ts +++ b/TypeScript/9RouterHooks/types/utils/HashUtil.d.ts @@ -2,7 +2,7 @@ /// import crypto from "node:crypto"; import fs from "node:fs"; -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class HashUtil { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/9RouterHooks/types/utils/HttpFileUtil.d.ts b/TypeScript/9RouterHooks/types/utils/HttpFileUtil.d.ts index 222d204..cc0d9ef 100644 --- a/TypeScript/9RouterHooks/types/utils/HttpFileUtil.d.ts +++ b/TypeScript/9RouterHooks/types/utils/HttpFileUtil.d.ts @@ -1,6 +1,6 @@ /// import { ServerResponse } from "node:http"; -import { HttpServerHelper } from "@spt-aki/helpers/HttpServerHelper"; +import { HttpServerHelper } from "@spt/helpers/HttpServerHelper"; export declare class HttpFileUtil { protected httpServerHelper: HttpServerHelper; constructor(httpServerHelper: HttpServerHelper); diff --git a/TypeScript/9RouterHooks/types/utils/HttpResponseUtil.d.ts b/TypeScript/9RouterHooks/types/utils/HttpResponseUtil.d.ts index 318e98b..865c8e5 100644 --- a/TypeScript/9RouterHooks/types/utils/HttpResponseUtil.d.ts +++ b/TypeScript/9RouterHooks/types/utils/HttpResponseUtil.d.ts @@ -1,9 +1,9 @@ -import { IGetBodyResponseData } from "@spt-aki/models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "@spt-aki/models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "@spt-aki/models/eft/itemEvent/IItemEventRouterResponse"; -import { BackendErrorCodes } from "@spt-aki/models/enums/BackendErrorCodes"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; +import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData"; +import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData"; +import { IItemEventRouterResponse } from "@spt/models/eft/itemEvent/IItemEventRouterResponse"; +import { BackendErrorCodes } from "@spt/models/enums/BackendErrorCodes"; +import { LocalisationService } from "@spt/services/LocalisationService"; +import { JsonUtil } from "@spt/utils/JsonUtil"; export declare class HttpResponseUtil { protected jsonUtil: JsonUtil; protected localisationService: LocalisationService; diff --git a/TypeScript/9RouterHooks/types/utils/ImporterUtil.d.ts b/TypeScript/9RouterHooks/types/utils/ImporterUtil.d.ts index 7ce1bdb..c36bcb5 100644 --- a/TypeScript/9RouterHooks/types/utils/ImporterUtil.d.ts +++ b/TypeScript/9RouterHooks/types/utils/ImporterUtil.d.ts @@ -1,5 +1,5 @@ -import { JsonUtil } from "@spt-aki/utils/JsonUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { JsonUtil } from "@spt/utils/JsonUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class ImporterUtil { protected vfs: VFS; protected jsonUtil: JsonUtil; diff --git a/TypeScript/9RouterHooks/types/utils/JsonUtil.d.ts b/TypeScript/9RouterHooks/types/utils/JsonUtil.d.ts index 091aba2..b59b0f9 100644 --- a/TypeScript/9RouterHooks/types/utils/JsonUtil.d.ts +++ b/TypeScript/9RouterHooks/types/utils/JsonUtil.d.ts @@ -1,7 +1,7 @@ import { IParseOptions, IStringifyOptions, Reviver } from "jsonc/lib/interfaces"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { HashUtil } from "@spt-aki/utils/HashUtil"; -import { VFS } from "@spt-aki/utils/VFS"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { HashUtil } from "@spt/utils/HashUtil"; +import { VFS } from "@spt/utils/VFS"; export declare class JsonUtil { protected vfs: VFS; protected hashUtil: HashUtil; diff --git a/TypeScript/9RouterHooks/types/utils/ObjectId.d.ts b/TypeScript/9RouterHooks/types/utils/ObjectId.d.ts index 309354f..91f64d3 100644 --- a/TypeScript/9RouterHooks/types/utils/ObjectId.d.ts +++ b/TypeScript/9RouterHooks/types/utils/ObjectId.d.ts @@ -1,5 +1,5 @@ /// -import { TimeUtil } from "@spt-aki/utils/TimeUtil"; +import { TimeUtil } from "@spt/utils/TimeUtil"; export declare class ObjectId { protected timeUtil: TimeUtil; constructor(timeUtil: TimeUtil); diff --git a/TypeScript/9RouterHooks/types/utils/RagfairOfferHolder.d.ts b/TypeScript/9RouterHooks/types/utils/RagfairOfferHolder.d.ts index b95e54a..20f54a9 100644 --- a/TypeScript/9RouterHooks/types/utils/RagfairOfferHolder.d.ts +++ b/TypeScript/9RouterHooks/types/utils/RagfairOfferHolder.d.ts @@ -1,5 +1,5 @@ -import { RagfairServerHelper } from "@spt-aki/helpers/RagfairServerHelper"; -import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer"; +import { RagfairServerHelper } from "@spt/helpers/RagfairServerHelper"; +import { IRagfairOffer } from "@spt/models/eft/ragfair/IRagfairOffer"; export declare class RagfairOfferHolder { protected maxOffersPerTemplate: number; protected ragfairServerHelper: RagfairServerHelper; diff --git a/TypeScript/9RouterHooks/types/utils/RandomUtil.d.ts b/TypeScript/9RouterHooks/types/utils/RandomUtil.d.ts index 39fe482..1cee659 100644 --- a/TypeScript/9RouterHooks/types/utils/RandomUtil.d.ts +++ b/TypeScript/9RouterHooks/types/utils/RandomUtil.d.ts @@ -1,6 +1,6 @@ -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ICloner } from "@spt-aki/utils/cloners/ICloner"; -import { MathUtil } from "@spt-aki/utils/MathUtil"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ICloner } from "@spt/utils/cloners/ICloner"; +import { MathUtil } from "@spt/utils/MathUtil"; /** * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects * based on the relative probability of each of its elements. diff --git a/TypeScript/9RouterHooks/types/utils/VFS.d.ts b/TypeScript/9RouterHooks/types/utils/VFS.d.ts index d880bf5..20f428a 100644 --- a/TypeScript/9RouterHooks/types/utils/VFS.d.ts +++ b/TypeScript/9RouterHooks/types/utils/VFS.d.ts @@ -2,7 +2,7 @@ /// import "reflect-metadata"; import fs from "node:fs"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; export declare class VFS { protected asyncQueue: IAsyncQueue; accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; diff --git a/TypeScript/9RouterHooks/types/utils/Watermark.d.ts b/TypeScript/9RouterHooks/types/utils/Watermark.d.ts index eb24706..27b5b03 100644 --- a/TypeScript/9RouterHooks/types/utils/Watermark.d.ts +++ b/TypeScript/9RouterHooks/types/utils/Watermark.d.ts @@ -1,7 +1,7 @@ -import { ICoreConfig } from "@spt-aki/models/spt/config/ICoreConfig"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; -import { ConfigServer } from "@spt-aki/servers/ConfigServer"; -import { LocalisationService } from "@spt-aki/services/LocalisationService"; +import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; +import { ConfigServer } from "@spt/servers/ConfigServer"; +import { LocalisationService } from "@spt/services/LocalisationService"; export declare class WatermarkLocale { protected localisationService: LocalisationService; protected description: string[]; @@ -17,7 +17,7 @@ export declare class Watermark { protected configServer: ConfigServer; protected localisationService: LocalisationService; protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; + protected sptConfig: ICoreConfig; protected text: string[]; protected versionLabel: string; constructor(logger: ILogger, configServer: ConfigServer, localisationService: LocalisationService, watermarkLocale?: WatermarkLocale); diff --git a/TypeScript/9RouterHooks/types/utils/cloners/JsonCloner.d.ts b/TypeScript/9RouterHooks/types/utils/cloners/JsonCloner.d.ts index 2353d90..130dadb 100644 --- a/TypeScript/9RouterHooks/types/utils/cloners/JsonCloner.d.ts +++ b/TypeScript/9RouterHooks/types/utils/cloners/JsonCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class JsonCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/9RouterHooks/types/utils/cloners/RecursiveCloner.d.ts b/TypeScript/9RouterHooks/types/utils/cloners/RecursiveCloner.d.ts index e38fbe5..9ea2882 100644 --- a/TypeScript/9RouterHooks/types/utils/cloners/RecursiveCloner.d.ts +++ b/TypeScript/9RouterHooks/types/utils/cloners/RecursiveCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class RecursiveCloner implements ICloner { private static primitives; clone(obj: T): T; diff --git a/TypeScript/9RouterHooks/types/utils/cloners/StructuredCloner.d.ts b/TypeScript/9RouterHooks/types/utils/cloners/StructuredCloner.d.ts index 789cb6d..6401443 100644 --- a/TypeScript/9RouterHooks/types/utils/cloners/StructuredCloner.d.ts +++ b/TypeScript/9RouterHooks/types/utils/cloners/StructuredCloner.d.ts @@ -1,4 +1,4 @@ -import type { ICloner } from "@spt-aki/utils/cloners/ICloner"; +import type { ICloner } from "@spt/utils/cloners/ICloner"; export declare class StructuredCloner implements ICloner { clone(obj: T): T; } diff --git a/TypeScript/9RouterHooks/types/utils/logging/AbstractWinstonLogger.d.ts b/TypeScript/9RouterHooks/types/utils/logging/AbstractWinstonLogger.d.ts index 05d5afe..7098f85 100644 --- a/TypeScript/9RouterHooks/types/utils/logging/AbstractWinstonLogger.d.ts +++ b/TypeScript/9RouterHooks/types/utils/logging/AbstractWinstonLogger.d.ts @@ -1,12 +1,12 @@ /// import fs from "node:fs"; import winston from "winston"; -import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor"; -import { SptLogger } from "@spt-aki/models/spt/logging/SptLogger"; -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; +import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "@spt/models/spt/logging/LogTextColor"; +import { SptLogger } from "@spt/models/spt/logging/SptLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; export declare abstract class AbstractWinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected showDebugInConsole: boolean; diff --git a/TypeScript/9RouterHooks/types/utils/logging/WinstonMainLogger.d.ts b/TypeScript/9RouterHooks/types/utils/logging/WinstonMainLogger.d.ts index 53cd9d3..8a634b2 100644 --- a/TypeScript/9RouterHooks/types/utils/logging/WinstonMainLogger.d.ts +++ b/TypeScript/9RouterHooks/types/utils/logging/WinstonMainLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonMainLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue); diff --git a/TypeScript/9RouterHooks/types/utils/logging/WinstonRequestLogger.d.ts b/TypeScript/9RouterHooks/types/utils/logging/WinstonRequestLogger.d.ts index 45bc436..0988b6f 100644 --- a/TypeScript/9RouterHooks/types/utils/logging/WinstonRequestLogger.d.ts +++ b/TypeScript/9RouterHooks/types/utils/logging/WinstonRequestLogger.d.ts @@ -1,5 +1,5 @@ -import { IAsyncQueue } from "@spt-aki/models/spt/utils/IAsyncQueue"; -import { AbstractWinstonLogger } from "@spt-aki/utils/logging/AbstractWinstonLogger"; +import { IAsyncQueue } from "@spt/models/spt/utils/IAsyncQueue"; +import { AbstractWinstonLogger } from "@spt/utils/logging/AbstractWinstonLogger"; export declare class WinstonRequestLogger extends AbstractWinstonLogger { protected asyncQueue: IAsyncQueue; constructor(asyncQueue: IAsyncQueue);